From a3f5cd8605a743ca3c6ba02acc73442c4cb6fb23 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 3 Aug 2009 23:16:10 +0000 Subject: [PATCH] Merged OpenGL 3.2 bindings. Fixed a conflict between the new ProgramParameter method and the existing ProgramParameter enum in GLHelper.cs. --- Source/OpenTK/Graphics/GL/GL.cs | 77578 +++++++++++---------- Source/OpenTK/Graphics/GL/GLCore.cs | 3624 + Source/OpenTK/Graphics/GL/GLDelegates.cs | 130 +- Source/OpenTK/Graphics/GL/GLEnums.cs | 407 + Source/OpenTK/Graphics/GL/GLHelper.cs | 2 +- 5 files changed, 45458 insertions(+), 36283 deletions(-) diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index 1029e4dc..e95b98bf 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -70,6 +70,1260 @@ namespace OpenTK.Graphics } + public static partial class Amd + { + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] + public static + void BeginPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] + public static + void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")] + public static + void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + public static + void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")] + public static + void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)modeAlpha); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] + public static + void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)src, (OpenTK.Graphics.AmdDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")] + public static + void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)src, (OpenTK.Graphics.AmdDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] + public static + void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.AmdDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")] + public static + void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.AmdDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [Out] out UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [Out] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [Out] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + void DeletePerfMonitors(Int32 n, [Out] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, [Out] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] + public static + unsafe void DeletePerfMonitors(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(Int32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] + public static + void EndPerfMonitor(UInt32 monitor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [Out] out UInt32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [Out] Int32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [Out] UInt32[] monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* monitors_ptr = monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [Out] Int32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + unsafe void GenPerfMonitors(Int32 n, [Out] UInt32* monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] + public static + void GenPerfMonitors(Int32 n, [Out] out Int32 monitors) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* monitors_ptr = &monitors) + { + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); + monitors = *monitors_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + fixed (Int32* bytesWritten_ptr = &bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); + data = *data_ptr; + bytesWritten = *bytesWritten_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + public static + unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* data_ptr = data) + { + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + public static + void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (UInt32* counters_ptr = &counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + numCounters = *numCounters_ptr; + maxActiveCounters = *maxActiveCounters_ptr; + counters = *counters_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + void GetPerfMonitorCounters(Int32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out Int32 counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numCounters_ptr = &numCounters) + fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) + fixed (Int32* counters_ptr = &counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); + numCounters = *numCounters_ptr; + maxActiveCounters = *maxActiveCounters_ptr; + counters = *counters_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] + public static + unsafe void GetPerfMonitorCounters(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32[] counters) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* counters_ptr = counters) + { + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] + public static + unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (Int32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + void GetPerfMonitorGroup([Out] out Int32 numGroups, Int32 groupsSize, [Out] out UInt32 groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* numGroups_ptr = &numGroups) + fixed (UInt32* groups_ptr = &groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); + numGroups = *numGroups_ptr; + groups = *groups_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (UInt32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* groups_ptr = groups) + { + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] + public static + unsafe void GetPerfMonitorGroup([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] + public static + unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* counterList_ptr = &counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] out Int32 counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* counterList_ptr = &counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + counterList = *counterList_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* counterList_ptr = counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* counterList_ptr = counterList) + { + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] + public static + unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] + public static + void TessellationFactor(Single factor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationFactorAMD((Single)factor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] + public static + void TessellationMode(OpenTK.Graphics.AmdVertexShaderTesselator mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTessellationModeAMD((OpenTK.Graphics.AmdVertexShaderTesselator)mode); + #if DEBUG + } + #endif + } + + } + public static partial class Apple { [System.CLSCompliant(false)] @@ -115,40 +1369,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - unsafe void DeleteFences(Int32 n, Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] - public static - unsafe void DeleteFences(Int32 n, UInt32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, ref UInt32 fences) + void DeleteFences(Int32 n, Int32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -156,27 +1379,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = &fences) - { - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) + fixed (Int32* fences_ptr = fences) { Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } @@ -207,9 +1410,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] public static - void DeleteFences(Int32 n, Int32[] fences) + void DeleteFences(Int32 n, ref UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -217,7 +1421,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* fences_ptr = fences) + fixed (UInt32* fences_ptr = &fences) { Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); } @@ -227,6 +1431,91 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + unsafe void DeleteFences(Int32 n, Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + unsafe void DeleteFences(Int32 n, UInt32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")] + public static + void DeleteFences(Int32 n, ref Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static @@ -248,6 +1537,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static void DeleteVertexArrays(Int32 n, Int32[] arrays) @@ -268,27 +1578,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] - public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] public static @@ -305,35 +1594,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); #if DEBUG } #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")] public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) + void DisableVertexAttrib(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* arrays_ptr = &arrays) - { - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); #if DEBUG } #endif @@ -405,52 +1688,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] - public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,] pointer) @@ -474,6 +1711,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static void ElementPointer(OpenTK.Graphics.AppleElementArray type, IntPtr pointer) @@ -488,6 +1748,58 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + public static + void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")] + public static + void EnableVertexAttrib(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")] public static @@ -547,22 +1859,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) - where T1 : struct + void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); #if DEBUG } #endif @@ -591,29 +1894,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] - public static - void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) @@ -639,21 +1919,54 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static - void FlushVertexArrayRange(Int32 length, [Out] IntPtr pointer) + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - void GenFences(Int32 n, [Out] Int32[] fences) + void GenFences(Int32 n, [Out] out UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -661,9 +1974,31 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* fences_ptr = fences) + fixed (UInt32* fences_ptr = &fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] + public static + void GenFences(Int32 n, [Out] out Int32 fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = &fences) + { + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; } } #if DEBUG @@ -692,25 +2027,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] - public static - void GenFences(Int32 n, [Out] out UInt32 fences) + void GenFences(Int32 n, [Out] Int32[] fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -718,10 +2037,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = &fences) + fixed (Int32* fences_ptr = fences) { Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; } } #if DEBUG @@ -744,9 +2062,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")] public static - void GenFences(Int32 n, [Out] out Int32 fences) + unsafe void GenFences(Int32 n, [Out] Int32* fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -754,10 +2088,51 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* fences_ptr = &fences) + fixed (UInt32* arrays_ptr = &arrays) { - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [Out] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + public static + void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); } } #if DEBUG @@ -795,48 +2170,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [Out] Int32[] arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* arrays_ptr = arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] - public static - void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] public static void GenVertexArrays(Int32 n, [Out] out Int32 arrays) @@ -858,10 +2191,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] public static - void GenVertexArrays(Int32 n, [Out] UInt32[] arrays) + void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -869,9 +2201,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* arrays_ptr = arrays) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr); + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -879,6 +2212,205 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + unsafe void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + unsafe void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")] + public static + void GetObjectParameter(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")] + public static + void GetTexParameterPointer(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.AppleTextureRange)target, (OpenTK.Graphics.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")] public static @@ -937,9 +2469,39 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] public static - void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")] + public static + bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.AppleVertexProgramEvaluators)pname); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -947,10 +2509,436 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) + fixed (Double* points_ptr = &points) { - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")] + public static + void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + unsafe void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + unsafe void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + unsafe void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")] + public static + void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); } } #if DEBUG @@ -973,6 +2961,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] + public static + void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* first_ptr = first) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")] public static void MultiDrawElementArray(OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount) @@ -994,9 +3003,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] + public static + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1015,36 +3040,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] - public static - unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static @@ -1088,10 +3083,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount) + void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1111,15 +3105,73 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")] public static - void SetFence(UInt32 fence) + unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSetFenceAPPLE((UInt32)fence); + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] + public static + IntPtr ObjectPurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")] + public static + IntPtr ObjectPurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] + public static + IntPtr ObjectUnpurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")] + public static + IntPtr ObjectUnpurgeable(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.AppleObjectPurgeable)option); #if DEBUG } #endif @@ -1140,15 +3192,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")] public static - bool TestFence(UInt32 fence) + void SetFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestFenceAPPLE((UInt32)fence); + Delegates.glSetFenceAPPLE((UInt32)fence); #if DEBUG } #endif @@ -1169,15 +3221,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")] public static - bool TestObject(OpenTK.Graphics.AppleFence @object, UInt32 name) + bool TestFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + return Delegates.glTestFenceAPPLE((UInt32)fence); #if DEBUG } #endif @@ -1197,6 +3249,127 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")] + public static + bool TestObject(OpenTK.Graphics.AppleFence @object, UInt32 name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.AppleFence)@object, (UInt32)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")] + public static + void TextureRange(OpenTK.Graphics.AppleTextureRange target, Int32 length, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")] public static void VertexArrayParameter(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param) @@ -1213,7 +3386,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -1250,7 +3423,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) where T1 : struct { #if DEBUG @@ -1296,7 +3469,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static - void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -1330,6 +3503,7 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")] public static void ActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -1387,9 +3561,11 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) + void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1415,10 +3591,10 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static - void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id) + void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -1449,6 +3625,7 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] public static @@ -1483,6 +3660,7 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] public static void BindAttribLocation(Int32 programObj, Int32 index, String name) @@ -1511,6 +3689,7 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static @@ -1540,6 +3719,7 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer) @@ -1607,9 +3787,10 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -1654,91 +3835,7 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage); - #if DEBUG - } - #endif - } - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] - public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageArb usage) @@ -1786,9 +3883,97 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageArb)usage); + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) where T2 : struct { #if DEBUG @@ -1833,91 +4018,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] - public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) @@ -1965,9 +4066,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) where T3 : struct { #if DEBUG @@ -2012,9 +4114,97 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -2058,6 +4248,7 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")] public static void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -2081,10 +4272,10 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static - void CompileShader(UInt32 shaderObj) + void CompileShader(Int32 shaderObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2105,9 +4296,11 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static - void CompileShader(Int32 shaderObj) + void CompileShader(UInt32 shaderObj) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -2158,62 +4351,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) where T6 : struct { #if DEBUG @@ -2273,68 +4414,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) @@ -2397,9 +4477,127 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) where T6 : struct { #if DEBUG @@ -2464,198 +4662,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) @@ -2723,6 +4730,202 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) @@ -2795,9 +4998,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) where T8 : struct { #if DEBUG @@ -2867,141 +5071,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) @@ -3074,9 +5144,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) where T8 : struct { #if DEBUG @@ -3099,11 +5170,11 @@ namespace OpenTK.Graphics /// - /// Specify a one-dimensional texture subimage in a compressed format + /// Specify a three-dimensional texture image in a compressed format /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. /// /// /// @@ -3111,19 +5182,29 @@ namespace OpenTK.Graphics /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. /// /// - /// + /// /// - /// Specifies a texel offset in the x direction within the texture array. + /// Specifies the format of the compressed image data stored at address data. /// /// /// /// - /// Specifies the width of the texture subimage. + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. /// /// - /// + /// /// - /// Specifies the format of the compressed image data stored at address data. + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. /// /// /// @@ -3136,15 +5217,89 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -3189,6 +5344,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) @@ -3251,6 +5407,61 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) @@ -3313,6 +5524,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) @@ -3375,6 +5587,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) @@ -3447,150 +5660,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) @@ -3663,6 +5733,71 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) @@ -3735,15 +5870,98 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -3803,6 +6021,85 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -3871,6 +6168,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) @@ -3948,83 +6246,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] - public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) @@ -4102,9 +6324,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) where T10 : struct { #if DEBUG @@ -4181,104 +6404,7 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] - public static - void DeleteBuffers(Int32 n, UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static void DeleteBuffers(Int32 n, ref Int32 buffers) @@ -4313,6 +6439,7 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -4348,6 +6475,78 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -4363,15 +6562,31 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static - void DeleteObject(Int32 obj) + unsafe void DeleteBuffers(Int32 n, Int32* buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteObjectARB((UInt32)obj); + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); #if DEBUG } #endif @@ -4392,6 +6607,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")] + public static + void DeleteObject(Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteObjectARB((UInt32)obj); + #if DEBUG + } + #endif + } + /// /// Deletes a program object @@ -4401,6 +6630,37 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -4431,6 +6691,37 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -4455,65 +6746,7 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] - public static - void DeleteProgram(Int32 n, Int32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = programs) - { - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -4538,9 +6771,11 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static - void DeleteProgram(Int32 n, ref Int32 programs) + void DeleteProgram(Int32 n, UInt32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -4548,7 +6783,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* programs_ptr = &programs) + fixed (UInt32* programs_ptr = programs) { Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr); } @@ -4572,40 +6807,7 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static void DeleteQueries(Int32 n, ref Int32 ids) @@ -4640,6 +6842,108 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// + + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -4675,35 +6979,7 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - unsafe void DeleteQueries(Int32 n, Int32* ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - #if DEBUG - } - #endif - } - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -4719,55 +6995,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] - public static - void DeleteQueries(Int32 n, UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] - public static - void DetachObject(Int32 containerObj, Int32 attachedObj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] public static @@ -4783,9 +7010,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")] + public static + void DetachObject(Int32 containerObj, Int32 attachedObj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] public static - void DisableVertexAttribArray(Int32 index) + void DisableVertexAttribArray(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -4797,10 +7039,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")] public static - void DisableVertexAttribArray(UInt32 index) + void DisableVertexAttribArray(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -4840,6 +7081,37 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static void DrawBuffers(Int32 n, ref OpenTK.Graphics.ArbDrawBuffers bufs) @@ -4874,6 +7146,7 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers[] bufs) @@ -4894,30 +7167,24 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs) + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.ArbDrawBuffers*)bufs); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } #if DEBUG } #endif @@ -4969,6 +7236,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) @@ -4992,43 +7273,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - /// /// Enable or disable a generic vertex attribute array @@ -5038,10 +7282,10 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static - void EnableVertexAttribArray(UInt32 index) + void EnableVertexAttribArray(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5062,9 +7306,11 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static - void EnableVertexAttribArray(Int32 index) + void EnableVertexAttribArray(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5191,70 +7437,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - void GenBuffers(Int32 n, [Out] UInt32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = buffers) - { - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -5291,6 +7474,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static void GenBuffers(Int32 n, [Out] Int32[] buffers) @@ -5325,6 +7509,73 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + void GenBuffers(Int32 n, [Out] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] + public static + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -5354,6 +7605,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static void GenBuffers(Int32 n, [Out] out Int32 buffers) @@ -5377,7 +7629,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] public static - void GenProgram(Int32 n, [Out] Int32[] programs) + void GenProgram(Int32 n, [Out] out Int32 programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5385,30 +7637,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* programs_ptr = programs) - { - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] - public static - void GenProgram(Int32 n, [Out] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) + fixed (Int32* programs_ptr = &programs) { Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; } } #if DEBUG @@ -5446,9 +7678,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] public static - void GenProgram(Int32 n, [Out] out Int32 programs) + void GenProgram(Int32 n, [Out] UInt32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5456,10 +7689,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* programs_ptr = &programs) + fixed (UInt32* programs_ptr = programs) + { + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")] + public static + void GenProgram(Int32 n, [Out] Int32[] programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = programs) { Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; } } #if DEBUG @@ -5503,41 +7755,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -5574,6 +7792,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static void GenQueries(Int32 n, [Out] Int32[] ids) @@ -5608,6 +7827,43 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] + public static + void GenQueries(Int32 n, [Out] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -5637,6 +7893,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -5666,6 +7923,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static void GenQueries(Int32 n, [Out] out Int32 ids) @@ -5726,60 +7984,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] - public static - unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static @@ -5845,10 +8050,76 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// + + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] + public static + void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) + { + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static - unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -5899,26 +8170,17 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static - void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ArbVertexShader* type_ptr = &type) - { - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ArbVertexShader*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -5963,60 +8225,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] - public static - unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - /// - /// Returns information about an active uniform variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the uniform variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the uniform variable. - /// - /// - /// - /// - /// Returns the data type of the uniform variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -6082,6 +8291,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) @@ -6146,6 +8356,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -6161,6 +8372,114 @@ namespace OpenTK.Graphics #endif } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] + public static + unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] + public static + void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] public static @@ -6179,21 +8498,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] Int32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] public static @@ -6236,44 +8540,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) - { - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")] - public static - unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - /// /// Returns the location of an attribute variable @@ -6288,6 +8554,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static @@ -6317,6 +8584,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// + [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static Int32 GetAttribLocation(Int32 programObj, String name) @@ -6331,21 +8599,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] - public static - unsafe void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] public static void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32[] @params) @@ -6387,6 +8640,81 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferParameterNameArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] ref T2 @params) @@ -6433,66 +8761,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] - public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - /// /// Returns a subset of a buffer object's data store @@ -6517,6 +8785,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) @@ -6564,6 +8833,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) @@ -6611,24 +8881,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); #if DEBUG } #endif @@ -6658,6 +8920,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) @@ -6705,15 +8968,25 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -6738,6 +9011,7 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) @@ -6780,6 +9054,50 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) @@ -6822,48 +9140,7 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// - [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) @@ -6897,9 +9174,10 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) where T2 : struct { #if DEBUG @@ -6937,7 +9215,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] public static - unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -6952,7 +9230,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")] public static - unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) + unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7037,26 +9315,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] - public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] public static @@ -7080,7 +9338,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] public static - void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7088,10 +9346,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -7121,16 +9378,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")] public static - unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) + void GetObjectParameter(Int32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -7235,6 +9498,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")] + public static + unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.ArbShaderObjects)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static @@ -7292,6 +9570,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + public static + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] public static void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) @@ -7329,9 +9628,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double[] @params) + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7339,9 +9638,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -7349,21 +9649,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] - public static - unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static @@ -7382,28 +9667,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) + unsafe void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - } - } + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7442,9 +9720,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")] public static - void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) + void GetProgramEnvParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7452,10 +9731,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -7482,6 +9760,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static @@ -7516,6 +9795,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) @@ -7537,6 +9817,79 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] public static @@ -7578,79 +9931,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] out Single @params) @@ -7672,6 +9952,58 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] + public static + void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] public static @@ -7713,81 +10045,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")] - public static - unsafe void GetProgramLocalParameter(OpenTK.Graphics.ArbVertexProgram target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.ArbVertexProgram)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[] @string) @@ -7811,29 +10068,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] - public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string) @@ -7871,6 +10105,52 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [In, Out] T2[,] @string) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static @@ -7886,6 +10166,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] + public static + void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] public static void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) @@ -7907,9 +10207,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")] + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static - void GetQuery(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -7919,7 +10240,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = @params) { - Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -7946,6 +10267,48 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -7987,6 +10350,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -8021,6 +10385,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -8055,6 +10420,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) @@ -8094,9 +10460,11 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static - void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8104,9 +10472,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = &@params) { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); @params = *@params_ptr; } } @@ -8134,86 +10502,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] - public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static @@ -8248,10 +10537,11 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out UInt32 @params) + void GetQueryObject(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -8259,10 +10549,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = @params) { Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -8294,16 +10583,24 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static - unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) + void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source); + length = *length_ptr; + } + } #if DEBUG } #endif @@ -8333,45 +10630,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] - public static - unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); - #if DEBUG - } - #endif - } - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) @@ -8417,23 +10676,57 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static - void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder source) + unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (System.Text.StringBuilder)source); - length = *length_ptr; - } + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); + #if DEBUG } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] + public static + unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder)source); #if DEBUG } #endif @@ -8458,6 +10751,77 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params) @@ -8498,113 +10862,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - unsafe void GetUniform(Int32 programObj, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] - public static - void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -8645,6 +10903,47 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] + public static + void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -8686,6 +10985,42 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] + public static + unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params) @@ -8726,16 +11061,24 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static - unsafe void GetUniform(UInt32 programObj, Int32 location, [Out] Int32* @params) + void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -8760,6 +11103,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -8794,6 +11138,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -8834,6 +11179,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) @@ -8855,47 +11201,6 @@ namespace OpenTK.Graphics } - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] - public static - void GetUniform(UInt32 programObj, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// /// Returns the location of a uniform variable /// @@ -8909,6 +11214,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static Int32 GetUniformLocation(Int32 programObj, String name) @@ -8937,6 +11243,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static @@ -8971,21 +11278,17 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); - } - } + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); #if DEBUG } #endif @@ -9010,6 +11313,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -9050,40 +11389,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -9125,6 +11431,47 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) @@ -9165,148 +11512,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -9347,9 +11553,80 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9357,9 +11634,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -9386,6 +11664,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -9427,9 +11706,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9437,10 +11717,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params_ptr); } } #if DEBUG @@ -9467,6 +11746,47 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -9501,6 +11821,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -9535,6 +11856,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -9575,9 +11897,11 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9585,9 +11909,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -9614,10 +11939,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9636,10 +11961,33 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -9662,7 +12010,60 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -9706,29 +12107,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static @@ -9755,37 +12133,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -9809,30 +12157,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -9862,9 +12187,11 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static - bool IsBuffer(Int32 buffer) + bool IsBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9885,10 +12212,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static - bool IsBuffer(UInt32 buffer) + bool IsBuffer(Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9909,6 +12236,7 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static @@ -9933,6 +12261,7 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static bool IsProgram(Int32 program) @@ -9956,10 +12285,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static - bool IsQuery(UInt32 id) + bool IsQuery(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -9980,9 +12309,11 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static - bool IsQuery(Int32 id) + bool IsQuery(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10003,6 +12334,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static void LinkProgram(Int32 programObj) @@ -10026,6 +12358,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static @@ -10050,59 +12383,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - void LoadTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixdARB((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static void LoadTransposeMatrix(Double[] m) @@ -10132,9 +12413,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static - void LoadTransposeMatrix(ref Single m) + void LoadTransposeMatrix(ref Double m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10142,9 +12424,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* m_ptr = &m) + fixed (Double* m_ptr = &m) { - Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr); } } #if DEBUG @@ -10161,6 +12443,32 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] + public static + unsafe void LoadTransposeMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glLoadTransposeMatrixdARB((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static void LoadTransposeMatrix(Single[] m) @@ -10190,6 +12498,37 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] + public static + void LoadTransposeMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static @@ -10219,6 +12558,7 @@ namespace OpenTK.Graphics /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")] public static @@ -10236,30 +12576,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] - public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -10305,7 +12622,21 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -10328,13 +12659,37 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] + public static + unsafe void MatrixIndex(Int32 size, Byte* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); #if DEBUG } #endif @@ -10380,39 +12735,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")] - public static - unsafe void MatrixIndex(Int32 size, Byte* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - unsafe void MatrixIndex(Int32 size, Int32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, Int32[] indices) + void MatrixIndex(Int32 size, ref Int32 indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10420,43 +12745,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* indices_ptr = indices) - { - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - unsafe void MatrixIndex(Int32 size, UInt32* indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] - public static - void MatrixIndex(Int32 size, UInt32[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* indices_ptr = indices) + fixed (Int32* indices_ptr = &indices) { Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); } @@ -10487,9 +12776,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - void MatrixIndex(Int32 size, ref Int32 indices) + void MatrixIndex(Int32 size, UInt32[] indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -10497,7 +12787,27 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* indices_ptr = &indices) + fixed (UInt32* indices_ptr = indices) + { + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] + public static + void MatrixIndex(Int32 size, Int32[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* indices_ptr = indices) { Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr); } @@ -10508,70 +12818,30 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - unsafe void MatrixIndex(Int32 size, Int16* indices) + unsafe void MatrixIndex(Int32 size, Int32* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, ref Int16 indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = &indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")] public static - unsafe void MatrixIndex(Int32 size, UInt16* indices) + unsafe void MatrixIndex(Int32 size, UInt32* indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] - public static - void MatrixIndex(Int32 size, Int16[] indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* indices_ptr = indices) - { - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); - } - } + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); #if DEBUG } #endif @@ -10619,6 +12889,76 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, ref Int16 indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* indices_ptr = &indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + unsafe void MatrixIndex(Int32 size, Int16* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + unsafe void MatrixIndex(Int32 size, UInt16* indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")] + public static + void MatrixIndex(Int32 size, Int16[] indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* indices_ptr = indices) + { + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Set the current texture coordinates @@ -10633,6 +12973,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) @@ -10661,6 +13002,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")] public static @@ -10690,6 +13032,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) @@ -10718,6 +13061,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")] public static @@ -10747,6 +13091,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) @@ -10775,6 +13120,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")] public static @@ -10804,6 +13150,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) @@ -10832,6 +13179,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")] public static @@ -10861,6 +13209,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) @@ -10889,35 +13238,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -10952,6 +13273,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -10986,6 +13308,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) @@ -11014,6 +13367,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -11048,6 +13432,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -11082,35 +13467,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) @@ -11139,40 +13496,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -11207,6 +13531,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static @@ -11236,6 +13561,42 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) @@ -11264,6 +13625,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -11298,6 +13660,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -11332,6 +13695,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static @@ -11361,6 +13725,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) @@ -11389,6 +13754,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -11423,35 +13819,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -11486,6 +13854,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) @@ -11514,69 +13883,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -11611,6 +13918,72 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) @@ -11639,6 +14012,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -11673,6 +14077,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -11707,35 +14112,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) @@ -11764,6 +14141,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static @@ -11793,6 +14171,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -11827,6 +14206,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -11861,6 +14241,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) @@ -11889,21 +14270,17 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); - } - } + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); #if DEBUG } #endif @@ -11923,6 +14300,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -11957,16 +14335,22 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -11986,6 +14370,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) @@ -12014,6 +14399,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static @@ -12043,6 +14429,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -12077,6 +14464,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -12111,6 +14499,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) @@ -12139,6 +14528,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -12173,6 +14563,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static @@ -12202,6 +14593,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -12236,6 +14628,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) @@ -12264,40 +14657,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -12332,6 +14692,42 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static @@ -12356,35 +14752,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] - public static - void MultTransposeMatrix(ref Double m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static void MultTransposeMatrix(Double[] m) @@ -12414,6 +14782,37 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] + public static + void MultTransposeMatrix(ref Double m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = &m) + { + Delegates.glMultTransposeMatrixdARB((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static @@ -12438,6 +14837,37 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static void MultTransposeMatrix(ref Single m) @@ -12467,6 +14897,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static @@ -12483,35 +14914,6 @@ namespace OpenTK.Graphics } - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] - public static - void MultTransposeMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultTransposeMatrixfARB((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Specify point parameters /// @@ -12525,6 +14927,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] public static void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single param) @@ -12553,6 +14956,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] public static @@ -12582,6 +14986,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvARB")] public static void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single[] @params) @@ -12743,10 +15148,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -12758,9 +15162,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramEnvParameter4fARB")] public static - void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single x, Single y, Single z, Single w) + void ProgramEnvParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13166,10 +15571,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] public static - void ProgramParameter(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + void ProgramParameter(Int32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13181,9 +15585,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glProgramParameteriARB")] public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) + void ProgramParameter(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13232,29 +15637,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] - public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[] @string) @@ -13301,6 +15683,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, [In, Out] T3[,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.ArbVertexProgram)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + /// /// Specify multisample coverage parameters @@ -13315,6 +15720,7 @@ namespace OpenTK.Graphics /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. /// /// + [AutoGenerated(Category = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] public static void SampleCoverage(Single value, bool invert) @@ -13353,16 +15759,22 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) + void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } #if DEBUG } #endif @@ -13392,6 +15804,7 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static @@ -13437,21 +15850,17 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) + unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); - } - } + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); #if DEBUG } #endif @@ -13481,6 +15890,7 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static @@ -13496,10 +15906,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer) + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13511,9 +15920,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTextureBufferObject", Version = "3.0", EntryPoint = "glTexBufferARB")] public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, Int32 buffer) + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -13539,6 +15949,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")] public static void Uniform1(Int32 location, Single v0) @@ -13567,6 +15978,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static @@ -13596,6 +16008,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -13630,6 +16043,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, Single[] value) @@ -13664,6 +16078,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")] public static void Uniform1(Int32 location, Int32 v0) @@ -13692,40 +16107,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -13760,6 +16142,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static @@ -13789,6 +16207,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -13817,35 +16236,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] public static void Uniform2(Int32 location, Int32 count, Single[] value) @@ -13880,6 +16271,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] public static void Uniform2(Int32 location, Int32 count, ref Single value) @@ -13914,6 +16306,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fvARB")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -13942,6 +16365,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] public static @@ -13971,6 +16395,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2ivARB")] public static void Uniform2(Int32 location, Int32 count, Int32[] value) @@ -14005,6 +16430,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -14033,35 +16459,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static void Uniform3(Int32 location, Int32 count, Single[] value) @@ -14096,6 +16494,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -14130,6 +16529,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -14158,40 +16588,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -14226,6 +16623,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static @@ -14255,6 +16688,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -14283,6 +16717,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static void Uniform4(Int32 location, Int32 count, Single[] value) @@ -14317,6 +16782,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -14351,35 +16817,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -14408,21 +16846,17 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static - void Uniform4(Int32 location, Int32 count, Int32[] value) + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); #if DEBUG } #endif @@ -14442,6 +16876,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static void Uniform4(Int32 location, Int32 count, ref Int32 value) @@ -14476,24 +16911,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] - public static - void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + void Uniform4(Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14501,9 +16922,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Int32* value_ptr = value) { - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value_ptr); } } #if DEBUG @@ -14531,6 +16952,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix2fvARB")] public static @@ -14546,6 +16987,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] public static void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) @@ -14581,9 +17042,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix3fvARB")] + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] public static - void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -14593,7 +17054,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = &value) { - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -14636,26 +17097,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniformMatrix4fvARB")] - public static - void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glUnmapBufferARB")] public static bool UnmapBuffer(OpenTK.Graphics.BufferTargetArb target) @@ -14708,6 +17149,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static @@ -14732,6 +17174,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// + [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static void ValidateProgram(Int32 programObj) @@ -14760,6 +17203,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] public static @@ -14789,34 +17262,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] public static @@ -14846,6 +17292,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dvARB")] public static @@ -14875,6 +17322,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] public static @@ -14904,6 +17352,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] public static void VertexAttrib1(Int32 index, Single x) @@ -14932,6 +17381,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] public static @@ -14961,6 +17411,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fvARB")] public static @@ -14990,34 +17441,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static @@ -15047,6 +17471,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] public static @@ -15076,6 +17530,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1svARB")] public static @@ -15105,6 +17560,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] + public static + void VertexAttrib2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] public static @@ -15134,97 +17619,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -15254,6 +17649,72 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -15289,6 +17750,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -15324,40 +17821,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -15386,6 +17850,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static @@ -15415,6 +17880,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -15449,99 +17975,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] - public static - void VertexAttrib2(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -15577,6 +18011,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -15611,6 +18046,43 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] + public static + void VertexAttrib2(UInt32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -15639,6 +18111,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static @@ -15668,6 +18141,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -15702,6 +18206,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -15731,39 +18236,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static - void VertexAttrib2(UInt32 index, ref Int16 v) + void VertexAttrib2(Int32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15771,7 +18247,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); } @@ -15795,6 +18271,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -15830,9 +18307,11 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static - void VertexAttrib2(Int32 index, Int16[] v) + void VertexAttrib2(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -15840,7 +18319,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v_ptr); } @@ -15864,34 +18343,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] public static @@ -15921,6 +18373,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] + public static + void VertexAttrib3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -15955,6 +18437,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -15984,6 +18467,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -16013,41 +18497,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] - public static - void VertexAttrib3(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -16083,6 +18533,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static void VertexAttrib3(Int32 index, Double[] v) @@ -16117,6 +18568,43 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] + public static + void VertexAttrib3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -16145,6 +18633,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static @@ -16174,10 +18663,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - void VertexAttrib3(UInt32 index, ref Single v) + void VertexAttrib3(Int32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -16209,21 +18698,17 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - void VertexAttrib3(Int32 index, Single[] v) + unsafe void VertexAttrib3(UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); - } - } + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); #if DEBUG } #endif @@ -16243,6 +18728,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -16278,9 +18794,46 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static - void VertexAttrib3(Int32 index, ref Single v) + void VertexAttrib3(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] + public static + void VertexAttrib3(UInt32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -16312,64 +18865,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -16398,6 +18894,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static @@ -16427,6 +18924,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -16461,6 +18959,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -16490,6 +18989,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -16519,41 +19019,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -16589,6 +19055,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static void VertexAttrib3(Int32 index, Int16[] v) @@ -16623,6 +19090,43 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] + public static + void VertexAttrib3(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -16652,6 +19156,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -16687,6 +19192,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -16722,6 +19228,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] + public static + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] public static @@ -16751,161 +19287,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] - public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] - public static - void VertexAttrib4(UInt32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -16940,6 +19322,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -16975,6 +19418,78 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] + public static + void VertexAttrib4(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -17003,6 +19518,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static @@ -17032,64 +19548,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -17124,6 +19583,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -17159,6 +19679,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -17193,6 +19714,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -17228,6 +19750,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static void VertexAttrib4(Int32 index, ref Int32 v) @@ -17262,99 +19785,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] - public static - void VertexAttrib4(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -17390,6 +19821,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static void VertexAttrib4(Int32 index, Int32[] v) @@ -17410,6 +19902,57 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] + public static + void VertexAttrib4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] public static @@ -17431,21 +19974,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NbvARB")] public static @@ -17467,10 +19995,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static - void VertexAttrib4N(UInt32 index, ref Int32 v) + void VertexAttrib4N(Int32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17488,6 +20015,57 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] + public static + void VertexAttrib4N(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static void VertexAttrib4N(Int32 index, Int32[] v) @@ -17511,57 +20089,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] public static - void VertexAttrib4N(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NivARB")] - public static - void VertexAttrib4N(Int32 index, ref Int32 v) + void VertexAttrib4N(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17579,27 +20107,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static void VertexAttrib4N(Int32 index, ref Int16 v) @@ -17620,42 +20127,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] - public static - void VertexAttrib4N(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static @@ -17671,6 +20142,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] public static void VertexAttrib4N(Int32 index, Int16[] v) @@ -17692,9 +20199,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NsvARB")] + public static + void VertexAttrib4N(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] public static - void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) + void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17706,9 +20233,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubARB")] public static - void VertexAttrib4N(Int32 index, Byte x, Byte y, Byte z, Byte w) + void VertexAttrib4N(UInt32 index, Byte x, Byte y, Byte z, Byte w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -17740,6 +20268,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] + public static + unsafe void VertexAttrib4N(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] public static @@ -17761,21 +20319,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] public static void VertexAttrib4N(Int32 index, Byte[] v) @@ -17817,36 +20360,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NubvARB")] - public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] public static @@ -17889,6 +20402,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NuivARB")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] public static @@ -17904,27 +20432,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] - public static - void VertexAttrib4N(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] public static @@ -17946,6 +20453,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4NusvARB")] + public static + void VertexAttrib4N(UInt32 index, UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Specifies the value of a generic vertex attribute @@ -17960,6 +20488,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] public static @@ -17989,6 +20518,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -18017,6 +20547,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -18046,6 +20612,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -18075,6 +20642,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -18110,6 +20678,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static void VertexAttrib4(Int32 index, Int16[] v) @@ -18144,6 +20713,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -18179,132 +20749,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -18340,40 +20785,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] - public static - void VertexAttrib4(Int32 index, Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -18409,6 +20821,137 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + void VertexAttrib4(Int32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + unsafe void VertexAttrib4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -18444,35 +20987,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -18508,6 +21023,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -18543,35 +21089,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -18593,16 +21111,31 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static - void VertexAttribDivisor(UInt32 index, UInt32 divisor) + unsafe void VertexAttrib4(UInt32 index, UInt16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); #if DEBUG } #endif @@ -18622,44 +21155,59 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbInstancedArrays", Version = "2.0", EntryPoint = "glVertexAttribDivisorARB")] + public static + void VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) where T5 : struct { #if DEBUG @@ -18714,236 +21262,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static @@ -19002,6 +21321,224 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) @@ -19059,58 +21596,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) where T5 : struct { #if DEBUG @@ -19165,15 +21654,84 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -19196,19 +21754,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static - void Weight(Int32 size, ref SByte weights) + unsafe void Weight(Int32 size, SByte* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (SByte* weights_ptr = &weights) - { - Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); - } - } + Delegates.glWeightbvARB((Int32)size, (SByte*)weights); #if DEBUG } #endif @@ -19238,13 +21790,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightbvARB")] public static - unsafe void Weight(Int32 size, SByte* weights) + void Weight(Int32 size, ref SByte weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); + unsafe + { + fixed (SByte* weights_ptr = &weights) + { + Delegates.glWeightbvARB((Int32)size, (SByte*)weights_ptr); + } + } #if DEBUG } #endif @@ -19305,6 +21863,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] + public static + void Weight(Int32 size, Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] public static void Weight(Int32 size, ref Single weights) @@ -19340,26 +21918,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightfvARB")] - public static - void Weight(Int32 size, Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glWeightfvARB((Int32)size, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightivARB")] public static void Weight(Int32 size, Int32[] weights) @@ -19415,6 +21973,43 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) @@ -19438,6 +22033,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) @@ -19461,60 +22079,20 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) - where T3 : struct + void Weight(Int32 size, Int16[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] - public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); + fixed (Int16* weights_ptr = weights) + { + Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); + } } #if DEBUG } @@ -19536,26 +22114,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] - public static - void Weight(Int32 size, Int16[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* weights_ptr = weights) - { - Delegates.glWeightsvARB((Int32)size, (Int16*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightsvARB")] public static void Weight(Int32 size, ref Int16 weights) @@ -19591,6 +22149,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + public static + void Weight(Int32 size, ref Byte weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* weights_ptr = &weights) + { + Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] public static void Weight(Int32 size, Byte[] weights) @@ -19611,9 +22189,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightubvARB")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] public static - void Weight(Int32 size, ref Byte weights) + void Weight(Int32 size, UInt32[] weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -19621,9 +22200,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* weights_ptr = &weights) + fixed (UInt32* weights_ptr = weights) { - Delegates.glWeightubvARB((Int32)size, (Byte*)weights_ptr); + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); } } #if DEBUG @@ -19668,21 +22247,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightuivARB")] + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] public static - void Weight(Int32 size, UInt32[] weights) + unsafe void Weight(Int32 size, UInt16* weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* weights_ptr = weights) - { - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights_ptr); - } - } + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); #if DEBUG } #endif @@ -19730,21 +22303,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightusvARB")] - public static - unsafe void Weight(Int32 size, UInt16* weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); - #if DEBUG - } - #endif - } - /// /// Specify the raster position in window coordinates for pixel operations @@ -19754,6 +22312,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] public static void WindowPos2(Double x, Double y) @@ -19777,6 +22336,32 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static void WindowPos2(ref Double v) @@ -19806,30 +22391,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dvARB((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static void WindowPos2(Double[] v) @@ -19859,6 +22421,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] public static void WindowPos2(Single x, Single y) @@ -19882,6 +22445,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static @@ -19906,35 +22470,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] - public static - void WindowPos2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos2fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static void WindowPos2(ref Single v) @@ -19964,6 +22500,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] + public static + void WindowPos2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos2fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] public static void WindowPos2(Int32 x, Int32 y) @@ -19987,6 +22554,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static @@ -20011,35 +22579,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static void WindowPos2(ref Int32 v) @@ -20069,6 +22609,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] public static void WindowPos2(Int16 x, Int16 y) @@ -20092,6 +22663,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static @@ -20116,35 +22688,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] - public static - void WindowPos2(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glWindowPos2svARB((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static void WindowPos2(ref Int16 v) @@ -20174,6 +22718,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] + public static + void WindowPos2(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glWindowPos2svARB((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] public static void WindowPos3(Double x, Double y, Double z) @@ -20197,6 +22772,32 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dvARB((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static void WindowPos3(ref Double v) @@ -20226,30 +22827,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dvARB((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static void WindowPos3(Double[] v) @@ -20279,6 +22857,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] public static void WindowPos3(Single x, Single y, Single z) @@ -20302,6 +22881,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static @@ -20326,35 +22906,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] - public static - void WindowPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glWindowPos3fvARB((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static void WindowPos3(ref Single v) @@ -20384,6 +22936,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] + public static + void WindowPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glWindowPos3fvARB((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -20407,35 +22990,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3ivARB((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static @@ -20460,6 +23015,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static void WindowPos3(ref Int32 v) @@ -20489,6 +23045,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3ivARB((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -20512,6 +23099,32 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] + public static + unsafe void WindowPos3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3svARB((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static void WindowPos3(ref Int16 v) @@ -20541,30 +23154,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] - public static - unsafe void WindowPos3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3svARB((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static void WindowPos3(Int16[] v) @@ -20589,21 +23179,6 @@ namespace OpenTK.Graphics public static partial class Ati { - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] - public static - void AlphaFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] public static void AlphaFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) @@ -20619,15 +23194,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp1ATI")] public static - void AlphaFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + void AlphaFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); #if DEBUG } #endif @@ -20648,9 +23223,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp2ATI")] + public static + void AlphaFragmentOp2(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] public static - void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20662,9 +23251,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glAlphaFragmentOp3ATI")] public static - void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) + void AlphaFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20762,9 +23352,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) + void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20776,10 +23367,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp1ATI")] public static - void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + void ColorFragmentOp1(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20820,6 +23410,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] + public static + void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] public static @@ -20835,23 +23439,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glColorFragmentOp3ATI")] - public static - void ColorFragmentOp3(OpenTK.Graphics.AtiFragmentShader op, Int32 dst, Int32 dstMask, Int32 dstMod, Int32 arg1, Int32 arg1Rep, Int32 arg1Mod, Int32 arg2, Int32 arg2Rep, Int32 arg2Mod, Int32 arg3, Int32 arg3Rep, Int32 arg3Mod) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - #if DEBUG - } - #endif - } - + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] public static - void DeleteFragmentShader(Int32 id) + void DeleteFragmentShader(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20863,10 +23454,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glDeleteFragmentShaderATI")] public static - void DeleteFragmentShader(UInt32 id) + void DeleteFragmentShader(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -20892,6 +23482,7 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers[] bufs) @@ -20926,6 +23517,37 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.AtiDrawBuffers*)bufs); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static void DrawBuffers(Int32 n, ref OpenTK.Graphics.AtiDrawBuffers bufs) @@ -20946,35 +23568,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.AtiDrawBuffers*)bufs); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayATI")] public static void DrawElementArray(OpenTK.Graphics.BeginMode mode, Int32 count) @@ -20989,20 +23582,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] - public static - void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] public static @@ -21018,9 +23597,23 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayATI")] + public static + void DrawRangeElementArray(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -21043,21 +23636,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] - public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) where T1 : struct { #if DEBUG @@ -21103,7 +23682,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -21124,6 +23703,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glEndFragmentShaderATI")] public static void EndFragmentShader() @@ -21138,9 +23731,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] public static - void FreeObjectBuffer(Int32 buffer) + void FreeObjectBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21152,10 +23746,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glFreeObjectBufferATI")] public static - void FreeObjectBuffer(UInt32 buffer) + void FreeObjectBuffer(Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21232,21 +23825,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] - public static - unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] public static void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) @@ -21269,15 +23847,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetArrayObjectivATI")] public static - unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + unsafe void GetArrayObject(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.EnableCap)array, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -21304,6 +23882,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + public static + unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] public static @@ -21327,15 +23935,22 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferfvATI")] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] public static - unsafe void GetObjectBuffer(Int32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params) + void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Single*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -21377,28 +23992,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] - public static - void GetObjectBuffer(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetObjectBufferivATI")] public static @@ -21414,6 +24007,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] + public static + unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] public static void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single[] param) @@ -21434,21 +24042,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] - public static - unsafe void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterfvATI")] public static void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Single param) @@ -21470,6 +24063,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] + public static + void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] public static void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] out Int32 param) @@ -21506,29 +24119,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glGetTexBumpParameterivATI")] - public static - void GetTexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32[] param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* param_ptr = param) - { - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Int32*)param_ptr); - } - } - #if DEBUG - } - #endif - } - + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] public static - void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21547,10 +24141,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectfvATI")] public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) + void GetVariantArrayObject(Int32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21599,6 +24192,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] + public static + void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] public static @@ -21650,43 +24265,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glGetVariantArrayObjectivATI")] - public static - void GetVariantArrayObject(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.AtiVertexArrayObject)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static @@ -21709,27 +24287,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] - public static - void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) @@ -21753,7 +24310,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21768,7 +24346,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single[] @params) + unsafe void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectfvATI")] + public static + void GetVertexAttribArrayObject(Int32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -21776,9 +24368,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -21832,13 +24425,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params) + void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -21882,34 +24481,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glGetVertexAttribArrayObjectivATI")] public static - void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32[] @params) + unsafe void GetVertexAttribArrayObject(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] - public static - bool IsObjectBuffer(UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsObjectBufferATI((UInt32)buffer); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.AtiVertexAttribArrayObject)pname, (Int32*)@params); #if DEBUG } #endif @@ -21930,15 +24508,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glIsObjectBufferATI")] public static - unsafe IntPtr MapObjectBuffer(UInt32 buffer) + bool IsObjectBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glMapObjectBufferATI((UInt32)buffer); + return Delegates.glIsObjectBufferATI((UInt32)buffer); #if DEBUG } #endif @@ -21959,15 +24537,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glMapObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + unsafe IntPtr MapObjectBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)usage); + return Delegates.glMapObjectBufferATI((UInt32)buffer); #if DEBUG } #endif @@ -21996,6 +24575,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, OpenTK.Graphics.AtiVertexArrayObject usage) @@ -22044,22 +24646,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) - where T1 : struct + Int32 NewObjectBuffer(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); - } - finally - { - pointer_ptr.Free(); - } + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)usage); #if DEBUG } #endif @@ -22094,6 +24687,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] public static @@ -22109,6 +24717,47 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] + public static + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* coords_ptr = coords) + { + Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] public static @@ -22150,62 +24799,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, SByte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3bvATI")] - public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Byte[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* coords_ptr = coords) - { - Delegates.glNormalStream3bvATI((OpenTK.Graphics.AtiVertexStreams)stream, (SByte*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz) @@ -22220,21 +24813,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) @@ -22255,6 +24833,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3dvATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) @@ -22289,6 +24882,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) @@ -22329,21 +24937,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3fvATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3iATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) @@ -22360,7 +24953,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22368,7 +24961,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* coords_ptr = &coords) + fixed (Int32* coords_ptr = coords) { Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); } @@ -22395,7 +24988,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3ivATI")] public static - void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) + void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int32 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22403,7 +24996,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* coords_ptr = coords) + fixed (Int32* coords_ptr = &coords) { Delegates.glNormalStream3ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords_ptr); } @@ -22447,6 +25040,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] + public static + unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] public static void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) @@ -22467,21 +25075,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glNormalStream3svATI")] - public static - unsafe void NormalStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glPassTexCoordATI")] public static @@ -22653,7 +25246,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static - unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) + unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22668,7 +25261,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiFragmentShader", Version = "1.2", EntryPoint = "glSetFragmentShaderConstantATI")] public static - unsafe void SetFragmentShaderConstant(UInt32 dst, Single* value) + unsafe void SetFragmentShaderConstant(Int32 dst, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22704,9 +25297,11 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) + void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22742,10 +25337,10 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] public static - void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask) + void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -22781,6 +25376,7 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// + [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] public static void StencilOpSeparate(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) @@ -22795,21 +25391,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] - public static - unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] public static void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single[] param) @@ -22850,6 +25431,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterfvATI")] + public static + unsafe void TexBumpParameter(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.AtiEnvmapBumpmap)pname, (Single*)param); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiEnvmapBumpmap", Version = "1.2", EntryPoint = "glTexBumpParameterivATI")] public static @@ -22905,6 +25501,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + public static + void UnmapObjectBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] public static @@ -22920,15 +25530,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiMapObjectBuffer", Version = "1.2", EntryPoint = "glUnmapObjectBufferATI")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UnmapObjectBuffer(Int32 buffer) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUnmapObjectBufferATI((UInt32)buffer); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); #if DEBUG } #endif @@ -22936,7 +25547,30 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -22981,9 +25615,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -23028,10 +25663,32 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -23069,68 +25726,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.AtiVertexArrayObject)preserve); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] - public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) where T3 : struct { #if DEBUG @@ -23180,9 +25776,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] public static - void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) + void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23194,10 +25791,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexAttribArrayObject", Version = "1.2", EntryPoint = "glVertexAttribArrayObjectATI")] public static - void VertexAttribArrayObject(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + void VertexAttribArrayObject(Int32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, Int32 buffer, Int32 offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23367,16 +25963,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } #if DEBUG } #endif @@ -23402,21 +26003,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2dvATI")] public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Double* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } + Delegates.glVertexStream2dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords); #if DEBUG } #endif @@ -23436,26 +26032,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* coords_ptr = &coords) - { - Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] public static void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) @@ -23491,6 +26067,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2fvATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* coords_ptr = &coords) + { + Delegates.glVertexStream2fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2iATI")] public static void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y) @@ -23525,21 +26121,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] - public static - unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] public static void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32[] coords) @@ -23560,6 +26141,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2ivATI")] + public static + unsafe void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexStream2ivATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int32*)coords); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2sATI")] public static void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y) @@ -23574,6 +26170,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] + public static + void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] public static void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) @@ -23609,26 +26225,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream2svATI")] - public static - void VertexStream2(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream2svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dATI")] public static void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z) @@ -23643,26 +26239,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] - public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* coords_ptr = coords) - { - Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] public static void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) @@ -23698,6 +26274,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3dvATI")] + public static + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* coords_ptr = coords) + { + Delegates.glVertexStream3dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fATI")] public static void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z) @@ -23714,7 +26310,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23722,7 +26318,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* coords_ptr = coords) + fixed (Single* coords_ptr = &coords) { Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); } @@ -23734,7 +26330,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3fvATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Single coords) + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23742,7 +26338,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* coords_ptr = &coords) + fixed (Single* coords_ptr = coords) { Delegates.glVertexStream3fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); } @@ -23867,7 +26463,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23875,7 +26471,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* coords_ptr = coords) + fixed (Int16* coords_ptr = &coords) { Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); } @@ -23887,7 +26483,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream3svATI")] public static - void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, ref Int16 coords) + void VertexStream3(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23895,7 +26491,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* coords_ptr = &coords) + fixed (Int16* coords_ptr = coords) { Delegates.glVertexStream3svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); } @@ -23921,7 +26517,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23929,7 +26525,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* coords_ptr = &coords) + fixed (Double* coords_ptr = coords) { Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); } @@ -23956,7 +26552,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4dvATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Double[] coords) + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, ref Double coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -23964,7 +26560,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* coords_ptr = coords) + fixed (Double* coords_ptr = &coords) { Delegates.glVertexStream4dvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Double*)coords_ptr); } @@ -23988,16 +26584,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] public static - unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); + unsafe + { + fixed (Single* coords_ptr = coords) + { + Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); + } + } #if DEBUG } #endif @@ -24023,21 +26624,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4fvATI")] public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single[] coords) + unsafe void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Single* coords) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* coords_ptr = coords) - { - Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords_ptr); - } - } + Delegates.glVertexStream4fvATI((OpenTK.Graphics.AtiVertexStreams)stream, (Single*)coords); #if DEBUG } #endif @@ -24126,6 +26722,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] + public static + void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* coords_ptr = coords) + { + Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] public static @@ -24161,26 +26777,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AtiVertexStreams", Version = "1.2", EntryPoint = "glVertexStream4svATI")] - public static - void VertexStream4(OpenTK.Graphics.AtiVertexStreams stream, Int16[] coords) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* coords_ptr = coords) - { - Delegates.glVertexStream4svATI((OpenTK.Graphics.AtiVertexStreams)stream, (Int16*)coords_ptr); - } - } - #if DEBUG - } - #endif - } - } @@ -24197,6 +26793,7 @@ namespace OpenTK.Graphics /// Specifies a floating-point value used in the accumulation buffer operation. op determines how value is used. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAccum")] public static void Accum(OpenTK.Graphics.AccumOp op, Single value) @@ -24220,6 +26817,7 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glActiveTexture")] public static void ActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -24248,6 +26846,7 @@ namespace OpenTK.Graphics /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glAlphaFunc")] public static void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref) @@ -24281,16 +26880,23 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static - unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (bool* residences_ptr = residences) + { + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); + } + } #if DEBUG } #endif @@ -24315,40 +26921,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - #if DEBUG - } - #endif - } - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static @@ -24390,6 +26963,77 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] + public static + unsafe bool AreTexturesResident(Int32 n, Int32* textures, [Out] bool* residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + #if DEBUG + } + #endif + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static @@ -24433,46 +27077,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] - public static - bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (bool* residences_ptr = residences) - { - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures_ptr, (bool*)residences_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Determine if textures are loaded in texture memory - /// - /// - /// - /// Specifies the number of textures to be queried. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be queried. - /// - /// - /// - /// - /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glAreTexturesResident")] public static bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) @@ -24505,6 +27110,7 @@ namespace OpenTK.Graphics /// Specifies an index into the enabled vertex data arrays. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glArrayElement")] public static void ArrayElement(Int32 i) @@ -24533,9 +27139,11 @@ namespace OpenTK.Graphics /// Specifies the shader object that is to be attached. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void AttachShader(Int32 program, Int32 shader) + void AttachShader(UInt32 program, UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24561,10 +27169,10 @@ namespace OpenTK.Graphics /// Specifies the shader object that is to be attached. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glAttachShader")] public static - void AttachShader(UInt32 program, UInt32 shader) + void AttachShader(Int32 program, Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24585,6 +27193,7 @@ namespace OpenTK.Graphics /// Specifies the primitive or primitives that will be created from vertices presented between glBegin and the subsequent glEnd. Ten symbolic constants are accepted: GL_POINTS, GL_LINES, GL_LINE_STRIP, GL_LINE_LOOP, GL_TRIANGLES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_QUADS, GL_QUAD_STRIP, and GL_POLYGON. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBegin")] public static void Begin(OpenTK.Graphics.BeginMode mode) @@ -24629,35 +27238,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitorAMD(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")] - public static - void BeginPerfMonitorAMD(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - /// /// Delimit the boundaries of a query object @@ -24672,10 +27252,10 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id) + void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24701,9 +27281,11 @@ namespace OpenTK.Graphics /// Specifies the name of a query object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBeginQuery")] public static - void BeginQuery(OpenTK.Graphics.QueryTarget target, Int32 id) + void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24748,6 +27330,7 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] public static @@ -24782,6 +27365,7 @@ namespace OpenTK.Graphics /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] public static void BindAttribLocation(Int32 program, Int32 index, String name) @@ -24810,9 +27394,11 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer) + void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24838,10 +27424,10 @@ namespace OpenTK.Graphics /// Specifies the name of a buffer object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBindBuffer")] public static - void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer) + void BindBuffer(OpenTK.Graphics.BufferTarget target, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24853,9 +27439,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer) + void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -24867,10 +27454,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindBufferBase")] public static - void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer) + void BindBufferBase(OpenTK.Graphics.BufferTarget target, Int32 index, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25012,10 +27598,10 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25041,9 +27627,11 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glBindTexture")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) + void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -25108,6 +27696,47 @@ namespace OpenTK.Graphics /// Specifies the address of the bitmap image. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] + public static + unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + #if DEBUG + } + #endif + } + + + /// + /// Draw a bitmap + /// + /// + /// + /// Specify the pixel width and height of the bitmap image. + /// + /// + /// + /// + /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. + /// + /// + /// + /// + /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. + /// + /// + /// + /// + /// Specifies the address of the bitmap image. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] public static void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, ref Byte bitmap) @@ -25152,6 +27781,7 @@ namespace OpenTK.Graphics /// Specifies the address of the bitmap image. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] public static void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte[] bitmap) @@ -25173,45 +27803,6 @@ namespace OpenTK.Graphics } - /// - /// Draw a bitmap - /// - /// - /// - /// Specify the pixel width and height of the bitmap image. - /// - /// - /// - /// - /// Specify the location of the origin in the bitmap image. The origin is measured from the lower left corner of the bitmap, with right and up being the positive axes. - /// - /// - /// - /// - /// Specify the x and y offsets to be added to the current raster position after the bitmap is drawn. - /// - /// - /// - /// - /// Specifies the address of the bitmap image. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glBitmap")] - public static - unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); - #if DEBUG - } - #endif - } - - /// /// Set the blend color /// @@ -25220,6 +27811,7 @@ namespace OpenTK.Graphics /// specify the components of GL_BLEND_COLOR /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendColor")] public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -25243,6 +27835,7 @@ namespace OpenTK.Graphics /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glBlendEquation")] public static void BlendEquation(OpenTK.Graphics.BlendEquationMode mode) @@ -25258,6 +27851,55 @@ namespace OpenTK.Graphics } + /// + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")] + public static + void BlendEquation(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + + /// + /// Specify the equation used for both the RGB blend equation and the Alpha blend equation + /// + /// + /// + /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationi")] + public static + void BlendEquation(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)mode); + #if DEBUG + } + #endif + } + + /// /// Set the RGB blend equation and the alpha blend equation separately /// @@ -25271,6 +27913,7 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBlendEquationSeparate")] public static void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) @@ -25286,6 +27929,65 @@ namespace OpenTK.Graphics } + /// + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] + public static + void BlendEquationSeparate(Int32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + + /// + /// Set the RGB blend equation and the alpha blend equation separately + /// + /// + /// + /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + /// + /// + /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendEquationSeparatei")] + public static + void BlendEquationSeparate(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.BlendEquationMode)modeRGB, (OpenTK.Graphics.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + /// /// Specify pixel arithmetic /// @@ -25299,6 +28001,7 @@ namespace OpenTK.Graphics /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glBlendFunc")] public static void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor) @@ -25314,6 +28017,65 @@ namespace OpenTK.Graphics } + /// + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")] + public static + void BlendFunc(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)src, (OpenTK.Graphics.ArbDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + + /// + /// Specify pixel arithmetic + /// + /// + /// + /// Specifies how the red, green, blue, and alpha source blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFunci")] + public static + void BlendFunc(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)src, (OpenTK.Graphics.ArbDrawBuffersBlend)dst); + #if DEBUG + } + #endif + } + + /// /// Specify pixel arithmetic for RGB and alpha components separately /// @@ -25337,6 +28099,7 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glBlendFuncSeparate")] public static void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha) @@ -25351,6 +28114,85 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// + + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] + public static + void BlendFuncSeparate(Int32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.ArbDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawBuffersBlend", Version = "1.2", EntryPoint = "glBlendFuncSeparatei")] + public static + void BlendFuncSeparate(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.ArbDrawBuffersBlend)dstAlpha); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glBlitFramebuffer")] public static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter) @@ -25389,138 +28231,7 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage); - #if DEBUG - } - #endif - } - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] - public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Creates and initializes a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the size in bytes of the buffer object's new data store. - /// - /// - /// - /// - /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. - /// - /// - /// - /// - /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. - /// - /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageHint usage) @@ -25568,6 +28279,7 @@ namespace OpenTK.Graphics /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageHint usage) @@ -25592,6 +28304,141 @@ namespace OpenTK.Graphics } + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.BufferUsageHint)usage); + #if DEBUG + } + #endif + } + + /// /// Updates a subset of a buffer object's data store /// @@ -25615,6 +28462,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) @@ -25662,91 +28510,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] - public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - - /// - /// Updates a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being replaced. - /// - /// - /// - /// - /// Specifies a pointer to the new data that will be copied into the data store. - /// - /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) @@ -25794,6 +28558,46 @@ namespace OpenTK.Graphics /// Specifies a pointer to the new data that will be copied into the data store. /// /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) @@ -25818,6 +28622,54 @@ namespace OpenTK.Graphics } + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Execute a display list /// @@ -25826,6 +28678,7 @@ namespace OpenTK.Graphics /// Specifies the integer name of the display list to be executed. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] public static void CallList(Int32 list) @@ -25849,6 +28702,7 @@ namespace OpenTK.Graphics /// Specifies the integer name of the display list to be executed. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallList")] public static @@ -25883,48 +28737,7 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); - try - { - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); - } - finally - { - lists_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[] lists) @@ -25967,39 +28780,7 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] - public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists); - #if DEBUG - } - #endif - } - - /// - /// Execute a list of display lists - /// - /// - /// - /// Specifies the number of display lists to be executed. - /// - /// - /// - /// - /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,] lists) @@ -26042,6 +28823,84 @@ namespace OpenTK.Graphics /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, IntPtr lists) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists); + #if DEBUG + } + #endif + } + + + /// + /// Execute a list of display lists + /// + /// + /// + /// Specifies the number of display lists to be executed. + /// + /// + /// + /// + /// Specifies the type of values in lists. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, GL_2_BYTES, GL_3_BYTES, and GL_4_BYTES are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of name offsets in the display list. The pointer type is void because the offsets can be bytes, shorts, ints, or floats, depending on the value of type. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCallLists")] public static void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] ref T2 lists) @@ -26102,6 +28961,7 @@ namespace OpenTK.Graphics /// Bitwise OR of masks that indicate the buffers to be cleared. The four masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_ACCUM_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClear")] public static void Clear(OpenTK.Graphics.ClearBufferMask mask) @@ -26125,6 +28985,7 @@ namespace OpenTK.Graphics /// Specify the red, green, blue, and alpha values used when the accumulation buffer is cleared. The initial values are all 0. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearAccum")] public static void ClearAccum(Single red, Single green, Single blue, Single alpha) @@ -26153,16 +29014,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value) + void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -26188,36 +29054,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferfv")] public static - void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, ref Single value) + unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] - public static - unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + Delegates.glClearBufferfv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); #if DEBUG } #endif @@ -26263,6 +29109,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClearBufferiv((OpenTK.Graphics.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glClearBufferuiv")] public static @@ -26329,6 +29190,7 @@ namespace OpenTK.Graphics /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearColor")] public static void ClearColor(Single red, Single green, Single blue, Single alpha) @@ -26352,6 +29214,7 @@ namespace OpenTK.Graphics /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearDepth")] public static void ClearDepth(Double depth) @@ -26375,6 +29238,7 @@ namespace OpenTK.Graphics /// Specifies the index used when the color index buffers are cleared. The initial value is 0. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClearIndex")] public static void ClearIndex(Single c) @@ -26398,6 +29262,7 @@ namespace OpenTK.Graphics /// Specifies the index used when the stencil buffer is cleared. The initial value is 0. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glClearStencil")] public static void ClearStencil(Int32 s) @@ -26421,6 +29286,7 @@ namespace OpenTK.Graphics /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glClientActiveTexture")] public static void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -26435,6 +29301,35 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + /// /// Specify a plane against which all geometry is clipped @@ -26449,6 +29344,37 @@ namespace OpenTK.Graphics /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] + public static + unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); + #if DEBUG + } + #endif + } + + + /// + /// Specify a plane against which all geometry is clipped + /// + /// + /// + /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. + /// + /// + /// + /// + /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] public static void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, ref Double equation) @@ -26483,6 +29409,7 @@ namespace OpenTK.Graphics /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] public static void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double[] equation) @@ -26504,35 +29431,6 @@ namespace OpenTK.Graphics } - /// - /// Specify a plane against which all geometry is clipped - /// - /// - /// - /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted. - /// - /// - /// - /// - /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glClipPlane")] - public static - unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } - - /// /// Set the current color /// @@ -26546,6 +29444,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3b")] public static @@ -26575,70 +29474,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - unsafe void Color3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] - public static - void Color3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] public static @@ -26674,6 +29510,73 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + unsafe void Color3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3bv")] + public static + void Color3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3d")] public static void Color3(Double red, Double green, Double blue) @@ -26702,6 +29605,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(Double[] v) @@ -26736,6 +29640,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] + public static + unsafe void Color3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(ref Double v) @@ -26770,35 +29705,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3dv")] - public static - unsafe void Color3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3f")] public static void Color3(Single red, Single green, Single blue) @@ -26827,69 +29734,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] - public static - unsafe void Color3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] - public static - void Color3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glColor3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] public static void Color3(ref Single v) @@ -26924,6 +29769,72 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] + public static + unsafe void Color3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3fv")] + public static + void Color3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glColor3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3i")] public static void Color3(Int32 red, Int32 green, Int32 blue) @@ -26952,21 +29863,17 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] public static - void Color3(Int32[] v) + unsafe void Color3(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor3iv((Int32*)v_ptr); - } - } + Delegates.glColor3iv((Int32*)v); #if DEBUG } #endif @@ -26986,6 +29893,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] public static void Color3(ref Int32 v) @@ -27020,16 +29928,22 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3iv")] public static - unsafe void Color3(Int32* v) + void Color3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor3iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor3iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -27049,6 +29963,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3s")] public static void Color3(Int16 red, Int16 green, Int16 blue) @@ -27077,69 +29992,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - unsafe void Color3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] - public static - void Color3(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glColor3sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] public static void Color3(Int16[] v) @@ -27174,6 +30027,72 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + unsafe void Color3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3sv")] + public static + void Color3(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glColor3sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ub")] public static void Color3(Byte red, Byte green, Byte blue) @@ -27202,40 +30121,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] - public static - void Color3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glColor3ubv((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] public static void Color3(Byte[] v) @@ -27270,6 +30156,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] public static @@ -27299,6 +30186,42 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ubv")] + public static + void Color3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glColor3ubv((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3ui")] public static @@ -27328,35 +30251,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] - public static - unsafe void Color3(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor3uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -27392,6 +30287,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -27427,6 +30323,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3uiv")] + public static + unsafe void Color3(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor3uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3us")] public static @@ -27456,6 +30383,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -27485,41 +30413,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] - public static - void Color3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -27555,6 +30449,43 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor3usv")] + public static + void Color3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4b")] public static @@ -27584,6 +30515,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -27619,35 +30551,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] - public static - unsafe void Color4(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4bv((SByte*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -27683,6 +30587,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4bv")] + public static + unsafe void Color4(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4d")] public static void Color4(Double red, Double green, Double blue, Double alpha) @@ -27711,69 +30646,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] - public static - unsafe void Color4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] - public static - void Color4(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glColor4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] public static void Color4(ref Double v) @@ -27808,6 +30681,72 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] + public static + void Color4(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glColor4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4dv")] + public static + unsafe void Color4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4f")] public static void Color4(Single red, Single green, Single blue, Single alpha) @@ -27836,69 +30775,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - void Color4(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] - public static - unsafe void Color4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4fv((Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] public static void Color4(Single[] v) @@ -27933,6 +30810,72 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + void Color4(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4fv")] + public static + unsafe void Color4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4i")] public static void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) @@ -27961,69 +30904,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] - public static - void Color4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glColor4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] - public static - unsafe void Color4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4iv((Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] public static void Color4(ref Int32 v) @@ -28058,6 +30939,72 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] + public static + void Color4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glColor4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4iv")] + public static + unsafe void Color4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4s")] public static void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) @@ -28086,6 +31033,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] + public static + unsafe void Color4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] public static void Color4(ref Int16 v) @@ -28120,6 +31098,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] public static void Color4(Int16[] v) @@ -28154,35 +31133,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4sv")] - public static - unsafe void Color4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ub")] public static void Color4(Byte red, Byte green, Byte blue, Byte alpha) @@ -28211,21 +31162,17 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] public static - void Color4(Byte[] v) + unsafe void Color4(Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glColor4ubv((Byte*)v_ptr); - } - } + Delegates.glColor4ubv((Byte*)v); #if DEBUG } #endif @@ -28245,6 +31192,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] public static void Color4(ref Byte v) @@ -28279,16 +31227,22 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ubv")] public static - unsafe void Color4(Byte* v) + void Color4(Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glColor4ubv((Byte*)v); + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glColor4ubv((Byte*)v_ptr); + } + } #if DEBUG } #endif @@ -28308,6 +31262,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4ui")] public static @@ -28337,6 +31292,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] + public static + unsafe void Color4(UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4uiv((UInt32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -28372,6 +31358,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -28407,35 +31394,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4uiv")] - public static - unsafe void Color4(UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4uiv((UInt32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4us")] public static @@ -28465,6 +31424,7 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -28500,6 +31460,37 @@ namespace OpenTK.Graphics /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] + public static + unsafe void Color4(UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4usv((UInt16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current color + /// + /// + /// + /// Specify new red, green, and blue values for the current color. + /// + /// + /// + /// + /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -28522,35 +31513,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current color - /// - /// - /// - /// Specify new red, green, and blue values for the current color. - /// - /// - /// - /// - /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColor4usv")] - public static - unsafe void Color4(UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4usv((UInt16*)v); - #if DEBUG - } - #endif - } - - /// /// Enable and disable writing of frame buffer color components /// @@ -28559,6 +31521,7 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glColorMask")] public static void ColorMask(bool red, bool green, bool blue, bool alpha) @@ -28582,6 +31545,7 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static @@ -28606,6 +31570,7 @@ namespace OpenTK.Graphics /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. /// /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static void ColorMask(Int32 index, bool r, bool g, bool b, bool a) @@ -28634,6 +31599,7 @@ namespace OpenTK.Graphics /// Specifies which of several material parameters track the current color. Accepted values are GL_EMISSION, GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, and GL_AMBIENT_AND_DIFFUSE. The initial value is GL_AMBIENT_AND_DIFFUSE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glColorMaterial")] public static void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode) @@ -28672,24 +31638,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -28719,6 +31677,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) @@ -28766,44 +31725,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) @@ -28851,6 +31773,55 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glColorPointer")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) @@ -28908,6 +31879,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) @@ -28956,120 +31928,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) @@ -29127,6 +31986,123 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorSubTable")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) @@ -29184,120 +32160,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) @@ -29355,9 +32218,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) where T5 : struct { #if DEBUG @@ -29412,6 +32276,65 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] public static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) @@ -29427,6 +32350,64 @@ namespace OpenTK.Graphics } + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Set color lookup table parameters /// @@ -29445,6 +32426,42 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Single @params) @@ -29484,40 +32501,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single[] @params) @@ -29557,45 +32541,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] - public static - void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, ref Int32 @params) @@ -29635,6 +32581,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static @@ -29651,6 +32598,46 @@ namespace OpenTK.Graphics } + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glColorTableParameteriv")] + public static + void ColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.ColorTableParameterPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Compiles a shader object /// @@ -29659,10 +32646,10 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] public static - void CompileShader(UInt32 shader) + void CompileShader(Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29683,9 +32670,11 @@ namespace OpenTK.Graphics /// Specifies the shader object to be compiled. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCompileShader")] public static - void CompileShader(Int32 shader) + void CompileShader(UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -29736,6 +32725,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) @@ -29789,68 +32779,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] - public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) @@ -29913,6 +32842,70 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) @@ -29975,6 +32968,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) @@ -30042,6 +33036,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) @@ -30100,73 +33095,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] - public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a two-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) @@ -30234,9 +33163,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) where T7 : struct { #if DEBUG @@ -30301,6 +33231,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) @@ -30325,6 +33256,74 @@ namespace OpenTK.Graphics } + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture image in a compressed format /// @@ -30373,78 +33372,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) @@ -30508,78 +33436,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] - public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture image in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) @@ -30652,6 +33509,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) @@ -30676,6 +33607,79 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Specify a one-dimensional texture subimage in a compressed format /// @@ -30714,24 +33718,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) - where T6 : struct + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); #if DEBUG } #endif @@ -30776,6 +33772,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) @@ -30838,15 +33835,25 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -30891,6 +33898,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) @@ -30953,6 +33961,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) @@ -31025,6 +34034,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) @@ -31097,6 +34107,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -31160,6 +34171,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) @@ -31232,6 +34317,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) @@ -31256,78 +34342,6 @@ namespace OpenTK.Graphics } - /// - /// Specify a two-dimensional texture subimage in a compressed format - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the compressed image data stored at address data. - /// - /// - /// - /// - /// Specifies the number of unsigned bytes of image data starting at the address specified by data. - /// - /// - /// - /// - /// Specifies a pointer to the compressed image data in memory. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] - public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Specify a three-dimensional texture subimage in a compressed format /// @@ -31381,6 +34395,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) @@ -31458,6 +34473,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) @@ -31535,6 +34551,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) @@ -31612,6 +34629,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -31680,6 +34698,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the compressed image data in memory. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) @@ -31737,57 +34756,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) where T5 : struct { #if DEBUG @@ -31842,6 +34814,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) @@ -31899,6 +34872,56 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) @@ -31956,9 +34979,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) where T5 : struct { #if DEBUG @@ -32018,6 +35042,61 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) @@ -32080,6 +35159,7 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) @@ -32142,59 +35222,7 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2D((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) @@ -32257,6 +35285,7 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) @@ -32302,6 +35331,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterf")] public static void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params) @@ -32338,6 +35368,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static @@ -32375,6 +35406,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameterfv")] public static void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single[] @params) @@ -32417,6 +35449,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteri")] public static void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params) @@ -32453,21 +35486,17 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) + unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -32495,16 +35524,22 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glConvolutionParameteriv")] public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params) + void ConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.ConvolutionParameter)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -32548,6 +35583,7 @@ namespace OpenTK.Graphics /// The number of table entries to replace. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorSubTable")] public static void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) @@ -32591,6 +35627,7 @@ namespace OpenTK.Graphics /// The width of the pixel rectangle. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyColorTable")] public static void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -32629,6 +35666,7 @@ namespace OpenTK.Graphics /// The width of the pixel array to copy. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter1D")] public static void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -32672,6 +35710,7 @@ namespace OpenTK.Graphics /// The height of the pixel array to copy. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glCopyConvolutionFilter2D")] public static void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) @@ -32705,6 +35744,7 @@ namespace OpenTK.Graphics /// Specifies whether color values, depth values, or stencil values are to be copied. Symbolic constants GL_COLOR, GL_DEPTH, and GL_STENCIL are accepted. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glCopyPixels")] public static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type) @@ -32753,6 +35793,7 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage1D")] public static void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) @@ -32806,6 +35847,7 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexImage2D")] public static void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) @@ -32849,6 +35891,7 @@ namespace OpenTK.Graphics /// Specifies the width of the texture subimage. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage1D")] public static void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) @@ -32902,6 +35945,7 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")] public static void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -32960,6 +36004,7 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glCopyTexSubImage3D")] public static void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -32978,6 +36023,7 @@ namespace OpenTK.Graphics /// /// Creates a program object /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateProgram")] public static Int32 CreateProgram() @@ -33001,6 +36047,7 @@ namespace OpenTK.Graphics /// Specifies the type of shader to be created. Must be either GL_VERTEX_SHADER or GL_FRAGMENT_SHADER. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glCreateShader")] public static Int32 CreateShader(OpenTK.Graphics.ShaderType type) @@ -33024,6 +36071,7 @@ namespace OpenTK.Graphics /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glCullFace")] public static void CullFace(OpenTK.Graphics.CullFaceMode mode) @@ -33052,6 +36100,67 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static void DeleteBuffers(Int32 n, ref Int32 buffers) @@ -33086,75 +36195,7 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, ref UInt32 buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* buffers_ptr = &buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] - public static - void DeleteBuffers(Int32 n, Int32[] buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Delete named buffer objects - /// - /// - /// - /// Specifies the number of buffer objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of buffer objects to be deleted. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static @@ -33190,16 +36231,22 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static - unsafe void DeleteBuffers(Int32 n, Int32* buffers) + void DeleteBuffers(Int32 n, Int32[] buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } #if DEBUG } #endif @@ -33219,16 +36266,23 @@ namespace OpenTK.Graphics /// Specifies an array of buffer objects to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteBuffers")] public static - unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + void DeleteBuffers(Int32 n, ref UInt32 buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } #if DEBUG } #endif @@ -33255,6 +36309,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] public static @@ -33276,26 +36350,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteFramebuffers")] public static @@ -33360,10 +36414,10 @@ namespace OpenTK.Graphics /// Specifies the number of display lists to delete. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] public static - void DeleteLists(UInt32 list, Int32 range) + void DeleteLists(Int32 list, Int32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33389,9 +36443,11 @@ namespace OpenTK.Graphics /// Specifies the number of display lists to delete. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDeleteLists")] public static - void DeleteLists(Int32 list, Int32 range) + void DeleteLists(UInt32 list, Int32 range) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33403,120 +36459,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")] - public static - void DeletePerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Deletes a program object @@ -33526,6 +36468,7 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] public static void DeleteProgram(Int32 program) @@ -33549,6 +36492,7 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteProgram")] public static @@ -33578,10 +36522,10 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static - void DeleteQueries(Int32 n, UInt32[] ids) + void DeleteQueries(Int32 n, ref Int32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33589,7 +36533,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = ids) + fixed (Int32* ids_ptr = &ids) { Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); } @@ -33613,6 +36557,7 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static @@ -33648,10 +36593,11 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static - unsafe void DeleteQueries(Int32 n, UInt32* ids) + unsafe void DeleteQueries(Int32 n, Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33677,6 +36623,43 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static void DeleteQueries(Int32 n, Int32[] ids) @@ -33711,44 +36694,11 @@ namespace OpenTK.Graphics /// Specifies an array of query objects to be deleted. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] - public static - void DeleteQueries(Int32 n, ref Int32 ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = &ids) - { - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Delete named query objects - /// - /// - /// - /// Specifies the number of query objects to be deleted. - /// - /// - /// - /// - /// Specifies an array of query objects to be deleted. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glDeleteQueries")] public static - unsafe void DeleteQueries(Int32 n, Int32* ids) + unsafe void DeleteQueries(Int32 n, UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33783,7 +36733,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33791,7 +36741,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = renderbuffers) + fixed (UInt32* renderbuffers_ptr = &renderbuffers) { Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); } @@ -33801,36 +36751,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] - public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) @@ -33854,7 +36774,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -33862,7 +36782,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) + fixed (UInt32* renderbuffers_ptr = renderbuffers) { Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); } @@ -33872,24 +36792,31 @@ namespace OpenTK.Graphics #endif } - - /// - /// Deletes a shader object - /// - /// - /// - /// Specifies the shader object to be deleted. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] public static - void DeleteShader(Int32 shader) + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteShader((UInt32)shader); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -33904,6 +36831,7 @@ namespace OpenTK.Graphics /// Specifies the shader object to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] public static @@ -33921,28 +36849,37 @@ namespace OpenTK.Graphics /// - /// Delete named textures + /// Deletes a shader object /// - /// + /// /// - /// Specifies the number of textures to be deleted. + /// Specifies the shader object to be deleted. /// /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDeleteShader")] public static - unsafe void DeleteTextures(Int32 n, Int32* textures) + void DeleteShader(Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + Delegates.glDeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glDeleteSync")] + public static + void DeleteSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteSync((IntPtr)sync); #if DEBUG } #endif @@ -33962,6 +36899,42 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static @@ -33991,6 +36964,37 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static @@ -34026,41 +37030,7 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] - public static - void DeleteTextures(Int32 n, ref UInt32 textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - { - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static void DeleteTextures(Int32 n, Int32[] textures) @@ -34095,9 +37065,11 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDeleteTextures")] public static - void DeleteTextures(Int32 n, ref Int32 textures) + void DeleteTextures(Int32 n, ref UInt32 textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34105,7 +37077,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (UInt32* textures_ptr = &textures) { Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr); } @@ -34118,7 +37090,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static - void DeleteVertexArrays(Int32 n, UInt32[] arrays) + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34126,7 +37098,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* arrays_ptr = arrays) + fixed (UInt32* arrays_ptr = &arrays) { Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); } @@ -34156,9 +37128,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static - void DeleteVertexArrays(Int32 n, ref Int32 arrays) + void DeleteVertexArrays(Int32 n, UInt32[] arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34166,7 +37139,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* arrays_ptr = &arrays) + fixed (UInt32* arrays_ptr = arrays) { Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); } @@ -34176,21 +37149,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] - public static - unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static @@ -34209,7 +37167,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] public static - void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34217,7 +37189,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* arrays_ptr = &arrays) + fixed (Int32* arrays_ptr = &arrays) { Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); } @@ -34236,6 +37208,7 @@ namespace OpenTK.Graphics /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthFunc")] public static void DepthFunc(OpenTK.Graphics.DepthFunction func) @@ -34259,6 +37232,7 @@ namespace OpenTK.Graphics /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthMask")] public static void DepthMask(bool flag) @@ -34287,6 +37261,7 @@ namespace OpenTK.Graphics /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDepthRange")] public static void DepthRange(Double near, Double far) @@ -34315,9 +37290,11 @@ namespace OpenTK.Graphics /// Specifies the shader object to be detached. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] public static - void DetachShader(Int32 program, Int32 shader) + void DetachShader(UInt32 program, UInt32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34343,10 +37320,10 @@ namespace OpenTK.Graphics /// Specifies the shader object to be detached. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDetachShader")] public static - void DetachShader(UInt32 program, UInt32 shader) + void DetachShader(Int32 program, Int32 shader) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -34463,6 +37440,7 @@ namespace OpenTK.Graphics /// Specifies the number of indices to be rendered. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawArrays")] public static void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) @@ -34500,6 +37478,7 @@ namespace OpenTK.Graphics /// Specifies up to four color buffers to be drawn into. Symbolic constants GL_NONE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_AND_BACK, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1, are accepted. (GL_AUX_BUFFERS is not the upper limit; use glGet to query the number of available aux buffers.) The initial value is GL_FRONT for single-buffered contexts, and GL_BACK for double-buffered contexts. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glDrawBuffer")] public static void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode) @@ -34528,6 +37507,37 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs); + #if DEBUG + } + #endif + } + + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] public static void DrawBuffers(Int32 n, ref OpenTK.Graphics.DrawBuffersEnum bufs) @@ -34562,6 +37572,7 @@ namespace OpenTK.Graphics /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] public static void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum[] bufs) @@ -34583,35 +37594,6 @@ namespace OpenTK.Graphics } - /// - /// Specifies a list of color buffers to be drawn into - /// - /// - /// - /// Specifies the number of buffers in bufs. - /// - /// - /// - /// - /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glDrawBuffers")] - public static - unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.DrawBuffersEnum*)bufs); - #if DEBUG - } - #endif - } - - /// /// Render primitives from array data /// @@ -34635,138 +37617,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] - public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices) @@ -34814,6 +37665,103 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices) @@ -34837,15 +37785,146 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + public static + void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } #if DEBUG } #endif @@ -34899,22 +37978,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); #if DEBUG } #endif @@ -34943,86 +38013,130 @@ namespace OpenTK.Graphics #endif } - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) - where T4 : struct + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glDrawElementsInstanced((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { - pixels_ptr.Free(); + indices_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Write a block of pixels to the frame buffer - /// - /// - /// - /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. - /// - /// - /// - /// - /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. - /// - /// - /// - /// - /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Specifies a pointer to the pixel data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + public static + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } #if DEBUG } #endif @@ -35052,6 +38166,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) @@ -35099,6 +38214,94 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Write a block of pixels to the frame buffer + /// + /// + /// + /// Specify the dimensions of the pixel rectangle to be written into the frame buffer. + /// + /// + /// + /// + /// Specifies the format of the pixel data. Symbolic constants GL_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA are accepted. + /// + /// + /// + /// + /// Specifies the data type for data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Specifies a pointer to the pixel data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) @@ -35146,9 +38349,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the pixel data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) where T4 : struct { #if DEBUG @@ -35203,58 +38407,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) where T5 : struct { #if DEBUG @@ -35309,285 +38465,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static @@ -35646,6 +38524,241 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) @@ -35703,9 +38816,11 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) where T5 : struct { #if DEBUG @@ -35727,6 +38842,322 @@ namespace OpenTK.Graphics } + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + public static + void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices, Int32 basevertex) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Flag edges as either boundary or nonboundary /// @@ -35735,6 +39166,7 @@ namespace OpenTK.Graphics /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlag")] public static void EdgeFlag(bool flag) @@ -35763,24 +39195,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static - void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) - where T1 : struct + void EdgeFlagPointer(Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -35800,6 +39224,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer) @@ -35837,6 +39262,45 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer) @@ -35874,6 +39338,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer) @@ -35898,34 +39363,6 @@ namespace OpenTK.Graphics } - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] - public static - void EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// /// Flag edges as either boundary or nonboundary /// @@ -35934,6 +39371,7 @@ namespace OpenTK.Graphics /// Specifies the current edge flag value, either GL_TRUE or GL_FALSE. The initial value is GL_TRUE. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEdgeFlagv")] public static @@ -35958,6 +39396,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glEnable")] public static void Enable(OpenTK.Graphics.EnableCap cap) @@ -35981,6 +39420,7 @@ namespace OpenTK.Graphics /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glEnableClientState")] public static void EnableClientState(OpenTK.Graphics.EnableCap array) @@ -36004,10 +39444,10 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) + void Enable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36028,9 +39468,11 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static - void Enable(OpenTK.Graphics.IndexedEnableCap target, Int32 index) + void Enable(OpenTK.Graphics.IndexedEnableCap target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36051,10 +39493,10 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] public static - void EnableVertexAttribArray(UInt32 index) + void EnableVertexAttribArray(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36075,9 +39517,11 @@ namespace OpenTK.Graphics /// Specifies the index of the generic vertex attribute to be enabled or disabled. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")] public static - void EnableVertexAttribArray(Int32 index) + void EnableVertexAttribArray(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36132,35 +39576,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitorAMD(Int32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")] - public static - void EndPerfMonitorAMD(UInt32 monitor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glEndQuery")] public static void EndQuery(OpenTK.Graphics.QueryTarget target) @@ -36203,6 +39618,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1d")] public static void EvalCoord1(Double u) @@ -36231,6 +39647,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1dv")] public static @@ -36260,6 +39677,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1f")] public static void EvalCoord1(Single u) @@ -36288,6 +39706,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord1fv")] public static @@ -36317,6 +39736,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2d")] public static void EvalCoord2(Double u, Double v) @@ -36345,6 +39765,37 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] + public static + unsafe void EvalCoord2(Double* u) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glEvalCoord2dv((Double*)u); + #if DEBUG + } + #endif + } + + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(Double[] u) @@ -36379,6 +39830,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(ref Double u) @@ -36413,35 +39865,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2dv")] - public static - unsafe void EvalCoord2(Double* u) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glEvalCoord2dv((Double*)u); - #if DEBUG - } - #endif - } - - /// - /// Evaluate enabled one- and two-dimensional maps - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. - /// - /// - /// - /// - /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2f")] public static void EvalCoord2(Single u, Single v) @@ -36470,6 +39894,7 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static @@ -36499,9 +39924,10 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static - void EvalCoord2(ref Single u) + void EvalCoord2(Single[] u) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36509,7 +39935,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* u_ptr = &u) + fixed (Single* u_ptr = u) { Delegates.glEvalCoord2fv((Single*)u_ptr); } @@ -36533,9 +39959,10 @@ namespace OpenTK.Graphics /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static - void EvalCoord2(Single[] u) + void EvalCoord2(ref Single u) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -36543,7 +39970,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* u_ptr = u) + fixed (Single* u_ptr = &u) { Delegates.glEvalCoord2fv((Single*)u_ptr); } @@ -36567,6 +39994,7 @@ namespace OpenTK.Graphics /// Specify the first and last integer values for grid domain variable . /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh1")] public static void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2) @@ -36595,6 +40023,7 @@ namespace OpenTK.Graphics /// Specify the first and last integer values for grid domain variable . /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalMesh2")] public static void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) @@ -36623,6 +40052,7 @@ namespace OpenTK.Graphics /// Specifies the integer value for grid domain variable (glEvalPoint2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint1")] public static void EvalPoint1(Int32 i) @@ -36651,6 +40081,7 @@ namespace OpenTK.Graphics /// Specifies the integer value for grid domain variable (glEvalPoint2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glEvalPoint2")] public static void EvalPoint2(Int32 i, Int32 j) @@ -36684,21 +40115,17 @@ namespace OpenTK.Graphics /// Returns the feedback data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] public static - void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer) + unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* buffer_ptr = buffer) - { - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); - } - } + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer); #if DEBUG } #endif @@ -36723,6 +40150,7 @@ namespace OpenTK.Graphics /// Returns the feedback data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] public static void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] out Single buffer) @@ -36763,16 +40191,51 @@ namespace OpenTK.Graphics /// Returns the feedback data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFeedbackBuffer")] public static - unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer) + void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single[] buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer); + unsafe + { + fixed (Single* buffer_ptr = buffer) + { + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.FeedbackType)type, (Single*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFenceSync((OpenTK.Graphics.ArbSync)condition, (UInt32)flags); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFenceSync((OpenTK.Graphics.ArbSync)condition, (UInt32)flags); #if DEBUG } #endif @@ -36782,6 +40245,7 @@ namespace OpenTK.Graphics /// /// Block until all GL execution is complete /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFinish")] public static void Finish() @@ -36800,6 +40264,7 @@ namespace OpenTK.Graphics /// /// Force execution of GL commands in finite time /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFlush")] public static void Flush() @@ -36837,6 +40302,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordd")] public static void FogCoord(Double coord) @@ -36860,6 +40326,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoorddv")] public static @@ -36884,6 +40351,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordf")] public static void FogCoord(Single coord) @@ -36907,6 +40375,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordfv")] public static @@ -36941,6 +40410,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer) @@ -36974,6 +40444,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) @@ -37016,6 +40487,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) @@ -37058,9 +40530,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -37100,9 +40573,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) where T2 : struct { #if DEBUG @@ -37137,6 +40611,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogf")] public static void Fog(OpenTK.Graphics.FogParameter pname, Single param) @@ -37165,6 +40640,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] public static void Fog(OpenTK.Graphics.FogParameter pname, Single[] @params) @@ -37199,6 +40675,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogfv")] public static @@ -37228,6 +40705,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogi")] public static void Fog(OpenTK.Graphics.FogParameter pname, Int32 param) @@ -37256,6 +40734,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] public static @@ -37285,6 +40764,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFogiv")] public static void Fog(OpenTK.Graphics.FogParameter pname, Int32[] @params) @@ -37334,15 +40814,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTexture")] public static - void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTexture")] + public static + void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -37363,15 +40858,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture1D")] public static - void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); + Delegates.glFramebufferTexture1D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -37392,15 +40887,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture2D")] public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + Delegates.glFramebufferTexture2D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level); #if DEBUG } #endif @@ -37421,6 +40916,49 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTexture3D")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3D((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTextureFace")] + public static + void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFace((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.Version32)face); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glFramebufferTextureFace")] + public static + void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, Int32 texture, Int32 level, OpenTK.Graphics.Version32 face) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTextureFace((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.Version32)face); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")] public static @@ -37459,6 +40997,7 @@ namespace OpenTK.Graphics /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glFrontFace")] public static void FrontFace(OpenTK.Graphics.FrontFaceDirection mode) @@ -37492,6 +41031,7 @@ namespace OpenTK.Graphics /// Specify the distances to the near and far depth clipping planes. Both distances must be positive. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glFrustum")] public static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) @@ -37520,35 +41060,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] - public static - unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - #if DEBUG - } - #endif - } - - /// - /// Generate buffer object names - /// - /// - /// - /// Specifies the number of buffer object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated buffer object names are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static @@ -37585,16 +41097,22 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static - unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) + void GenBuffers(Int32 n, [Out] Int32[] buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } #if DEBUG } #endif @@ -37614,6 +41132,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static @@ -37649,21 +41168,17 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static - void GenBuffers(Int32 n, [Out] Int32[] buffers) + unsafe void GenBuffers(Int32 n, [Out] Int32* buffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* buffers_ptr = buffers) - { - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr); - } - } + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); #if DEBUG } #endif @@ -37683,6 +41198,37 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated buffer object names are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenBuffers")] public static void GenBuffers(Int32 n, [Out] out Int32 buffers) @@ -37718,63 +41264,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] public static - void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] - public static - void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); - framebuffers = *framebuffers_ptr; - } - } + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); #if DEBUG } #endif @@ -37817,16 +41316,63 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) + void GenFramebuffers(Int32 n, [Out] out Int32 framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } #if DEBUG } #endif @@ -37841,6 +41387,7 @@ namespace OpenTK.Graphics /// Specifies the number of contiguous empty display lists to be generated. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGenLists")] public static Int32 GenLists(Int32 range) @@ -37855,120 +41402,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] Int32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] UInt32[] monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] out UInt32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - void GenPerfMonitorsAMD(Int32 n, [Out] out Int32 monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* monitors_ptr = &monitors) - { - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr); - monitors = *monitors_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")] - public static - unsafe void GenPerfMonitorsAMD(Int32 n, [Out] Int32* monitors) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - #if DEBUG - } - #endif - } - /// /// Generate query object names @@ -37983,41 +41416,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] - public static - void GenQueries(Int32 n, [Out] UInt32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Generate query object names - /// - /// - /// - /// Specifies the number of query object names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated query object names are stored. - /// - /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static void GenQueries(Int32 n, [Out] out Int32 ids) @@ -38053,16 +41452,22 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static - unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + void GenQueries(Int32 n, [Out] Int32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -38082,16 +41487,23 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static - unsafe void GenQueries(Int32 n, [Out] Int32* ids) + void GenQueries(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenQueries((Int32)n, (UInt32*)ids); + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -38111,6 +41523,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static @@ -38147,29 +41560,56 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated query object names are stored. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] public static - void GenQueries(Int32 n, [Out] Int32[] ids) + unsafe void GenQueries(Int32 n, [Out] Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glGenQueries((Int32)n, (UInt32*)ids_ptr); - } - } + Delegates.glGenQueries((Int32)n, (UInt32*)ids); #if DEBUG } #endif } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [Out] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] public static - void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) + void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -38177,10 +41617,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* renderbuffers_ptr = &renderbuffers) + fixed (UInt32* renderbuffers_ptr = renderbuffers) { Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; } } #if DEBUG @@ -38221,7 +41660,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] public static - void GenRenderbuffers(Int32 n, [Out] UInt32[] renderbuffers) + void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -38229,9 +41668,31 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* renderbuffers_ptr = renderbuffers) + fixed (UInt32* renderbuffers_ptr = &renderbuffers) { Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [Out] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; } } #if DEBUG @@ -38259,28 +41720,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGenRenderbuffers")] - public static - void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } - #if DEBUG - } - #endif - } - /// /// Generate texture names @@ -38295,75 +41734,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] - public static - void GenTextures(Int32 n, [Out] Int32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - { - Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static @@ -38400,16 +41771,22 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static - unsafe void GenTextures(Int32 n, [Out] UInt32* textures) + void GenTextures(Int32 n, [Out] Int32[] textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenTextures((Int32)n, (UInt32*)textures); + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } #if DEBUG } #endif @@ -38429,6 +41806,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static void GenTextures(Int32 n, [Out] out Int32 textures) @@ -38464,6 +41842,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static @@ -38479,16 +41858,67 @@ namespace OpenTK.Graphics #endif } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] public static - unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + unsafe void GenTextures(Int32 n, [Out] UInt32* textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [Out] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr); + } + } #if DEBUG } #endif @@ -38514,28 +41944,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] - public static - void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* arrays_ptr = &arrays) - { - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); - arrays = *arrays_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] public static @@ -38557,6 +41965,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [Out] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] public static @@ -38593,55 +42016,23 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns information about an active attribute variable for the specified program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the index of the attribute variable to be queried. - /// - /// - /// - /// - /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. - /// - /// - /// - /// - /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. - /// - /// - /// - /// - /// Returns the size of the attribute variable. - /// - /// - /// - /// - /// Returns the data type of the attribute variable. - /// - /// - /// - /// - /// Returns a null terminated string containing the name of the attribute variable. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glGenVertexArrays")] public static - unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + void GenVertexArrays(Int32 n, [Out] out UInt32 arrays) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } #if DEBUG } #endif @@ -38686,6 +42077,72 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) + { + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static @@ -38751,26 +42208,17 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static - void GetActiveAttrib(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveAttribType type, [Out] System.Text.StringBuilder name) + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ActiveAttribType* type_ptr = &type) - { - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ActiveAttribType*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -38815,6 +42263,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the attribute variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveAttrib")] public static @@ -38869,6 +42318,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static @@ -38923,9 +42373,11 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static - void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -38987,6 +42439,7 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static @@ -39041,10 +42494,10 @@ namespace OpenTK.Graphics /// Returns a null terminated string containing the name of the uniform variable. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetActiveUniform")] public static - void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) + void GetActiveUniform(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ActiveUniformType type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39067,6 +42520,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) @@ -39103,10 +42577,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static - void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39146,26 +42619,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] - public static - void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockiv")] public static @@ -39181,42 +42634,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] - public static - unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] public static @@ -39254,9 +42671,46 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] public static - void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) + void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39305,10 +42759,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformName")] public static - void GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) + void GetActiveUniformName(Int32 program, Int32 uniformIndex, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder uniformName) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39327,6 +42780,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static @@ -39342,6 +42817,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static void GetActiveUniforms(Int32 program, Int32 uniformCount, ref Int32 uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] out Int32 @params) @@ -39364,6 +42854,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] public static @@ -39387,64 +42898,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(UInt32 program, Int32 uniformCount, UInt32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetActiveUniformsiv")] - public static - void GetActiveUniforms(Int32 program, Int32 uniformCount, Int32[] uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ArbUniformBufferObject)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Returns the handles of the shader objects attached to a program object @@ -39469,6 +42922,7 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -39517,53 +42971,7 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - fixed (Int32* obj_ptr = &obj) - { - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); - count = *count_ptr; - obj = *obj_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -39606,45 +43014,7 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] - public static - unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - #if DEBUG - } - #endif - } - - /// - /// Returns the handles of the shader objects attached to a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the size of the array for storing the returned object names. - /// - /// - /// - /// - /// Returns the number of names actually returned in objects. - /// - /// - /// - /// - /// Specifies an array that is used to return the names of attached shader objects. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -39687,6 +43057,7 @@ namespace OpenTK.Graphics /// Specifies an array that is used to return the names of attached shader objects. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] public static @@ -39703,6 +43074,94 @@ namespace OpenTK.Graphics } + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + #if DEBUG + } + #endif + } + + + /// + /// Returns the handles of the shader objects attached to a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the size of the array for storing the returned object names. + /// + /// + /// + /// + /// Returns the number of names actually returned in objects. + /// + /// + /// + /// + /// Specifies an array that is used to return the names of attached shader objects. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxCount, [Out] out Int32 count, [Out] out Int32 obj) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* obj_ptr = &obj) + { + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr); + count = *count_ptr; + obj = *obj_ptr; + } + } + #if DEBUG + } + #endif + } + + /// /// Returns the location of an attribute variable /// @@ -39716,10 +43175,10 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static - Int32 GetAttribLocation(UInt32 program, String name) + Int32 GetAttribLocation(Int32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39745,9 +43204,11 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static - Int32 GetAttribLocation(Int32 program, String name) + Int32 GetAttribLocation(UInt32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39759,48 +43220,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] - public static - void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out bool data) @@ -39825,7 +43244,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool* data) + unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39837,6 +43256,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static @@ -39858,24 +43299,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] public static - unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] - public static - void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] out bool @params) + void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -39883,10 +43309,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* @params_ptr = &@params) + fixed (bool* data_ptr = data) { - Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data_ptr); } } #if DEBUG @@ -39894,6 +43319,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleani_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] public static void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] bool[] @params) @@ -39929,6 +43369,83 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.GetPName pname, [Out] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Delegates.glGetBooleanv((OpenTK.Graphics.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetBufferParameteri64v")] + public static + unsafe void GetBufferParameteri64(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.Version32)target, (OpenTK.Graphics.Version32)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + /// /// Return parameters of a buffer object @@ -39948,6 +43465,7 @@ namespace OpenTK.Graphics /// Returns the requested parameter. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] out Int32 @params) @@ -39988,6 +43506,7 @@ namespace OpenTK.Graphics /// Returns the requested parameter. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static void GetBufferParameter(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32[] @params) @@ -40027,6 +43546,7 @@ namespace OpenTK.Graphics /// Returns the requested parameter. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferParameteriv")] public static @@ -40061,48 +43581,7 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] - public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Return the pointer to a mapped buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[] @params) @@ -40145,15 +43624,25 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params) + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } #if DEBUG } #endif @@ -40178,6 +43667,50 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the pointer to a mapped buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the pointer to be returned. The symbolic constant must be GL_BUFFER_MAP_POINTER. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] ref T2 @params) @@ -40220,24 +43753,16 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) - where T2 : struct + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params); #if DEBUG } #endif @@ -40267,53 +43792,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] - public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Returns a subset of a buffer object's data store - /// - /// - /// - /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. - /// - /// - /// - /// - /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. - /// - /// - /// - /// - /// Specifies the size in bytes of the data store region being returned. - /// - /// - /// - /// - /// Specifies a pointer to the location where buffer object data is returned. - /// - /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) @@ -40361,6 +43840,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) @@ -40408,6 +43888,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data) @@ -40446,6 +43927,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where buffer object data is returned. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) @@ -40470,6 +43952,54 @@ namespace OpenTK.Graphics } + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Return the coefficients of the specified clipping plane /// @@ -40483,21 +44013,17 @@ namespace OpenTK.Graphics /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] public static - void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation) + unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* equation_ptr = equation) - { - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); - } - } + Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); #if DEBUG } #endif @@ -40517,6 +44043,7 @@ namespace OpenTK.Graphics /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] public static void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] out Double equation) @@ -40552,62 +44079,21 @@ namespace OpenTK.Graphics /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0). /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetClipPlane")] public static - unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation) + void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double[] equation) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation); - #if DEBUG - } - #endif - } - - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); + fixed (Double* equation_ptr = equation) + { + Delegates.glGetClipPlane((OpenTK.Graphics.ClipPlaneName)plane, (Double*)equation_ptr); + } } #if DEBUG } @@ -40638,53 +44124,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) @@ -40732,6 +44172,46 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) @@ -40779,15 +44259,73 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } #if DEBUG } #endif @@ -40812,6 +44350,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static @@ -40846,6 +44385,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) @@ -40886,6 +44426,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) @@ -40925,6 +44466,42 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) @@ -40965,40 +44542,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) @@ -41038,6 +44582,7 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) @@ -41080,6 +44625,7 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) @@ -41122,6 +44668,41 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); + #if DEBUG + } + #endif + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) @@ -41164,6 +44745,7 @@ namespace OpenTK.Graphics /// Returns the compressed texture image. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) @@ -41188,39 +44770,6 @@ namespace OpenTK.Graphics } - /// - /// Return a compressed texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Returns the compressed texture image. - /// - /// - [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] - public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img); - #if DEBUG - } - #endif - } - - /// /// Get current 1D or 2D convolution filter kernel /// @@ -41244,6 +44793,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) @@ -41291,24 +44841,16 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) - where T3 : struct + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); #if DEBUG } #endif @@ -41338,6 +44880,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) @@ -41385,6 +44928,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) @@ -41432,15 +44976,25 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) + void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } #if DEBUG } #endif @@ -41465,6 +45019,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static @@ -41499,6 +45054,47 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] + public static + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) @@ -41539,60 +45135,17 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] - public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Get convolution parameters - /// - /// - /// - /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. - /// - /// - /// - /// - /// Pointer to storage for the parameters to be retrieved. - /// - /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) + unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - } - } + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); #if DEBUG } #endif @@ -41617,6 +45170,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) @@ -41657,16 +45211,22 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static - unsafe void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + void GetConvolutionParameter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.ConvolutionTarget)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -41692,6 +45252,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] + public static + unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] public static void GetDouble(OpenTK.Graphics.GetPName pname, [Out] out Double @params) @@ -41713,25 +45288,11 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetDoublev")] - public static - unsafe void GetDouble(OpenTK.Graphics.GetPName pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDoublev((OpenTK.Graphics.GetPName)pname, (Double*)@params); - #if DEBUG - } - #endif - } - /// /// Return error information /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetError")] public static OpenTK.Graphics.ErrorCode GetError() @@ -41739,21 +45300,6 @@ namespace OpenTK.Graphics return Delegates.glGetError(); } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] - public static - unsafe void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static void GetFloat(OpenTK.Graphics.GetPName pname, [Out] out Single @params) @@ -41775,6 +45321,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] + public static + unsafe void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFloatv((OpenTK.Graphics.GetPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetFloatv")] public static void GetFloat(OpenTK.Graphics.GetPName pname, [Out] Single[] @params) @@ -41845,21 +45406,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] - public static - unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] public static void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32[] @params) @@ -41880,6 +45426,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + /// /// Get histogram table @@ -41909,9 +45470,54 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) where T4 : struct { #if DEBUG @@ -41961,6 +45567,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) @@ -42013,52 +45620,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] - public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetHistogram((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - /// - /// Get histogram table - /// - /// - /// - /// Must be GL_HISTOGRAM. - /// - /// - /// - /// - /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. - /// - /// - /// - /// - /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned histogram table. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) where T4 : struct { #if DEBUG @@ -42108,9 +45673,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) where T4 : struct { #if DEBUG @@ -42150,6 +45716,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static @@ -42184,6 +45751,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) @@ -42224,6 +45792,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) @@ -42263,22 +45832,17 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static - void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) + unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); #if DEBUG } #endif @@ -42303,6 +45867,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) @@ -42342,24 +45907,202 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static - unsafe void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + void GetHistogramParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger64(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version32", Version = "3.2", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger64(OpenTK.Graphics.Version32 target, Int32 index, [Out] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Delegates.glGetInteger64i_v((OpenTK.Graphics.Version32)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetInteger64v")] + public static + unsafe void GetInteger64(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInteger64v((OpenTK.Graphics.ArbSync)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out Int32 data) + void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42378,6 +46121,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static @@ -42431,28 +46194,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegeri_v((OpenTK.Graphics.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetIntegeri_v")] - public static - void GetInteger(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] out Int32 data) + void GetInteger(OpenTK.Graphics.GetIndexedPName target, Int32 index, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -42471,6 +46213,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static void GetInteger(OpenTK.Graphics.GetPName pname, [Out] out Int32 @params) @@ -42492,21 +46249,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] - public static - unsafe void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetIntegerv")] public static void GetInteger(OpenTK.Graphics.GetPName pname, [Out] Int32[] @params) @@ -42546,40 +46288,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] - public static - unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return light source parameter values - /// - /// - /// - /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. - /// - /// - /// - /// - /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params) @@ -42619,6 +46328,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params) @@ -42659,6 +46369,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightfv")] + public static + unsafe void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return light source parameter values + /// + /// + /// + /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1. + /// + /// + /// + /// + /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static @@ -42693,6 +46439,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params) @@ -42732,6 +46479,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetLightiv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params) @@ -42772,40 +46520,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] - public static - unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Return evaluator parameters - /// - /// - /// - /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. - /// - /// - /// - /// - /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v) @@ -42846,6 +46561,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] + public static + unsafe void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapdv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v) @@ -42885,6 +46636,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v) @@ -42925,6 +46677,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static @@ -42959,6 +46712,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapfv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v) @@ -42998,9 +46752,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43008,9 +46763,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) + fixed (Int32* v_ptr = &v) { Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); + v = *v_ptr; } } #if DEBUG @@ -43037,6 +46793,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] public static @@ -43071,9 +46828,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMapiv")] public static - void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) + void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43081,10 +46839,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) { Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v_ptr); - v = *v_ptr; } } #if DEBUG @@ -43111,6 +46868,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] + public static + unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return material parameters + /// + /// + /// + /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. + /// + /// + /// + /// + /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) @@ -43151,40 +46944,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] - public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return material parameters - /// - /// - /// - /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively. - /// - /// - /// - /// - /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) @@ -43224,21 +46984,17 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static - void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) + unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -43263,6 +47019,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) @@ -43303,67 +47060,21 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static - unsafe void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] - public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + } } #if DEBUG } @@ -43399,6 +47110,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] public static void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) @@ -43451,6 +47163,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] public static void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) @@ -43503,9 +47216,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] public static - void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) where T4 : struct { #if DEBUG @@ -43555,6 +47269,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] public static void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) @@ -43570,6 +47285,59 @@ namespace OpenTK.Graphics } + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12Deprecated)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Get minmax parameters /// @@ -43588,6 +47356,82 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Single @params) @@ -43628,113 +47472,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] - public static - void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] - public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Get minmax parameters - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. - /// - /// - /// - /// - /// A pointer to storage for the retrieved parameters. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] out Int32 @params) @@ -43775,6 +47513,42 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] + public static + unsafe void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.Version12Deprecated)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32[] @params) @@ -43796,42 +47570,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32[] data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out UInt32 data, [Out] out Int32 bytesWritten) + void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single[] val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43839,12 +47580,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) + fixed (Single* val_ptr = val) { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); } } #if DEBUG @@ -43853,23 +47591,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32* data, [Out] Int32* bytesWritten) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] - public static - void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] out Int32 data, [Out] out Int32 bytesWritten) + void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] out Single val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -43877,12 +47601,51 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* data_ptr = &data) - fixed (Int32* bytesWritten_ptr = &bytesWritten) + fixed (Single* val_ptr = &val) { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr); - data = *data_ptr; - bytesWritten = *bytesWritten_ptr; + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; } } #if DEBUG @@ -43891,611 +47654,30 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - unsafe void GetPerfMonitorCounterDataAMD(Int32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] Int32[] data, [Out] Int32* bytesWritten) + unsafe void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Int32* data_ptr = data) - { - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glGetMultisamplefv")] public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,,] data) - where T3 : struct + unsafe void GetMultisample(OpenTK.Graphics.ArbTextureMultisample pname, Int32 index, [Out] Single* val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")] - public static - void GetPerfMonitorCounterInfoAMD(Int32 group, Int32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.AmdPerformanceMonitor)pname, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCountersAMD(UInt32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out UInt32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (UInt32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32[] counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* counters_ptr = counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - unsafe void GetPerfMonitorCountersAMD(Int32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] Int32* counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")] - public static - void GetPerfMonitorCountersAMD(Int32 group, [Out] out Int32 numCounters, [Out] out Int32 maxActiveCounters, Int32 counterSize, [Out] out Int32 counters) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numCounters_ptr = &numCounters) - fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters) - fixed (Int32* counters_ptr = &counters) - { - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr); - numCounters = *numCounters_ptr; - maxActiveCounters = *maxActiveCounters_ptr; - counters = *counters_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - unsafe void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)counterString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")] - public static - void GetPerfMonitorCounterStringAMD(Int32 group, Int32 counter, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder counterString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)counterString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Int32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out UInt32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (UInt32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - void GetPerfMonitorGroupsAMD([Out] out Int32 numGroups, Int32 groupsSize, [Out] out Int32 groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* numGroups_ptr = &numGroups) - fixed (Int32* groups_ptr = &groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr); - numGroups = *numGroups_ptr; - groups = *groups_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32[] groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (UInt32* groups_ptr = groups) - { - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] Int32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")] - public static - unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupStringAMD(Int32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)groupString); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")] - public static - void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder groupString) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)groupString); - length = *length_ptr; - } - } + Delegates.glGetMultisamplefv((OpenTK.Graphics.ArbTextureMultisample)pname, (UInt32)index, (Single*)val); #if DEBUG } #endif @@ -44515,6 +47697,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static @@ -44544,6 +47727,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values) @@ -44579,6 +47763,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values) @@ -44613,6 +47798,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static @@ -44649,133 +47835,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] - public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Return the specified pixel map - /// - /// - /// - /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Returns the pixel map contents. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values) @@ -44811,16 +47871,23 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values) + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32[] values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); + unsafe + { + fixed (UInt32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + } + } #if DEBUG } #endif @@ -44840,6 +47907,102 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values) @@ -44874,6 +48037,7 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static @@ -44909,23 +48073,17 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values) + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16* values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* values_ptr = &values) - { - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); - values = *values_ptr; - } - } + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); #if DEBUG } #endif @@ -44945,6 +48103,37 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] + public static + unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Return the specified pixel map + /// + /// + /// + /// Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, and GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Returns the pixel map contents. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values) @@ -44980,16 +48169,24 @@ namespace OpenTK.Graphics /// Returns the pixel map contents. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static - unsafe void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] UInt16* values) + void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out UInt16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); + unsafe + { + fixed (UInt16* values_ptr = &values) + { + Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values_ptr); + values = *values_ptr; + } + } #if DEBUG } #endif @@ -45009,6 +48206,7 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] public static void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) @@ -45046,9 +48244,39 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified pointer + /// + /// + /// + /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. + /// + /// + /// + /// + /// Returns the pointer value specified by pname. + /// + /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) where T1 : struct { #if DEBUG @@ -45083,6 +48311,7 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] public static void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) @@ -45120,37 +48349,10 @@ namespace OpenTK.Graphics /// Returns the pointer value specified by pname. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - /// - /// Return the address of the specified pointer - /// - /// - /// - /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted. - /// - /// - /// - /// - /// Returns the pointer value specified by pname. - /// - /// [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glGetPointerv")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) where T1 : struct { #if DEBUG @@ -45180,6 +48382,7 @@ namespace OpenTK.Graphics /// Returns the stipple pattern. The initial value is all 1's. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] public static void GetPolygonStipple([Out] out Byte mask) @@ -45210,6 +48413,7 @@ namespace OpenTK.Graphics /// Returns the stipple pattern. The initial value is all 1's. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] public static @@ -45234,6 +48438,7 @@ namespace OpenTK.Graphics /// Returns the stipple pattern. The initial value is all 1's. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetPolygonStipple")] public static void GetPolygonStipple([Out] Byte[] mask) @@ -45278,6 +48483,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static @@ -45317,6 +48523,53 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a program object + /// + /// + /// + /// Specifies the program object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static @@ -45363,51 +48616,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] - public static - void GetProgramInfoLog(Int32 program, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the information log for a program object - /// - /// - /// - /// Specifies the program object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramInfoLog")] public static @@ -45442,155 +48651,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] - public static - void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -45631,6 +48692,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) @@ -45652,6 +48714,159 @@ namespace OpenTK.Graphics } + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + /// /// Return parameters of a query object target /// @@ -45670,6 +48885,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] public static @@ -45704,6 +48920,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] public static void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] out Int32 @params) @@ -45744,6 +48961,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryiv")] public static void GetQuery(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32[] @params) @@ -45783,6 +49001,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -45824,6 +49078,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) @@ -45864,6 +49119,82 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -45904,113 +49235,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] - public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return parameters of a query object - /// - /// - /// - /// Specifies the name of a query object. - /// - /// - /// - /// - /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static @@ -46052,16 +49277,23 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static - unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params) + void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params); + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -46086,22 +49318,17 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static - void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32[] @params) + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params_ptr); - } - } + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (UInt32*)@params); #if DEBUG } #endif @@ -46127,21 +49354,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] - public static - unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] public static void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) @@ -46163,64 +49375,16 @@ namespace OpenTK.Graphics #endif } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glGetRenderbufferParameteriv")] public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct + unsafe void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -46260,600 +49424,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] - public static - void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] public static void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) @@ -46917,6 +49488,315 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] public static void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) @@ -46932,6 +49812,366 @@ namespace OpenTK.Graphics } + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Returns the information log for a shader object /// @@ -46955,6 +50195,54 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the information log for a shader object + /// + /// + /// + /// Specifies the shader object whose information log is to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned information log. + /// + /// + /// + /// + /// Returns the length of the string returned in infoLog (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the information log. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static @@ -46994,6 +50282,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static @@ -47033,6 +50322,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the information log. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] public static void GetShaderInfoLog(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) @@ -47055,52 +50345,6 @@ namespace OpenTK.Graphics } - /// - /// Returns the information log for a shader object - /// - /// - /// - /// Specifies the shader object whose information log is to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned information log. - /// - /// - /// - /// - /// Returns the length of the string returned in infoLog (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the information log. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderInfoLog")] - public static - void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder infoLog) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - { - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length_ptr, (System.Text.StringBuilder)infoLog); - length = *length_ptr; - } - } - #if DEBUG - } - #endif - } - - /// /// Returns a parameter from a shader object /// @@ -47119,46 +50363,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -47193,45 +50398,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] - public static - void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns a parameter from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) @@ -47272,6 +50439,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -47313,6 +50481,88 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -47352,6 +50602,47 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)source); + #if DEBUG + } + #endif + } + + + /// + /// Returns the source code string from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the size of the character buffer for storing the returned source code string. + /// + /// + /// + /// + /// Returns the length of the string returned in source (excluding the null terminator). + /// + /// + /// + /// + /// Specifies an array of characters that is used to return the source code string. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static @@ -47391,6 +50682,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static @@ -47437,45 +50729,7 @@ namespace OpenTK.Graphics /// Specifies an array of characters that is used to return the source code string. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] - public static - unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)source); - #if DEBUG - } - #endif - } - - /// - /// Returns the source code string from a shader object - /// - /// - /// - /// Specifies the shader object to be queried. - /// - /// - /// - /// - /// Specifies the size of the character buffer for storing the returned source code string. - /// - /// - /// - /// - /// Returns the length of the string returned in source (excluding the null terminator). - /// - /// - /// - /// - /// Specifies an array of characters that is used to return the source code string. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderSource")] public static void GetShaderSource(Int32 shader, Int32 bufSize, [Out] out Int32 length, [Out] System.Text.StringBuilder source) @@ -47506,6 +50760,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetString")] public static string GetString(OpenTK.Graphics.StringName name) @@ -47529,6 +50784,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] public static @@ -47553,6 +50809,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. /// /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] public static string GetString(OpenTK.Graphics.StringName name, Int32 index) @@ -47567,28 +50824,9 @@ namespace OpenTK.Graphics #endif } - - /// - /// Return texture environment parameters - /// - /// - /// - /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) + void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47596,9 +50834,12 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* length_ptr = &length) + fixed (Int32* values_ptr = &values) { - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + length = *length_ptr; + values = *values_ptr; } } #if DEBUG @@ -47606,6 +50847,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Int32* values_ptr = values) + { + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ArbSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + /// /// Return texture environment parameters @@ -47625,6 +50899,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] + public static + unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture environment parameters + /// + /// + /// + /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) @@ -47665,16 +50975,22 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static - unsafe void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -47699,6 +51015,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static @@ -47733,9 +51050,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47743,9 +51061,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -47772,9 +51091,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static - void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) + void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -47782,10 +51102,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -47812,6 +51131,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] public static @@ -47846,45 +51166,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) @@ -47925,6 +51207,47 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGendv")] + public static + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static @@ -47959,45 +51282,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] - public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Return texture coordinate generation parameters - /// - /// - /// - /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) @@ -48038,9 +51323,10 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static - void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48048,10 +51334,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -48078,6 +51363,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] + public static + unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return texture coordinate generation parameters + /// + /// + /// + /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) @@ -48117,67 +51438,22 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static - unsafe void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params) + void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the texture image. Should be a pointer to an array of the type specified by type. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTexGeniv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } } #if DEBUG } @@ -48213,58 +51489,7 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] - public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Return a texture image - /// - /// - /// - /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. - /// - /// - /// - /// - /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. - /// - /// - /// - /// - /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Returns the texture image. Should be a pointer to an array of the type specified by type. - /// - /// [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) @@ -48317,9 +51542,54 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) where T4 : struct { #if DEBUG @@ -48369,15 +51639,78 @@ namespace OpenTK.Graphics /// Returns the texture image. Should be a pointer to an array of the type specified by type. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -48407,6 +51740,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static @@ -48446,6 +51780,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) @@ -48491,6 +51826,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) @@ -48535,6 +51871,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static @@ -48574,6 +51911,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) @@ -48619,6 +51957,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -48658,6 +51997,47 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) @@ -48698,6 +52078,7 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static @@ -48713,60 +52094,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameterfv")] - public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] - public static - unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] public static void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -48808,6 +52135,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIiv")] + public static + unsafe void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTexParameterIiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] public static @@ -48845,10 +52208,29 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTexParameterIuiv")] + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -48856,9 +52238,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -48885,6 +52268,7 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static @@ -48919,6 +52303,7 @@ namespace OpenTK.Graphics /// Returns the texture parameters. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -48939,41 +52324,31 @@ namespace OpenTK.Graphics #endif } - - /// - /// Return texture parameter values - /// - /// - /// - /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. - /// - /// - /// - /// - /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. - /// - /// - /// - /// - /// Returns the texture parameters. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glGetTexParameteriv")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static - void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); #if DEBUG } #endif @@ -49004,36 +52379,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] - public static - unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ActiveAttribType*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetTransformFeedbackVarying")] public static @@ -49108,80 +52453,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -49216,6 +52488,123 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -49257,49 +52646,10 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static - void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) + void GetUniform(Int32 program, Int32 location, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -49307,9 +52657,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -49339,6 +52690,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [Out] UInt32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] public static void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] out Int32 uniformIndices) @@ -49363,7 +52729,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] public static - unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [Out] UInt32* uniformIndices) + unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32* uniformIndices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -49375,16 +52741,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] public static - unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32* uniformIndices) + void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32[] uniformIndices) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + { + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); + } + } #if DEBUG } #endif @@ -49411,26 +52782,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glGetUniformIndices")] - public static - void GetUniformIndices(Int32 program, Int32 uniformCount, String[] uniformNames, [Out] Int32[] uniformIndices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* uniformIndices_ptr = uniformIndices) - { - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices_ptr); - } - } - #if DEBUG - } - #endif - } - /// /// Returns the value of a uniform variable @@ -49450,119 +52801,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(UInt32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] - public static - unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -49604,6 +52843,123 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -49638,6 +52994,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) @@ -49673,6 +53030,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static @@ -49702,6 +53060,7 @@ namespace OpenTK.Graphics /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static Int32 GetUniformLocation(Int32 program, String name) @@ -49735,40 +53094,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -49810,6 +53136,42 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -49850,6 +53212,82 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -49884,6 +53322,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) @@ -49924,16 +53363,23 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params) + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + } + } #if DEBUG } #endif @@ -49958,6 +53404,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -49999,10 +53446,45 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50010,9 +53492,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -50039,21 +53522,17 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params_ptr); - } - } + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -50078,6 +53557,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -50119,46 +53599,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -50199,74 +53640,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) @@ -50287,6 +53661,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] public static @@ -50324,27 +53719,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetVertexAttribIiv")] public static @@ -50416,6 +53790,48 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) @@ -50455,10 +53871,11 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50489,6 +53906,48 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -50530,90 +53989,11 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static - void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] - public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -50644,261 +54024,7 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Return the address of the specified generic vertex attribute pointer - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be returned. - /// - /// - /// - /// - /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. - /// - /// - /// - /// - /// Returns the pointer value. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) @@ -50932,6 +54058,7 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static @@ -50975,6 +54102,129 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,,] pointer) @@ -51017,16 +54267,156 @@ namespace OpenTK.Graphics /// Returns the pointer value. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerType)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -51046,6 +54436,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glHint")] public static void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode) @@ -51084,6 +54475,7 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glHistogram")] public static void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -51110,6 +54502,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexd")] public static void Index(Double c) @@ -51136,6 +54529,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexdv")] public static @@ -51163,6 +54557,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexf")] public static void Index(Single c) @@ -51189,6 +54584,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexfv")] public static @@ -51216,6 +54612,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexi")] public static void Index(Int32 c) @@ -51242,6 +54639,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexiv")] public static @@ -51266,6 +54664,7 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] public static void IndexMask(Int32 mask) @@ -51289,6 +54688,7 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexMask")] public static @@ -51323,81 +54723,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] - public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of color indexes - /// - /// - /// - /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first index in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) @@ -51440,6 +54766,50 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) @@ -51482,6 +54852,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) @@ -51506,6 +54877,40 @@ namespace OpenTK.Graphics } + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Set the current color index /// @@ -51517,6 +54922,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexs")] public static void Index(Int16 c) @@ -51543,6 +54949,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIndexsv")] public static @@ -51570,6 +54977,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexub")] public static void Index(Byte c) @@ -51596,6 +55004,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glIndexubv")] public static @@ -51615,6 +55024,7 @@ namespace OpenTK.Graphics /// /// Initialize the name stack /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glInitNames")] public static void InitNames() @@ -51643,6 +55053,7 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) @@ -51680,6 +55091,45 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Simultaneously specify and enable several interleaved arrays + /// + /// + /// + /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. + /// + /// + /// + /// + /// Specifies the offset in bytes between each aggregate array element. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) @@ -51717,6 +55167,7 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) @@ -51754,6 +55205,7 @@ namespace OpenTK.Graphics /// Specifies the offset in bytes between each aggregate array element. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) @@ -51769,43 +55221,6 @@ namespace OpenTK.Graphics } - /// - /// Simultaneously specify and enable several interleaved arrays - /// - /// - /// - /// Specifies the type of array to enable. Symbolic constants GL_V2F, GL_V3F, GL_C4UB_V2F, GL_C4UB_V3F, GL_C3F_V3F, GL_N3F_V3F, GL_C4F_N3F_V3F, GL_T2F_V3F, GL_T4F_V4F, GL_T2F_C4UB_V3F, GL_T2F_C3F_V3F, GL_T2F_N3F_V3F, GL_T2F_C4F_N3F_V3F, and GL_T4F_C4F_N3F_V4F are accepted. - /// - /// - /// - /// - /// Specifies the offset in bytes between each aggregate array element. - /// - /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glInterleavedArrays")] - public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Determine if a name corresponds to a buffer object /// @@ -51814,9 +55229,11 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] public static - bool IsBuffer(Int32 buffer) + bool IsBuffer(UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51837,10 +55254,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a buffer object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsBuffer")] public static - bool IsBuffer(UInt32 buffer) + bool IsBuffer(Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51861,6 +55278,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glIsEnabled")] public static bool IsEnabled(OpenTK.Graphics.EnableCap cap) @@ -51884,6 +55302,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static bool IsEnabled(OpenTK.Graphics.IndexedEnableCap target, Int32 index) @@ -51907,6 +55326,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating a GL capability. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static @@ -51922,6 +55342,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] public static @@ -51937,20 +55371,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsFramebuffer")] - public static - bool IsFramebuffer(Int32 framebuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsFramebuffer((UInt32)framebuffer); - #if DEBUG - } - #endif - } - /// /// Determine if a name corresponds to a display list @@ -51960,9 +55380,11 @@ namespace OpenTK.Graphics /// Specifies a potential display list name. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] public static - bool IsList(Int32 list) + bool IsList(UInt32 list) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -51983,10 +55405,10 @@ namespace OpenTK.Graphics /// Specifies a potential display list name. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glIsList")] public static - bool IsList(UInt32 list) + bool IsList(Int32 list) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52007,9 +55429,11 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] public static - bool IsProgram(Int32 program) + bool IsProgram(UInt32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52030,10 +55454,10 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsProgram")] public static - bool IsProgram(UInt32 program) + bool IsProgram(Int32 program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52054,6 +55478,7 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] public static @@ -52078,6 +55503,7 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a query object. /// /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glIsQuery")] public static bool IsQuery(Int32 id) @@ -52092,6 +55518,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] public static @@ -52107,20 +55547,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ArbFramebufferObject", Version = "3.0", EntryPoint = "glIsRenderbuffer")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - #if DEBUG - } - #endif - } - /// /// Determines if a name corresponds to a shader object @@ -52130,30 +55556,7 @@ namespace OpenTK.Graphics /// Specifies a potential shader object. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] - public static - bool IsShader(UInt32 shader) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsShader((UInt32)shader); - #if DEBUG - } - #endif - } - - /// - /// Determines if a name corresponds to a shader object - /// - /// - /// - /// Specifies a potential shader object. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] public static bool IsShader(Int32 shader) @@ -52169,6 +55572,45 @@ namespace OpenTK.Graphics } + /// + /// Determines if a name corresponds to a shader object + /// + /// + /// + /// Specifies a potential shader object. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glIsShader")] + public static + bool IsShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glIsSync")] + public static + bool IsSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsSync((IntPtr)sync); + #if DEBUG + } + #endif + } + + /// /// Determine if a name corresponds to a texture /// @@ -52177,9 +55619,11 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] public static - bool IsTexture(Int32 texture) + bool IsTexture(UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52200,10 +55644,10 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glIsTexture")] public static - bool IsTexture(UInt32 texture) + bool IsTexture(Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52215,9 +55659,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] public static - bool IsVertexArray(Int32 array) + bool IsVertexArray(UInt32 array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52229,10 +55674,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexArrayObject", Version = "3.0", EntryPoint = "glIsVertexArray")] public static - bool IsVertexArray(UInt32 array) + bool IsVertexArray(Int32 array) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52263,6 +55707,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightf")] public static void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param) @@ -52296,6 +55741,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] public static @@ -52330,6 +55776,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightfv")] public static void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single[] @params) @@ -52369,6 +55816,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLighti")] public static void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param) @@ -52402,21 +55850,17 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] public static - void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params) + unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -52441,16 +55885,22 @@ namespace OpenTK.Graphics /// Specifies the value that parameter pname of light source light will be set to. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightiv")] public static - unsafe void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32* @params) + void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -52470,6 +55920,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelf")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param) @@ -52498,6 +55949,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] public static @@ -52527,6 +55979,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModelfv")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Single[] @params) @@ -52561,6 +56014,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeli")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param) @@ -52589,6 +56043,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] public static @@ -52618,6 +56073,7 @@ namespace OpenTK.Graphics /// Specifies the value that param will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLightModeliv")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32[] @params) @@ -52652,10 +56108,10 @@ namespace OpenTK.Graphics /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] public static - void LineStipple(Int32 factor, UInt16 pattern) + void LineStipple(Int32 factor, Int16 pattern) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52681,9 +56137,11 @@ namespace OpenTK.Graphics /// Specifies a 16-bit integer whose bit pattern determines which fragments of a line will be drawn when the line is rasterized. Bit zero is used first; the default pattern is all 1's. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLineStipple")] public static - void LineStipple(Int32 factor, Int16 pattern) + void LineStipple(Int32 factor, UInt16 pattern) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52704,6 +56162,7 @@ namespace OpenTK.Graphics /// Specifies the width of rasterized lines. The initial value is 1. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLineWidth")] public static void LineWidth(Single width) @@ -52727,6 +56186,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] public static @@ -52751,6 +56211,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be linked. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glLinkProgram")] public static void LinkProgram(Int32 program) @@ -52774,10 +56235,10 @@ namespace OpenTK.Graphics /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] public static - void ListBase(UInt32 @base) + void ListBase(Int32 @base) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52798,9 +56259,11 @@ namespace OpenTK.Graphics /// Specifies an integer offset that will be added to glCallLists offsets to generate display-list names. The initial value is 0. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glListBase")] public static - void ListBase(Int32 @base) + void ListBase(UInt32 @base) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52816,6 +56279,7 @@ namespace OpenTK.Graphics /// /// Replace the current matrix with the identity matrix /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadIdentity")] public static void LoadIdentity() @@ -52839,21 +56303,17 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static - void LoadMatrix(ref Double m) + unsafe void LoadMatrix(Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* m_ptr = &m) - { - Delegates.glLoadMatrixd((Double*)m_ptr); - } - } + Delegates.glLoadMatrixd((Double*)m); #if DEBUG } #endif @@ -52868,6 +56328,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static void LoadMatrix(Double[] m) @@ -52897,33 +56358,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static - unsafe void LoadMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] - public static - void LoadMatrix(ref Single m) + void LoadMatrix(ref Double m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -52931,9 +56369,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* m_ptr = &m) + fixed (Double* m_ptr = &m) { - Delegates.glLoadMatrixf((Single*)m_ptr); + Delegates.glLoadMatrixd((Double*)m_ptr); } } #if DEBUG @@ -52950,6 +56388,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static @@ -52974,6 +56413,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static void LoadMatrix(Single[] m) @@ -52995,6 +56435,36 @@ namespace OpenTK.Graphics } + /// + /// Replace the current matrix with the specified matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadMatrixf")] + public static + void LoadMatrix(ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glLoadMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Load a name onto the name stack /// @@ -53003,6 +56473,7 @@ namespace OpenTK.Graphics /// Specifies a name that will replace the top value on the name stack. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] public static @@ -53027,6 +56498,7 @@ namespace OpenTK.Graphics /// Specifies a name that will replace the top value on the name stack. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glLoadName")] public static void LoadName(Int32 name) @@ -53050,59 +56522,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - void LoadTransposeMatrix(Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glLoadTransposeMatrixd((Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] - public static - unsafe void LoadTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glLoadTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Replace the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static void LoadTransposeMatrix(ref Double m) @@ -53132,16 +56552,17 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static - unsafe void LoadTransposeMatrix(Single* m) + unsafe void LoadTransposeMatrix(Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glLoadTransposeMatrixf((Single*)m); + Delegates.glLoadTransposeMatrixd((Double*)m); #if DEBUG } #endif @@ -53156,6 +56577,67 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] + public static + void LoadTransposeMatrix(Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glLoadTransposeMatrixd((Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] + public static + void LoadTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glLoadTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static void LoadTransposeMatrix(ref Single m) @@ -53185,21 +56667,17 @@ namespace OpenTK.Graphics /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static - void LoadTransposeMatrix(Single[] m) + unsafe void LoadTransposeMatrix(Single* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glLoadTransposeMatrixf((Single*)m_ptr); - } - } + Delegates.glLoadTransposeMatrixf((Single*)m); #if DEBUG } #endif @@ -53214,6 +56692,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glLogicOp")] public static void LogicOp(OpenTK.Graphics.LogicOp opcode) @@ -53257,6 +56736,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] public static @@ -53301,55 +56781,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] - public static - void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Define a one-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. - /// - /// - /// - /// - /// Specifies the number of control points. Must be positive. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] public static void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) @@ -53399,6 +56831,57 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1d")] + public static + void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP1_INDEX, GL_MAP1_COLOR_4, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, and GL_MAP1_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord1, to u hat, the variable that is evaluated by the equations specified by this command. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of one control point and the beginning of the next one in the data structure referenced in points. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. + /// + /// + /// + /// + /// Specifies the number of control points. Must be positive. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] public static @@ -53443,9 +56926,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) + void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53453,7 +56937,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Single* points_ptr = points) { Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); } @@ -53492,9 +56976,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap1f")] public static - void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) + void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53502,7 +56987,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = points) + fixed (Single* points_ptr = &points) { Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr); } @@ -53556,70 +57041,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] - public static - void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = &points) - { - Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Define a two-dimensional evaluator - /// - /// - /// - /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. - /// - /// - /// - /// - /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. - /// - /// - /// - /// - /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. - /// - /// - /// - /// - /// Specifies a pointer to the array of control points. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] public static void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) @@ -53684,6 +57106,72 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] + public static + void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* points_ptr = &points) + { + Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional evaluator + /// + /// + /// + /// Specifies the kind of values that are generated by the evaluator. Symbolic constants GL_MAP2_VERTEX_3, GL_MAP2_VERTEX_4, GL_MAP2_INDEX, GL_MAP2_COLOR_4, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, and GL_MAP2_TEXTURE_COORD_4 are accepted. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to u hat, one of the two variables that are evaluated by the equations specified by this command. Initially, u1 is 0 and u2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { (i+1) j }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of ustride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specify a linear mapping of , as presented to glEvalCoord2, to v hat, one of the two variables that are evaluated by the equations specified by this command. Initially, v1 is 0 and v2 is 1. + /// + /// + /// + /// + /// Specifies the number of floats or doubles between the beginning of control point R sub ij and the beginning of control point R sub { i (j+1) }, where and are the and control point indices, respectively. This allows control points to be embedded in arbitrary data structures. The only constraint is that the values for a particular control point must occupy contiguous memory locations. The initial value of vstride is 0. + /// + /// + /// + /// + /// Specifies the dimension of the control point array in the axis. Must be positive. The initial value is 1. + /// + /// + /// + /// + /// Specifies a pointer to the array of control points. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2d")] public static @@ -53743,6 +57231,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] public static @@ -53802,9 +57291,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) + void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53812,7 +57302,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Single* points_ptr = points) { Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); } @@ -53866,9 +57356,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the array of control points. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMap2f")] public static - void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) + void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -53876,7 +57367,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = points) + fixed (Single* points_ptr = &points) { Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points_ptr); } @@ -53900,6 +57391,7 @@ namespace OpenTK.Graphics /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glMapBuffer")] public static @@ -53954,6 +57446,7 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1d")] public static void MapGrid1(Int32 un, Double u1, Double u2) @@ -53992,6 +57485,7 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid1f")] public static void MapGrid1(Int32 un, Single u1, Single u2) @@ -54030,6 +57524,7 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2d")] public static void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) @@ -54068,6 +57563,7 @@ namespace OpenTK.Graphics /// Specify the mappings for integer grid domain values j = 0 and j = vn (glMapGrid2 only). /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMapGrid2f")] public static void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) @@ -54101,6 +57597,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialf")] public static void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) @@ -54134,6 +57631,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] public static void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single[] @params) @@ -54173,6 +57671,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialfv")] public static @@ -54207,6 +57706,7 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMateriali")] public static void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) @@ -54240,21 +57740,17 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] public static - void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) + unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); - } - } + Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -54279,16 +57775,22 @@ namespace OpenTK.Graphics /// Specifies the value that parameter GL_SHININESS will be set to. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMaterialiv")] public static - unsafe void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params) + void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -54303,6 +57805,7 @@ namespace OpenTK.Graphics /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMatrixMode")] public static void MatrixMode(OpenTK.Graphics.MatrixMode mode) @@ -54336,6 +57839,7 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glMinmax")] public static void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -54350,6 +57854,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbSampleShading", Version = "1.2", EntryPoint = "glMinSampleShading")] + public static + void MinSampleShading(Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMinSampleShading((Single)value); + #if DEBUG + } + #endif + } + /// /// Render multiple sets of primitives from array data @@ -54374,6 +57892,47 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] + public static + unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] public static void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) @@ -54421,45 +57980,7 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] - public static - unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawArrays((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawArrays")] public static void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) @@ -54510,291 +58031,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static @@ -54848,50 +58085,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static @@ -54945,171 +58139,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static @@ -55163,9 +58193,110 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -55173,9 +58304,17 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* count_ptr = &count) + fixed (Int32* count_ptr = count) { - Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } } } #if DEBUG @@ -55212,6 +58351,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) @@ -55270,9 +58410,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -55300,6 +58441,794 @@ namespace OpenTK.Graphics } + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32[] basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32* basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, ref Int32 basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, ref Int32 basevertex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* basevertex_ptr = &basevertex) + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32*)basevertex_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbDrawElementsBaseVertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + public static + void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32[] basevertex) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* basevertex_ptr = basevertex) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.ArbDrawElementsBaseVertex)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32*)basevertex_ptr); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + /// /// Set the current texture coordinates /// @@ -55313,6 +59242,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) @@ -55341,6 +59271,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1dv")] public static @@ -55370,6 +59301,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) @@ -55398,6 +59330,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1fv")] public static @@ -55427,6 +59360,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) @@ -55455,6 +59389,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1iv")] public static @@ -55484,6 +59419,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) @@ -55512,6 +59448,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord1sv")] public static @@ -55541,6 +59478,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) @@ -55569,6 +59507,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static @@ -55598,6 +59537,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -55632,6 +59572,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -55666,6 +59607,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) @@ -55694,40 +59636,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static @@ -55757,6 +59666,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -55791,6 +59701,42 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) @@ -55819,40 +59765,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] - public static - void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static @@ -55882,6 +59795,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -55916,6 +59830,42 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] + public static + void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) @@ -55944,6 +59894,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] + public static + unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -55978,35 +59959,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] - public static - unsafe void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -56041,6 +59994,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) @@ -56069,6 +60023,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -56103,6 +60088,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -56137,35 +60123,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) @@ -56194,6 +60152,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -56228,6 +60217,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -56262,35 +60252,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) @@ -56319,6 +60281,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -56353,35 +60346,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -56416,6 +60381,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) @@ -56444,6 +60410,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] + public static + unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -56478,35 +60475,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] - public static - unsafe void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -56541,6 +60510,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) @@ -56569,6 +60539,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] + public static + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -56603,35 +60604,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] - public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -56666,6 +60639,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) @@ -56694,21 +60668,17 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); - } - } + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); #if DEBUG } #endif @@ -56728,6 +60698,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -56762,16 +60733,22 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single* v) + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -56791,6 +60768,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) @@ -56819,21 +60797,17 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) + unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); - } - } + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); #if DEBUG } #endif @@ -56853,6 +60827,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -56887,16 +60862,22 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static - unsafe void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32* v) + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -56916,6 +60897,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) @@ -56944,40 +60926,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] - public static - void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. - /// - /// - /// - /// - /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static @@ -57007,6 +60956,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -57028,6 +60978,41 @@ namespace OpenTK.Graphics } + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] + public static + void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Multiply the current matrix with the specified matrix /// @@ -57036,6 +61021,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(Double[] m) @@ -57065,6 +61051,32 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] + public static + unsafe void MultMatrix(Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultMatrixd((Double*)m); + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(ref Double m) @@ -57094,59 +61106,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixd")] - public static - unsafe void MultMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] - public static - void MultMatrix(Single[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = m) - { - Delegates.glMultMatrixf((Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] public static void MultMatrix(ref Single m) @@ -57176,6 +61136,37 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] + public static + void MultMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glMultMatrixf")] public static @@ -57200,21 +61191,17 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static - void MultTransposeMatrix(Double[] m) + unsafe void MultTransposeMatrix(Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMultTransposeMatrixd((Double*)m_ptr); - } - } + Delegates.glMultTransposeMatrixd((Double*)m); #if DEBUG } #endif @@ -57229,6 +61216,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static void MultTransposeMatrix(ref Double m) @@ -57258,33 +61246,10 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static - unsafe void MultTransposeMatrix(Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultTransposeMatrixd((Double*)m); - #if DEBUG - } - #endif - } - - - /// - /// Multiply the current matrix with the specified row-major ordered matrix - /// - /// - /// - /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. - /// - /// - [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] - public static - void MultTransposeMatrix(Single[] m) + void MultTransposeMatrix(Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57292,9 +61257,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* m_ptr = m) + fixed (Double* m_ptr = m) { - Delegates.glMultTransposeMatrixf((Single*)m_ptr); + Delegates.glMultTransposeMatrixd((Double*)m_ptr); } } #if DEBUG @@ -57311,6 +61276,7 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static void MultTransposeMatrix(ref Single m) @@ -57340,6 +61306,37 @@ namespace OpenTK.Graphics /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. /// /// + + [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] + public static + void MultTransposeMatrix(Single[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = m) + { + Delegates.glMultTransposeMatrixf((Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13Deprecated", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static @@ -57369,9 +61366,11 @@ namespace OpenTK.Graphics /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] public static - void NewList(Int32 list, OpenTK.Graphics.ListMode mode) + void NewList(UInt32 list, OpenTK.Graphics.ListMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57397,10 +61396,10 @@ namespace OpenTK.Graphics /// Specifies the compilation mode, which can be GL_COMPILE or GL_COMPILE_AND_EXECUTE. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNewList")] public static - void NewList(UInt32 list, OpenTK.Graphics.ListMode mode) + void NewList(Int32 list, OpenTK.Graphics.ListMode mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -57424,6 +61423,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3b")] public static @@ -57451,6 +61451,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3b")] public static void Normal3(Byte nx, Byte ny, Byte nz) @@ -57477,125 +61478,7 @@ namespace OpenTK.Graphics /// /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - void Normal3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glNormal3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] - public static - unsafe void Normal3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -57629,6 +61512,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] public static void Normal3(Byte[] v) @@ -57661,6 +61545,130 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + unsafe void Normal3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3bv")] + public static + void Normal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glNormal3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3d")] public static void Normal3(Double nx, Double ny, Double nz) @@ -57687,33 +61695,7 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] - public static - unsafe void Normal3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static void Normal3(ref Double v) @@ -57746,6 +61728,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] public static void Normal3(Double[] v) @@ -57778,6 +61761,35 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3dv")] + public static + unsafe void Normal3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3f")] public static void Normal3(Single nx, Single ny, Single nz) @@ -57804,6 +61816,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] public static void Normal3(Single[] v) @@ -57836,33 +61849,7 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] - public static - unsafe void Normal3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current normal vector - /// - /// - /// - /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). - /// - /// - /// - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] public static void Normal3(ref Single v) @@ -57895,6 +61882,35 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3fv")] + public static + unsafe void Normal3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3i")] public static void Normal3(Int32 nx, Int32 ny, Int32 nz) @@ -57921,6 +61937,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] public static @@ -57948,6 +61965,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] public static void Normal3(ref Int32 v) @@ -57980,6 +61998,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3iv")] public static void Normal3(Int32[] v) @@ -58012,6 +62031,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3s")] public static void Normal3(Int16 nx, Int16 ny, Int16 nz) @@ -58038,16 +62058,22 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] public static - unsafe void Normal3(Int16* v) + void Normal3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNormal3sv((Int16*)v); + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glNormal3sv((Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -58065,6 +62091,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] public static void Normal3(ref Int16 v) @@ -58097,21 +62124,17 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glNormal3sv")] public static - void Normal3(Int16[] v) + unsafe void Normal3(Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glNormal3sv((Int16*)v_ptr); - } - } + Delegates.glNormal3sv((Int16*)v); #if DEBUG } #endif @@ -58136,24 +62159,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) - where T2 : struct + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -58178,6 +62193,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) @@ -58220,39 +62236,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) @@ -58295,6 +62279,50 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glNormalPointer")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) @@ -58337,6 +62365,7 @@ namespace OpenTK.Graphics /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glOrtho")] public static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) @@ -58360,6 +62389,7 @@ namespace OpenTK.Graphics /// Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPassThrough")] public static void PassThrough(Single token) @@ -58393,6 +62423,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] public static @@ -58427,6 +62458,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values) @@ -58466,6 +62498,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapfv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values) @@ -58505,6 +62538,122 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = &values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* values_ptr = values) + { + Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -58545,6 +62694,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -58585,118 +62735,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt32* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* values_ptr = &values) - { - Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -58731,113 +62770,7 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] - public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* values_ptr = &values) - { - Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set up pixel transfer maps - /// - /// - /// - /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. - /// - /// - /// - /// - /// Specifies the size of the map being defined. - /// - /// - /// - /// - /// Specifies an array of mapsize values. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values) @@ -58877,10 +62810,81 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values) + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + unsafe void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -58888,7 +62892,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* values_ptr = values) + fixed (UInt16* values_ptr = &values) { Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); } @@ -58917,10 +62921,10 @@ namespace OpenTK.Graphics /// Specifies an array of mapsize values. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] public static - void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref UInt16 values) + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -58928,7 +62932,48 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt16* values_ptr = &values) + fixed (Int16* values_ptr = &values) + { + Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set up pixel transfer maps + /// + /// + /// + /// Specifies a symbolic map name. Must be one of the following: GL_PIXEL_MAP_I_TO_I, GL_PIXEL_MAP_S_TO_S, GL_PIXEL_MAP_I_TO_R, GL_PIXEL_MAP_I_TO_G, GL_PIXEL_MAP_I_TO_B, GL_PIXEL_MAP_I_TO_A, GL_PIXEL_MAP_R_TO_R, GL_PIXEL_MAP_G_TO_G, GL_PIXEL_MAP_B_TO_B, or GL_PIXEL_MAP_A_TO_A. + /// + /// + /// + /// + /// Specifies the size of the map being defined. + /// + /// + /// + /// + /// Specifies an array of mapsize values. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelMapusv")] + public static + void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, UInt16[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* values_ptr = values) { Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values_ptr); } @@ -58952,6 +62997,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStoref")] public static void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param) @@ -58980,6 +63026,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPixelStorei")] public static void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param) @@ -59011,6 +63058,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferf")] public static void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param) @@ -59042,6 +63090,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname is set to. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelTransferi")] public static void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param) @@ -59065,6 +63114,7 @@ namespace OpenTK.Graphics /// Specify the and zoom factors for pixel write operations. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPixelZoom")] public static void PixelZoom(Single xfactor, Single yfactor) @@ -59093,6 +63143,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterf")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param) @@ -59121,35 +63172,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] - public static - unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Single[] @params) @@ -59184,6 +63207,37 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterfv")] + public static + unsafe void PointParameter(OpenTK.Graphics.PointParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteri")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param) @@ -59212,6 +63266,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] public static @@ -59241,6 +63296,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteriv")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32[] @params) @@ -59270,6 +63326,7 @@ namespace OpenTK.Graphics /// Specifies the diameter of rasterized points. The initial value is 1. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPointSize")] public static void PointSize(Single size) @@ -59298,6 +63355,7 @@ namespace OpenTK.Graphics /// Specifies how polygons will be rasterized. Accepted values are GL_POINT, GL_LINE, and GL_FILL. The initial value is GL_FILL for both front- and back-facing polygons. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glPolygonMode")] public static void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode) @@ -59326,6 +63384,7 @@ namespace OpenTK.Graphics /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glPolygonOffset")] public static void PolygonOffset(Single factor, Single units) @@ -59349,6 +63408,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static void PolygonStipple(ref Byte mask) @@ -59378,6 +63438,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static void PolygonStipple(Byte[] mask) @@ -59407,6 +63468,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to a 32 times 32 stipple pattern that will be unpacked from memory in the same way that glDrawPixels unpacks pixels. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPolygonStipple")] public static @@ -59526,46 +63588,7 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static @@ -59607,6 +63630,90 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] + public static + void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + fixed (Single* priorities_ptr = priorities) + { + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static @@ -59641,46 +63748,7 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static @@ -59715,10 +63783,10 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPrioritizeTextures")] public static - void PrioritizeTextures(Int32 n, UInt32[] textures, Single[] priorities) + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -59726,8 +63794,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* textures_ptr = textures) - fixed (Single* priorities_ptr = priorities) + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) { Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); } @@ -59737,6 +63805,49 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.Version32 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.Version32)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version32", Version = "1.2", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.Version32)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbProvokingVertex", Version = "1.2", EntryPoint = "glProvokingVertex")] + public static + void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProvokingVertex((OpenTK.Graphics.ArbProvokingVertex)mode); + #if DEBUG + } + #endif + } + /// /// Push and pop the server attribute stack @@ -59746,6 +63857,7 @@ namespace OpenTK.Graphics /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushAttrib")] public static void PushAttrib(OpenTK.Graphics.AttribMask mask) @@ -59769,6 +63881,7 @@ namespace OpenTK.Graphics /// Specifies a mask that indicates which attributes to save. Values for mask are listed below. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glPushClientAttrib")] public static void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask) @@ -59787,6 +63900,7 @@ namespace OpenTK.Graphics /// /// Push and pop the current matrix stack /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushMatrix")] public static void PushMatrix() @@ -59810,6 +63924,7 @@ namespace OpenTK.Graphics /// Specifies a name that will be pushed onto the name stack. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] public static void PushName(Int32 name) @@ -59833,6 +63948,7 @@ namespace OpenTK.Graphics /// Specifies a name that will be pushed onto the name stack. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glPushName")] public static @@ -59857,6 +63973,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2d")] public static void RasterPos2(Double x, Double y) @@ -59880,6 +63997,32 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] + public static + unsafe void RasterPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static void RasterPos2(ref Double v) @@ -59909,6 +64052,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static void RasterPos2(Double[] v) @@ -59938,30 +64082,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2dv")] - public static - unsafe void RasterPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2f")] public static void RasterPos2(Single x, Single y) @@ -59985,59 +64106,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - unsafe void RasterPos2(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] - public static - void RasterPos2(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glRasterPos2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static void RasterPos2(Single[] v) @@ -60067,6 +64136,62 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + void RasterPos2(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glRasterPos2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2fv")] + public static + unsafe void RasterPos2(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2i")] public static void RasterPos2(Int32 x, Int32 y) @@ -60090,30 +64215,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] - public static - unsafe void RasterPos2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos2iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static void RasterPos2(ref Int32 v) @@ -60143,6 +64245,32 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] + public static + unsafe void RasterPos2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static void RasterPos2(Int32[] v) @@ -60172,6 +64300,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2s")] public static void RasterPos2(Int16 x, Int16 y) @@ -60195,6 +64324,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static @@ -60219,35 +64349,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] - public static - void RasterPos2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glRasterPos2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static void RasterPos2(Int16[] v) @@ -60277,6 +64379,37 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos2sv")] + public static + void RasterPos2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glRasterPos2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3d")] public static void RasterPos3(Double x, Double y, Double z) @@ -60300,59 +64433,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static - unsafe void RasterPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] - public static - void RasterPos3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glRasterPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static void RasterPos3(ref Double v) @@ -60382,6 +64463,62 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] + public static + void RasterPos3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glRasterPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3dv")] + public static + unsafe void RasterPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3f")] public static void RasterPos3(Single x, Single y, Single z) @@ -60405,35 +64542,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] - public static - void RasterPos3(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glRasterPos3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static void RasterPos3(ref Single v) @@ -60463,6 +64572,37 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] + public static + void RasterPos3(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glRasterPos3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static @@ -60487,6 +64627,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3i")] public static void RasterPos3(Int32 x, Int32 y, Int32 z) @@ -60510,6 +64651,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static void RasterPos3(ref Int32 v) @@ -60539,30 +64681,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] - public static - unsafe void RasterPos3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos3iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static void RasterPos3(Int32[] v) @@ -60592,6 +64711,32 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3iv")] + public static + unsafe void RasterPos3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3s")] public static void RasterPos3(Int16 x, Int16 y, Int16 z) @@ -60615,6 +64760,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static void RasterPos3(ref Int16 v) @@ -60644,6 +64790,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static void RasterPos3(Int16[] v) @@ -60673,6 +64820,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static @@ -60697,6 +64845,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4d")] public static void RasterPos4(Double x, Double y, Double z, Double w) @@ -60720,6 +64869,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static void RasterPos4(ref Double v) @@ -60749,6 +64899,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static void RasterPos4(Double[] v) @@ -60778,6 +64929,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static @@ -60802,6 +64954,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4f")] public static void RasterPos4(Single x, Single y, Single z, Single w) @@ -60825,6 +64978,32 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] + public static + unsafe void RasterPos4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(ref Single v) @@ -60854,6 +65033,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(Single[] v) @@ -60883,30 +65063,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4fv")] - public static - unsafe void RasterPos4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4i")] public static void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -60930,6 +65087,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static @@ -60954,35 +65112,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] - public static - void RasterPos4(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glRasterPos4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static void RasterPos4(ref Int32 v) @@ -61012,6 +65142,37 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4iv")] + public static + void RasterPos4(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glRasterPos4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4s")] public static void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -61035,6 +65196,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(Int16[] v) @@ -61064,30 +65226,7 @@ namespace OpenTK.Graphics /// Specify the , , , and object coordinates (if present) for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] - public static - unsafe void RasterPos4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRasterPos4sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position for pixel operations - /// - /// - /// - /// Specify the , , , and object coordinates (if present) for the raster position. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(ref Int16 v) @@ -61109,6 +65248,31 @@ namespace OpenTK.Graphics } + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRasterPos4sv")] + public static + unsafe void RasterPos4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRasterPos4sv((Int16*)v); + #if DEBUG + } + #endif + } + + /// /// Select a color buffer source for pixels /// @@ -61117,6 +65281,7 @@ namespace OpenTK.Graphics /// Specifies a color buffer. Accepted values are GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, and GL_AUXi, where i is between 0 and the value of GL_AUX_BUFFERS minus 1. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadBuffer")] public static void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode) @@ -61160,6 +65325,7 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) @@ -61212,15 +65378,25 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -61255,6 +65431,7 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) @@ -61307,24 +65484,16 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -61359,9 +65528,10 @@ namespace OpenTK.Graphics /// Returns the pixel data. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) where T6 : struct { #if DEBUG @@ -61396,6 +65566,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectd")] public static void Rect(Double x1, Double y1, Double x2, Double y2) @@ -61424,35 +65595,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] - public static - unsafe void Rect(Double* v1, Double* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectdv((Double*)v1, (Double*)v2); - #if DEBUG - } - #endif - } - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static void Rect(ref Double v1, ref Double v2) @@ -61488,6 +65631,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] public static void Rect(Double[] v1, Double[] v2) @@ -61523,6 +65667,37 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectdv")] + public static + unsafe void Rect(Double* v1, Double* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectdv((Double*)v1, (Double*)v2); + #if DEBUG + } + #endif + } + + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectf")] public static void Rect(Single x1, Single y1, Single x2, Single y2) @@ -61551,70 +65726,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] - public static - unsafe void Rect(Single* v1, Single* v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRectfv((Single*)v1, (Single*)v2); - #if DEBUG - } - #endif - } - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] - public static - void Rect(ref Single v1, ref Single v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v1_ptr = &v1) - fixed (Single* v2_ptr = &v2) - { - Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] public static void Rect(Single[] v1, Single[] v2) @@ -61650,6 +65762,73 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] + public static + void Rect(ref Single v1, ref Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v1_ptr = &v1) + fixed (Single* v2_ptr = &v2) + { + Delegates.glRectfv((Single*)v1_ptr, (Single*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectfv")] + public static + unsafe void Rect(Single* v1, Single* v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRectfv((Single*)v1, (Single*)v2); + #if DEBUG + } + #endif + } + + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRecti")] public static void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) @@ -61678,41 +65857,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] - public static - void Rect(ref Int32 v1, ref Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v1_ptr = &v1) - fixed (Int32* v2_ptr = &v2) - { - Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Draw a rectangle - /// - /// - /// - /// Specify one vertex of a rectangle. - /// - /// - /// - /// - /// Specify the opposite vertex of the rectangle. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static void Rect(Int32[] v1, Int32[] v2) @@ -61748,6 +65893,43 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] + public static + void Rect(ref Int32 v1, ref Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v1_ptr = &v1) + fixed (Int32* v2_ptr = &v2) + { + Delegates.glRectiv((Int32*)v1_ptr, (Int32*)v2_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectiv")] public static @@ -61791,22 +65973,17 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - void Rect(Int16[] v1, Int16[] v2) + unsafe void Rect(Int16* v1, Int16* v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v1_ptr = v1) - fixed (Int16* v2_ptr = v2) - { - Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); - } - } + Delegates.glRectsv((Int16*)v1, (Int16*)v2); #if DEBUG } #endif @@ -61826,6 +66003,7 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static void Rect(ref Int16 v1, ref Int16 v2) @@ -61861,16 +66039,23 @@ namespace OpenTK.Graphics /// Specify the opposite vertex of the rectangle. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRectsv")] public static - unsafe void Rect(Int16* v1, Int16* v2) + void Rect(Int16[] v1, Int16[] v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glRectsv((Int16*)v1, (Int16*)v2); + unsafe + { + fixed (Int16* v1_ptr = v1) + fixed (Int16* v2_ptr = v2) + { + Delegates.glRectsv((Int16*)v1_ptr, (Int16*)v2_ptr); + } + } #if DEBUG } #endif @@ -61913,6 +66098,7 @@ namespace OpenTK.Graphics /// Specifies the rasterization mode. Three values are accepted: GL_RENDER, GL_SELECT, and GL_FEEDBACK. The initial value is GL_RENDER. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRenderMode")] public static Int32 RenderMode(OpenTK.Graphics.RenderingMode mode) @@ -61936,6 +66122,7 @@ namespace OpenTK.Graphics /// Must be GL_HISTOGRAM. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetHistogram")] public static void ResetHistogram(OpenTK.Graphics.Version12Deprecated target) @@ -61959,6 +66146,7 @@ namespace OpenTK.Graphics /// Must be GL_MINMAX. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glResetMinmax")] public static void ResetMinmax(OpenTK.Graphics.Version12Deprecated target) @@ -61987,6 +66175,7 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a vector, respectively. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotated")] public static void Rotate(Double angle, Double x, Double y, Double z) @@ -62015,6 +66204,7 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a vector, respectively. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glRotatef")] public static void Rotate(Single angle, Single x, Single y, Single z) @@ -62043,6 +66233,7 @@ namespace OpenTK.Graphics /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE. /// /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glSampleCoverage")] public static void SampleCoverage(Single value, bool invert) @@ -62057,6 +66248,35 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glSampleMaski")] + public static + void SampleMask(Int32 index, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glSampleMaski")] + public static + void SampleMask(UInt32 index, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + #if DEBUG + } + #endif + } + /// /// Multiply the current matrix by a general scaling matrix @@ -62066,6 +66286,7 @@ namespace OpenTK.Graphics /// Specify scale factors along the x, y, and z axes, respectively. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScaled")] public static void Scale(Double x, Double y, Double z) @@ -62089,6 +66310,7 @@ namespace OpenTK.Graphics /// Specify scale factors along the x, y, and z axes, respectively. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glScalef")] public static void Scale(Single x, Single y, Single z) @@ -62117,6 +66339,7 @@ namespace OpenTK.Graphics /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glScissor")] public static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) @@ -62140,6 +66363,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3b")] public static @@ -62164,60 +66388,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - void SecondaryColor3(ref SByte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = &v) - { - Delegates.glSecondaryColor3bv((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] - public static - unsafe void SecondaryColor3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3bv((SByte*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] public static @@ -62248,6 +66419,63 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + unsafe void SecondaryColor3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3bv((SByte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] + public static + void SecondaryColor3(ref SByte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = &v) + { + Delegates.glSecondaryColor3bv((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3d")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -62271,59 +66499,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glSecondaryColor3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] - public static - unsafe void SecondaryColor3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static void SecondaryColor3(ref Double v) @@ -62353,6 +66529,62 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + void SecondaryColor3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glSecondaryColor3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] + public static + unsafe void SecondaryColor3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3f")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -62376,21 +66608,17 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static - void SecondaryColor3(Single[] v) + unsafe void SecondaryColor3(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glSecondaryColor3fv((Single*)v_ptr); - } - } + Delegates.glSecondaryColor3fv((Single*)v); #if DEBUG } #endif @@ -62405,6 +66633,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static void SecondaryColor3(ref Single v) @@ -62434,16 +66663,22 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static - unsafe void SecondaryColor3(Single* v) + void SecondaryColor3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3fv((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glSecondaryColor3fv((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -62458,6 +66693,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3i")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -62481,21 +66717,17 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static - void SecondaryColor3(Int32[] v) + unsafe void SecondaryColor3(Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glSecondaryColor3iv((Int32*)v_ptr); - } - } + Delegates.glSecondaryColor3iv((Int32*)v); #if DEBUG } #endif @@ -62510,6 +66742,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static void SecondaryColor3(ref Int32 v) @@ -62539,16 +66772,22 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static - unsafe void SecondaryColor3(Int32* v) + void SecondaryColor3(Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3iv((Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glSecondaryColor3iv((Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -62563,6 +66802,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3s")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -62586,6 +66826,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(Int16[] v) @@ -62615,6 +66856,32 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] + public static + unsafe void SecondaryColor3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(ref Int16 v) @@ -62644,30 +66911,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] - public static - unsafe void SecondaryColor3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -62691,6 +66935,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static @@ -62715,6 +66960,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static void SecondaryColor3(ref Byte v) @@ -62744,6 +66990,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static void SecondaryColor3(Byte[] v) @@ -62773,6 +67020,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] public static @@ -62797,36 +67045,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] - public static - void SecondaryColor3(UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -62851,6 +67070,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -62881,6 +67101,38 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] + public static + void SecondaryColor3(UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glSecondaryColor3uiv((UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3us")] public static @@ -62905,6 +67157,38 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] + public static + void SecondaryColor3(UInt16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glSecondaryColor3usv((UInt16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -62929,6 +67213,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -62951,36 +67236,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] - public static - void SecondaryColor3(UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glSecondaryColor3usv((UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// /// Define an array of secondary colors /// @@ -63004,138 +67259,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) @@ -63183,6 +67307,94 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) @@ -63207,6 +67419,54 @@ namespace OpenTK.Graphics } + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Establish a buffer for selection mode values /// @@ -63220,22 +67480,17 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static - void SelectBuffer(Int32 size, [Out] out Int32 buffer) + unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* buffer_ptr = &buffer) - { - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - buffer = *buffer_ptr; - } - } + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); #if DEBUG } #endif @@ -63255,6 +67510,7 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static @@ -63284,6 +67540,43 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] + public static + void SelectBuffer(Int32 size, [Out] UInt32[] buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffer_ptr = buffer) + { + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Establish a buffer for selection mode values + /// + /// + /// + /// Specifies the size of buffer. + /// + /// + /// + /// + /// Returns the selection data. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static void SelectBuffer(Int32 size, [Out] Int32[] buffer) @@ -63318,6 +67611,7 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static @@ -63354,10 +67648,10 @@ namespace OpenTK.Graphics /// Returns the selection data. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] public static - void SelectBuffer(Int32 size, [Out] UInt32[] buffer) + void SelectBuffer(Int32 size, [Out] out Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -63365,152 +67659,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* buffer_ptr = buffer) + fixed (Int32* buffer_ptr = &buffer) { Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Establish a buffer for selection mode values - /// - /// - /// - /// Specifies the size of buffer. - /// - /// - /// - /// - /// Returns the selection data. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glSelectBuffer")] - public static - unsafe void SelectBuffer(Int32 size, [Out] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32[] counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - unsafe void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] Int32* counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] out UInt32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")] - public static - void SelectPerfMonitorCountersAMD(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [Out] out Int32 counterList) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* counterList_ptr = &counterList) - { - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr); - counterList = *counterList_ptr; + buffer = *buffer_ptr; } } #if DEBUG @@ -63562,143 +67714,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) @@ -63766,9 +67782,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) where T7 : struct { #if DEBUG @@ -63833,6 +67850,66 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) @@ -63900,6 +67977,146 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) @@ -63970,64 +68187,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] - public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12Deprecated)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) @@ -64098,9 +68258,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + [AutoGenerated(Category = "Version12Deprecated", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) where T6 : struct where T7 : struct { @@ -64133,6 +68294,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glShadeModel")] public static void ShadeModel(OpenTK.Graphics.ShadingModel mode) @@ -64171,6 +68333,47 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static @@ -64216,6 +68419,7 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) @@ -64260,6 +68464,7 @@ namespace OpenTK.Graphics /// Specifies an array of string lengths. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static @@ -64276,45 +68481,6 @@ namespace OpenTK.Graphics } - /// - /// Replaces the source code in a shader object - /// - /// - /// - /// Specifies the handle of the shader object whose source code is to be replaced. - /// - /// - /// - /// - /// Specifies the number of elements in the string and length arrays. - /// - /// - /// - /// - /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. - /// - /// - /// - /// - /// Specifies an array of string lengths. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] - public static - unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - #if DEBUG - } - #endif - } - - /// /// Set front and back function and reference value for stencil testing /// @@ -64333,10 +68499,10 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) + void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64367,9 +68533,11 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilFunc")] public static - void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) + void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64405,6 +68573,7 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static @@ -64444,6 +68613,7 @@ namespace OpenTK.Graphics /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilFuncSeparate")] public static void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, Int32 mask) @@ -64467,9 +68637,11 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] public static - void StencilMask(Int32 mask) + void StencilMask(UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64490,10 +68662,10 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilMask")] public static - void StencilMask(UInt32 mask) + void StencilMask(Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64519,10 +68691,10 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask) + void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64548,9 +68720,11 @@ namespace OpenTK.Graphics /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilMaskSeparate")] public static - void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, Int32 mask) + void StencilMaskSeparate(OpenTK.Graphics.StencilFace face, UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -64581,6 +68755,7 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glStencilOp")] public static void StencilOp(OpenTK.Graphics.StencilOp fail, OpenTK.Graphics.StencilOp zfail, OpenTK.Graphics.StencilOp zpass) @@ -64619,6 +68794,7 @@ namespace OpenTK.Graphics /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glStencilOpSeparate")] public static void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) @@ -64633,34 +68809,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")] - public static - void TessellationFactorAMD(Single factor) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationFactorAMD((Single)factor); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")] - public static - void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTessellationModeAMD((OpenTK.Graphics.AmdVertexShaderTesselator)mode); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")] public static void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer) @@ -64699,6 +68847,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1d")] public static void TexCoord1(Double s) @@ -64722,6 +68871,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1dv")] public static @@ -64746,6 +68896,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1f")] public static void TexCoord1(Single s) @@ -64769,6 +68920,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1fv")] public static @@ -64793,6 +68945,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1i")] public static void TexCoord1(Int32 s) @@ -64816,6 +68969,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1iv")] public static @@ -64840,6 +68994,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1s")] public static void TexCoord1(Int16 s) @@ -64863,6 +69018,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord1sv")] public static @@ -64887,6 +69043,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2d")] public static void TexCoord2(Double s, Double t) @@ -64910,6 +69067,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static @@ -64934,35 +69092,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] - public static - void TexCoord2(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glTexCoord2dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static void TexCoord2(ref Double v) @@ -64992,6 +69122,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2dv")] + public static + void TexCoord2(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glTexCoord2dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2f")] public static void TexCoord2(Single s, Single t) @@ -65015,21 +69176,17 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static - void TexCoord2(Single[] v) + unsafe void TexCoord2(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fv((Single*)v_ptr); - } - } + Delegates.glTexCoord2fv((Single*)v); #if DEBUG } #endif @@ -65044,6 +69201,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static void TexCoord2(ref Single v) @@ -65073,16 +69231,22 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static - unsafe void TexCoord2(Single* v) + void TexCoord2(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord2fv((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fv((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -65097,6 +69261,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2i")] public static void TexCoord2(Int32 s, Int32 t) @@ -65120,6 +69285,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static @@ -65144,35 +69310,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] - public static - void TexCoord2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glTexCoord2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static void TexCoord2(ref Int32 v) @@ -65202,6 +69340,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2iv")] + public static + void TexCoord2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glTexCoord2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2s")] public static void TexCoord2(Int16 s, Int16 t) @@ -65225,59 +69394,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - void TexCoord2(ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glTexCoord2sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] - public static - unsafe void TexCoord2(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2sv((Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static void TexCoord2(Int16[] v) @@ -65307,6 +69424,62 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + void TexCoord2(ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glTexCoord2sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord2sv")] + public static + unsafe void TexCoord2(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3d")] public static void TexCoord3(Double s, Double t, Double r) @@ -65330,59 +69503,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - void TexCoord3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] - public static - unsafe void TexCoord3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static void TexCoord3(Double[] v) @@ -65412,6 +69533,62 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + unsafe void TexCoord3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3dv")] + public static + void TexCoord3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3f")] public static void TexCoord3(Single s, Single t, Single r) @@ -65435,35 +69612,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] - public static - void TexCoord3(ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord3fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static void TexCoord3(Single[] v) @@ -65493,6 +69642,37 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] + public static + void TexCoord3(ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord3fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static @@ -65517,6 +69697,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3i")] public static void TexCoord3(Int32 s, Int32 t, Int32 r) @@ -65540,59 +69721,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - unsafe void TexCoord3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord3iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] - public static - void TexCoord3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static void TexCoord3(Int32[] v) @@ -65622,6 +69751,62 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + void TexCoord3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3iv")] + public static + unsafe void TexCoord3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3s")] public static void TexCoord3(Int16 s, Int16 t, Int16 r) @@ -65645,6 +69830,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static @@ -65669,6 +69855,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static void TexCoord3(ref Int16 v) @@ -65698,6 +69885,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static void TexCoord3(Int16[] v) @@ -65727,6 +69915,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4d")] public static void TexCoord4(Double s, Double t, Double r, Double q) @@ -65750,59 +69939,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - unsafe void TexCoord4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] - public static - void TexCoord4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glTexCoord4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static void TexCoord4(Double[] v) @@ -65832,6 +69969,62 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + unsafe void TexCoord4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4dv")] + public static + void TexCoord4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glTexCoord4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4f")] public static void TexCoord4(Single s, Single t, Single r, Single q) @@ -65855,30 +70048,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] - public static - unsafe void TexCoord4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(ref Single v) @@ -65908,6 +70078,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(Single[] v) @@ -65937,6 +70108,32 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4fv")] + public static + unsafe void TexCoord4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4i")] public static void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) @@ -65960,59 +70157,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - unsafe void TexCoord4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] - public static - void TexCoord4(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glTexCoord4iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static void TexCoord4(Int32[] v) @@ -66042,6 +70187,62 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + void TexCoord4(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glTexCoord4iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4iv")] + public static + unsafe void TexCoord4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4s")] public static void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) @@ -66065,6 +70266,32 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] + public static + unsafe void TexCoord4(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static void TexCoord4(ref Int16 v) @@ -66094,6 +70321,7 @@ namespace OpenTK.Graphics /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static void TexCoord4(Int16[] v) @@ -66115,30 +70343,6 @@ namespace OpenTK.Graphics } - /// - /// Set the current texture coordinates - /// - /// - /// - /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexCoord4sv")] - public static - unsafe void TexCoord4(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// /// Define an array of texture coordinates /// @@ -66162,53 +70366,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) @@ -66256,6 +70414,94 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) @@ -66303,47 +70549,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) where T3 : struct { #if DEBUG @@ -66383,6 +70592,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvf")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) @@ -66416,6 +70626,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvfv")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single[] @params) @@ -66455,6 +70666,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvfv")] public static @@ -66489,6 +70701,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnvi")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) @@ -66522,6 +70735,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnviv")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32[] @params) @@ -66561,6 +70775,7 @@ namespace OpenTK.Graphics /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexEnviv")] public static @@ -66609,6 +70824,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) @@ -66648,40 +70864,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] - public static - unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - /// - /// Control the generation of texture coordinates - /// - /// - /// - /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. - /// - /// - /// - /// - /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. - /// - /// - /// - /// - /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) @@ -66721,6 +70904,42 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGendv")] + public static + unsafe void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Control the generation of texture coordinates + /// + /// + /// + /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q. + /// + /// + /// + /// + /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE. + /// + /// + /// + /// + /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenf")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) @@ -66754,6 +70973,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenfv")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single[] @params) @@ -66793,6 +71013,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGenfv")] public static @@ -66827,6 +71048,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeni")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) @@ -66860,6 +71082,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static @@ -66894,6 +71117,7 @@ namespace OpenTK.Graphics /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTexGeniv")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32[] @params) @@ -66958,131 +71182,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] - public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a one-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) @@ -67150,6 +71250,143 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) @@ -67217,24 +71454,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) - where T7 : struct + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -67289,6 +71518,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) @@ -67361,6 +71591,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) @@ -67433,6 +71664,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -67496,6 +71801,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] public static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) @@ -67519,73 +71825,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specify a two-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexImage2D")] + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glTexImage2DMultisample")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct + void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glTexImage2DMultisample((OpenTK.Graphics.ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); #if DEBUG } #endif @@ -67645,151 +71893,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) @@ -67867,9 +71971,79 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -67944,9 +72118,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -67968,6 +72143,98 @@ namespace OpenTK.Graphics } + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbTextureMultisample", Version = "1.2", EntryPoint = "glTexImage3DMultisample")] + public static + void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DMultisample((OpenTK.Graphics.ArbTextureMultisample)target, (Int32)samples, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + #if DEBUG + } + #endif + } + + /// /// Set texture parameters /// @@ -67986,6 +72253,7 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterf")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) @@ -68019,6 +72287,42 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) @@ -68058,40 +72362,7 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameterfv")] - public static - unsafe void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Set texture parameters - /// - /// - /// - /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. - /// - /// - /// - /// - /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. - /// - /// - /// - /// - /// Specifies the value of pname. - /// - /// [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteri")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) @@ -68161,21 +72432,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] public static @@ -68218,6 +72474,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTexParameterIuiv")] + public static + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIuiv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + /// /// Set texture parameters @@ -68237,6 +72508,7 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] public static @@ -68271,6 +72543,7 @@ namespace OpenTK.Graphics /// Specifies the value of pname. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glTexParameteriv")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) @@ -68330,9 +72603,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) where T6 : struct { #if DEBUG @@ -68392,68 +72666,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -68507,6 +72720,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) @@ -68569,9 +72783,73 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) where T6 : struct { #if DEBUG @@ -68641,6 +72919,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) @@ -68713,150 +72992,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) @@ -68929,6 +73065,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -68944,6 +73154,79 @@ namespace OpenTK.Graphics } + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "Version11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture subimage /// @@ -69002,6 +73285,81 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) @@ -69084,82 +73442,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) where T10 : struct { #if DEBUG @@ -69239,6 +73525,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) @@ -69321,9 +73608,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) where T10 : struct { #if DEBUG @@ -69344,9 +73632,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static - void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -69358,10 +73647,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glTransformFeedbackVaryings")] public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -69382,6 +73670,7 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a translation vector. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslated")] public static void Translate(Double x, Double y, Double z) @@ -69405,6 +73694,7 @@ namespace OpenTK.Graphics /// Specify the x, y, and z coordinates of a translation vector. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glTranslatef")] public static void Translate(Single x, Single y, Single z) @@ -69433,6 +73723,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1f")] public static void Uniform1(Int32 location, Single v0) @@ -69461,35 +73752,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static void Uniform1(Int32 location, Int32 count, Single[] value) @@ -69524,6 +73787,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -69558,6 +73852,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1i")] public static void Uniform1(Int32 location, Int32 v0) @@ -69586,69 +73881,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -69683,6 +73916,72 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1ui")] public static @@ -69712,6 +74011,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -69747,6 +74047,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -69782,35 +74113,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] - public static - unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2f")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -69839,40 +74142,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] - public static - void Uniform2(Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] public static @@ -69902,6 +74172,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] public static void Uniform2(Int32 location, Int32 count, ref Single value) @@ -69936,6 +74207,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2i")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -69964,35 +74271,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] public static void Uniform2(Int32 location, Int32 count, Int32[] value) @@ -70027,6 +74306,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2iv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2ui")] public static @@ -70056,70 +74366,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - void Uniform2(Int32 location, Int32 count, ref UInt32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = &value) - { - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] public static @@ -70155,6 +74402,73 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2uiv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3f")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -70183,6 +74497,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -70217,6 +74532,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static @@ -70246,6 +74562,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, Single[] value) @@ -70280,6 +74597,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3i")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -70308,35 +74626,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] - public static - unsafe void Uniform3(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -70371,6 +74661,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -70405,6 +74696,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3ui")] public static @@ -70434,22 +74756,17 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static - void Uniform3(Int32 location, Int32 count, UInt32[] value) + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); #if DEBUG } #endif @@ -70469,6 +74786,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -70504,16 +74822,23 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static - unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + void Uniform3(Int32 location, Int32 count, UInt32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } #if DEBUG } #endif @@ -70533,6 +74858,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4f")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -70561,6 +74887,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -70595,35 +74952,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, Single[] value) @@ -70658,6 +74987,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4i")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -70686,6 +75016,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static void Uniform4(Int32 location, Int32 count, ref Int32 value) @@ -70720,6 +75081,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -70754,35 +75116,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4ui")] public static @@ -70812,41 +75146,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] - public static - void Uniform4(Int32 location, Int32 count, UInt32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* value_ptr = value) - { - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -70876,6 +75176,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -70897,9 +75198,46 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] public static - void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) + void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70911,10 +75249,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbUniformBufferObject", Version = "2.0", EntryPoint = "glUniformBlockBinding")] public static - void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -70981,6 +75318,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] public static void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) @@ -71021,31 +75373,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x3fv")] - public static - unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] public static - unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -71071,21 +75413,31 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix2x4fv")] public static - void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif @@ -71111,21 +75463,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] - public static - unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix3fv")] public static void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) @@ -71146,26 +75483,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] - public static - void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] public static @@ -71201,6 +75518,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] public static @@ -71218,7 +75555,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -71226,7 +75563,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -71238,7 +75575,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix3x4fv")] public static - void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -71246,7 +75583,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -71276,6 +75613,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] public static void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) @@ -71297,35 +75649,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniformMatrix4fv")] - public static - unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] public static - void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif @@ -71351,16 +75683,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version21", Version = "2.1", EntryPoint = "glUniformMatrix4x2fv")] public static - unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -71444,6 +75781,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] public static void UseProgram(Int32 program) @@ -71467,6 +75805,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object whose executables are to be used as part of current rendering state. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUseProgram")] public static @@ -71491,6 +75830,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glValidateProgram")] public static @@ -71515,6 +75855,7 @@ namespace OpenTK.Graphics /// Specifies the handle of the program object to be validated. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glValidateProgram")] public static void ValidateProgram(Int32 program) @@ -71538,6 +75879,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2d")] public static void Vertex2(Double x, Double y) @@ -71561,6 +75903,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(Double[] v) @@ -71590,30 +75933,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] - public static - unsafe void Vertex2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(ref Double v) @@ -71643,6 +75963,32 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2dv")] + public static + unsafe void Vertex2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2f")] public static void Vertex2(Single x, Single y) @@ -71666,6 +76012,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] public static @@ -71690,35 +76037,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] - public static - void Vertex2(Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertex2fv((Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] public static void Vertex2(ref Single v) @@ -71748,6 +76067,37 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2fv")] + public static + void Vertex2(Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertex2fv((Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2i")] public static void Vertex2(Int32 x, Int32 y) @@ -71771,6 +76121,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] public static void Vertex2(ref Int32 v) @@ -71800,30 +76151,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] - public static - unsafe void Vertex2(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] public static void Vertex2(Int32[] v) @@ -71853,6 +76181,32 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2iv")] + public static + unsafe void Vertex2(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2s")] public static void Vertex2(Int16 x, Int16 y) @@ -71876,6 +76230,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] public static void Vertex2(ref Int16 v) @@ -71905,6 +76260,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] public static @@ -71929,6 +76285,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex2sv")] public static void Vertex2(Int16[] v) @@ -71958,6 +76315,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3d")] public static void Vertex3(Double x, Double y, Double z) @@ -71981,59 +76339,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - void Vertex3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] - public static - unsafe void Vertex3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] public static void Vertex3(Double[] v) @@ -72063,6 +76369,62 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + unsafe void Vertex3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3dv")] + public static + void Vertex3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3f")] public static void Vertex3(Single x, Single y, Single z) @@ -72086,6 +76448,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] public static @@ -72110,6 +76473,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(ref Single v) @@ -72139,6 +76503,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(Single[] v) @@ -72168,6 +76533,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3i")] public static void Vertex3(Int32 x, Int32 y, Int32 z) @@ -72191,59 +76557,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - unsafe void Vertex3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] - public static - void Vertex3(ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertex3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] public static void Vertex3(Int32[] v) @@ -72273,6 +76587,62 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + unsafe void Vertex3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3iv")] + public static + void Vertex3(ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertex3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3s")] public static void Vertex3(Int16 x, Int16 y, Int16 z) @@ -72296,30 +76666,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] - public static - unsafe void Vertex3(Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex3sv((Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] public static void Vertex3(ref Int16 v) @@ -72349,6 +76696,32 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] + public static + unsafe void Vertex3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex3sv((Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex3sv")] public static void Vertex3(Int16[] v) @@ -72378,6 +76751,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4d")] public static void Vertex4(Double x, Double y, Double z, Double w) @@ -72401,59 +76775,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - void Vertex4(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertex4dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] - public static - unsafe void Vertex4(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4dv((Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] public static void Vertex4(Double[] v) @@ -72483,6 +76805,62 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + void Vertex4(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertex4dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4dv")] + public static + unsafe void Vertex4(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4f")] public static void Vertex4(Single x, Single y, Single z, Single w) @@ -72506,30 +76884,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] - public static - unsafe void Vertex4(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4fv((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(ref Single v) @@ -72559,6 +76914,32 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] + public static + unsafe void Vertex4(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4fv((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(Single[] v) @@ -72588,6 +76969,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4i")] public static void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -72611,6 +76993,32 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] + public static + unsafe void Vertex4(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4iv((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] public static void Vertex4(ref Int32 v) @@ -72640,30 +77048,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] - public static - unsafe void Vertex4(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4iv((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4iv")] public static void Vertex4(Int32[] v) @@ -72693,6 +77078,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4s")] public static void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -72716,35 +77102,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// - [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] - public static - void Vertex4(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertex4sv((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify a vertex - /// - /// - /// - /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. - /// - /// [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] public static void Vertex4(ref Int16 v) @@ -72774,6 +77132,7 @@ namespace OpenTK.Graphics /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] public static @@ -72790,6 +77149,36 @@ namespace OpenTK.Graphics } + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// + + [AutoGenerated(Category = "Version10Deprecated", Version = "1.0", EntryPoint = "glVertex4sv")] + public static + void Vertex4(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertex4sv((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + /// /// Specifies the value of a generic vertex attribute /// @@ -72803,6 +77192,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] public static @@ -72832,6 +77222,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] public static void VertexAttrib1(Int32 index, Double x) @@ -72860,6 +77251,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] public static @@ -72889,6 +77281,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1dv")] public static @@ -72918,34 +77311,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] public static @@ -72975,6 +77341,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static @@ -73004,6 +77400,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] public static @@ -73033,6 +77430,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] public static @@ -73062,6 +77460,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] public static void VertexAttrib1(Int32 index, Int16 x) @@ -73090,6 +77489,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static @@ -73119,6 +77519,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1sv")] public static @@ -73148,6 +77549,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -73176,6 +77578,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static @@ -73205,132 +77608,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -73366,6 +77644,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -73401,6 +77715,131 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] + public static + void VertexAttrib2(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(Int32 index, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] public static @@ -73430,34 +77869,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] - public static - void VertexAttrib2(Int32 index, Single x, Single y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -73492,6 +77904,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -73521,6 +77934,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -73556,6 +78000,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -73591,16 +78071,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static - unsafe void VertexAttrib2(Int32 index, Single* v) + void VertexAttrib2(Int32 index, Int16 x, Int16 y) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); #if DEBUG } #endif @@ -73620,40 +78100,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static @@ -73683,126 +78130,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] - public static - void VertexAttrib2(Int32 index, Int16 x, Int16 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - void VertexAttrib2(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -73838,6 +78166,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -73873,9 +78237,70 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static - void VertexAttrib2(Int32 index, Int16[] v) + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] + public static + void VertexAttrib2(Int32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -73883,7 +78308,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v_ptr); } @@ -73907,6 +78332,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] + public static + void VertexAttrib3(Int32 index, Double x, Double y, Double z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] public static @@ -73936,97 +78391,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] - public static - void VertexAttrib3(Int32 index, Double x, Double y, Double z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -74061,22 +78426,17 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static - void VertexAttrib3(UInt32 index, ref Double v) + unsafe void VertexAttrib3(UInt32 index, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); - } - } + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); #if DEBUG } #endif @@ -74096,6 +78456,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -74125,6 +78486,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -74160,6 +78522,107 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] + public static + void VertexAttrib3(UInt32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(Int32 index, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] public static @@ -74189,92 +78652,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] - public static - void VertexAttrib3(Int32 index, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] - public static - unsafe void VertexAttrib3(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -74309,6 +78687,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -74344,6 +78783,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -74378,6 +78818,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -74413,6 +78854,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -74441,6 +78883,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static @@ -74470,64 +78913,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -74562,6 +78948,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -74597,6 +79044,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static void VertexAttrib3(Int32 index, Int16[] v) @@ -74631,6 +79079,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -74666,6 +79115,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -74695,41 +79145,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] - public static - void VertexAttrib4(UInt32 index, SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -74765,15 +79181,23 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static - void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) + void VertexAttrib4(UInt32 index, SByte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v_ptr); + } + } #if DEBUG } #endif @@ -74793,6 +79217,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static @@ -74822,16 +79247,16 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static - unsafe void VertexAttrib4(UInt32 index, Double* v) + void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -74851,35 +79276,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] - public static - unsafe void VertexAttrib4(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -74914,6 +79311,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + unsafe void VertexAttrib4(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] + public static + unsafe void VertexAttrib4(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -74949,6 +79407,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static void VertexAttrib4(Int32 index, Double[] v) @@ -74983,6 +79442,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -75018,6 +79478,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] public static @@ -75047,6 +79508,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -75075,133 +79537,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] - public static - void VertexAttrib4(UInt32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -75237,6 +79573,102 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -75271,10 +79703,11 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static - void VertexAttrib4(UInt32 index, Int32[] v) + void VertexAttrib4(UInt32 index, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75282,7 +79715,42 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) { Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); } @@ -75306,69 +79774,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - void VertexAttrib4(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] - public static - unsafe void VertexAttrib4(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -75404,6 +79810,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + unsafe void VertexAttrib4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -75433,9 +79870,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static - void VertexAttrib4(Int32 index, ref Int32 v) + void VertexAttrib4(Int32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75443,7 +79881,43 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = &v) + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] + public static + void VertexAttrib4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) { Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v_ptr); } @@ -75474,21 +79948,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] - public static - unsafe void VertexAttrib4N(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] public static @@ -75510,6 +79969,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nbv")] + public static + unsafe void VertexAttrib4N(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static void VertexAttrib4N(Int32 index, ref Int32 v) @@ -75560,9 +80034,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static - void VertexAttrib4N(Int32 index, Int32[] v) + void VertexAttrib4N(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75580,10 +80055,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Niv")] public static - void VertexAttrib4N(UInt32 index, Int32[] v) + void VertexAttrib4N(Int32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75763,10 +80237,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static - void VertexAttrib4N(UInt32 index, ref Byte v) + void VertexAttrib4N(Int32 index, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -75799,41 +80272,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static - void VertexAttrib4N(Int32 index, Byte[] v) + unsafe void VertexAttrib4N(Int32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] - public static - void VertexAttrib4N(Int32 index, ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -75860,16 +80308,57 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] public static - unsafe void VertexAttrib4N(Int32 index, Byte* v) + void VertexAttrib4N(Int32 index, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nubv")] + public static + void VertexAttrib4N(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); #if DEBUG } #endif @@ -75896,21 +80385,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nuiv")] public static @@ -75932,6 +80406,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] + public static + unsafe void VertexAttrib4N(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] public static @@ -75953,21 +80442,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] - public static - unsafe void VertexAttrib4N(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4Nusv")] public static @@ -76003,6 +80477,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -76031,6 +80506,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static @@ -76060,6 +80536,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] + public static + void VertexAttrib4(Int32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -76089,6 +80601,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -76118,6 +80631,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -76153,9 +80667,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static - void VertexAttrib4(Int32 index, ref Int16 v) + void VertexAttrib4(Int32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -76163,7 +80678,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); } @@ -76187,6 +80702,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -76222,40 +80738,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] - public static - void VertexAttrib4(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -76290,6 +80773,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -76319,6 +80803,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -76348,6 +80833,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -76383,6 +80869,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static void VertexAttrib4(Int32 index, Byte[] v) @@ -76417,6 +80904,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -76452,6 +80940,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -76481,6 +80970,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -76516,6 +81006,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -76551,6 +81042,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] + public static + unsafe void VertexAttrib4(UInt32 index, UInt16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -76586,6 +81108,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -76607,51 +81130,7 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] - public static - unsafe void VertexAttrib4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] - public static - void VertexAttribI1(UInt32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1i")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1i")] public static void VertexAttribI1(Int32 index, Int32 x) { @@ -76666,22 +81145,22 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1i")] public static - unsafe void VertexAttribI1(Int32 index, Int32* v) + void VertexAttribI1(UInt32 index, Int32 x) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] public static unsafe void VertexAttribI1(UInt32 index, Int32* v) { @@ -76696,7 +81175,22 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1iv")] + public static + unsafe void VertexAttribI1(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1ui")] public static void VertexAttribI1(UInt32 index, UInt32 x) { @@ -76711,7 +81205,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI1uiv")] public static unsafe void VertexAttribI1(UInt32 index, UInt32* v) { @@ -76725,7 +81219,22 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2i")] + public static + void VertexAttribI2(UInt32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2i")] public static void VertexAttribI2(Int32 index, Int32 x, Int32 y) { @@ -76740,93 +81249,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2i")] - public static - void VertexAttribI2(UInt32 index, Int32 x, Int32 y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - void VertexAttribI2(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] - public static - unsafe void VertexAttribI2(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static void VertexAttribI2(UInt32 index, Int32[] v) { @@ -76846,7 +81269,7 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] public static void VertexAttribI2(Int32 index, Int32[] v) { @@ -76867,7 +81290,78 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + unsafe void VertexAttribI2(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2iv")] + public static + void VertexAttribI2(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2ui")] public static void VertexAttribI2(UInt32 index, UInt32 x, UInt32 y) { @@ -76882,7 +81376,43 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + public static + void VertexAttribI2(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] public static void VertexAttribI2(UInt32 index, UInt32[] v) { @@ -76903,42 +81433,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3i")] public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) + void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI2uiv")] - public static - void VertexAttribI2(UInt32 index, ref UInt32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = &v) - { - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3i")] public static void VertexAttribI3(Int32 index, Int32 x, Int32 y, Int32 z) { @@ -76953,22 +81462,37 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3i")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static - void VertexAttribI3(UInt32 index, Int32 x, Int32 y, Int32 z) + unsafe void VertexAttribI3(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static void VertexAttribI3(UInt32 index, Int32[] v) { @@ -76988,78 +81512,7 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(Int32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - void VertexAttribI3(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] public static void VertexAttribI3(Int32 index, Int32[] v) { @@ -77080,7 +81533,48 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3iv")] + public static + void VertexAttribI3(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3ui")] public static void VertexAttribI3(UInt32 index, UInt32 x, UInt32 y, UInt32 z) { @@ -77095,28 +81589,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] - public static - void VertexAttribI3(UInt32 index, UInt32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] public static unsafe void VertexAttribI3(UInt32 index, UInt32* v) { @@ -77131,7 +81604,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] public static void VertexAttribI3(UInt32 index, ref UInt32 v) { @@ -77152,22 +81625,28 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI3uiv")] public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) + void VertexAttribI3(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v_ptr); + } + } #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] public static void VertexAttribI4(UInt32 index, SByte[] v) { @@ -77188,7 +81667,22 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4bv")] public static void VertexAttribI4(UInt32 index, ref SByte v) { @@ -77208,7 +81702,7 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4i")] public static void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) { @@ -77223,7 +81717,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4i")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4i")] public static void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { @@ -77237,7 +81731,7 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static void VertexAttribI4(Int32 index, ref Int32 v) { @@ -77258,7 +81752,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static unsafe void VertexAttribI4(UInt32 index, Int32* v) { @@ -77273,7 +81767,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static unsafe void VertexAttribI4(Int32 index, Int32* v) { @@ -77288,28 +81782,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] - public static - void VertexAttribI4(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static void VertexAttribI4(UInt32 index, Int32[] v) { @@ -77329,7 +81802,7 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] public static void VertexAttribI4(Int32 index, Int32[] v) { @@ -77350,7 +81823,28 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static void VertexAttribI4(UInt32 index, ref Int16 v) { @@ -77370,7 +81864,7 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static void VertexAttribI4(Int32 index, Int16[] v) { @@ -77390,22 +81884,7 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static void VertexAttribI4(Int32 index, ref Int16 v) { @@ -77426,7 +81905,37 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] public static void VertexAttribI4(UInt32 index, Int16[] v) { @@ -77447,36 +81956,27 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4sv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static - unsafe void VertexAttribI4(Int32 index, Int16* v) + void VertexAttribI4(UInt32 index, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + unsafe { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); + } + } #if DEBUG } #endif } - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static void VertexAttribI4(Int32 index, Byte[] v) { @@ -77496,22 +81996,7 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] - public static - unsafe void VertexAttribI4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static void VertexAttribI4(Int32 index, ref Byte v) { @@ -77532,28 +82017,37 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static - void VertexAttribI4(UInt32 index, ref Byte v) + unsafe void VertexAttribI4(Int32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); #if DEBUG } #endif } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] + public static + unsafe void VertexAttribI4(UInt32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ubv")] public static void VertexAttribI4(UInt32 index, Byte[] v) { @@ -77574,7 +82068,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4ui")] public static void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) { @@ -77589,7 +82083,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] public static unsafe void VertexAttribI4(UInt32 index, UInt32* v) { @@ -77604,7 +82098,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] public static void VertexAttribI4(UInt32 index, ref UInt32 v) { @@ -77625,7 +82119,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4uiv")] public static void VertexAttribI4(UInt32 index, UInt32[] v) { @@ -77646,7 +82140,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] public static unsafe void VertexAttribI4(UInt32 index, UInt16* v) { @@ -77661,28 +82155,7 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] - public static - void VertexAttribI4(UInt32 index, UInt16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30Deprecated", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] public static void VertexAttribI4(UInt32 index, ref UInt16 v) { @@ -77702,87 +82175,22 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribI4usv")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct + void VertexAttribI4(UInt32 index, UInt16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try + unsafe { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + fixed (UInt16* v_ptr = v) + { + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v_ptr); + } } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] - public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -77802,24 +82210,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -77851,7 +82251,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -77919,150 +82319,11 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) - where T5 : struct + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -78071,7 +82332,77 @@ namespace OpenTK.Graphics GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribParameter)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -78116,6 +82447,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static @@ -78174,6 +82506,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) @@ -78231,6 +82564,182 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static @@ -78289,112 +82798,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] - public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) @@ -78452,10 +82856,60 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) where T5 : struct { #if DEBUG @@ -78477,6 +82931,56 @@ namespace OpenTK.Graphics } + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + /// /// Define an array of vertex data /// @@ -78500,6 +83004,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) @@ -78547,6 +83052,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) @@ -78594,53 +83100,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) @@ -78688,6 +83148,55 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version11Deprecated", Version = "1.1", EntryPoint = "glVertexPointer")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer) @@ -78716,6 +83225,7 @@ namespace OpenTK.Graphics /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window. /// /// + [AutoGenerated(Category = "Version10", Version = "1.0", EntryPoint = "glViewport")] public static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) @@ -78730,6 +83240,35 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ArbSync", Version = "1.2", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + /// /// Specify the raster position in window coordinates for pixel operations @@ -78739,6 +83278,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2d")] public static void WindowPos2(Double x, Double y) @@ -78762,6 +83302,32 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] + public static + unsafe void WindowPos2(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos2dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(Double[] v) @@ -78791,30 +83357,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] - public static - unsafe void WindowPos2(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos2dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(ref Double v) @@ -78844,6 +83387,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2f")] public static void WindowPos2(Single x, Single y) @@ -78867,21 +83411,17 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static - void WindowPos2(ref Single v) + unsafe void WindowPos2(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glWindowPos2fv((Single*)v_ptr); - } - } + Delegates.glWindowPos2fv((Single*)v); #if DEBUG } #endif @@ -78896,6 +83436,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static void WindowPos2(Single[] v) @@ -78925,16 +83466,22 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static - unsafe void WindowPos2(Single* v) + void WindowPos2(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glWindowPos2fv((Single*)v); + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glWindowPos2fv((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -78949,6 +83496,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2i")] public static void WindowPos2(Int32 x, Int32 y) @@ -78972,35 +83520,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] - public static - void WindowPos2(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos2iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static @@ -79025,6 +83545,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static void WindowPos2(ref Int32 v) @@ -79054,6 +83575,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2iv")] + public static + void WindowPos2(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos2iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2s")] public static void WindowPos2(Int16 x, Int16 y) @@ -79077,6 +83629,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static @@ -79101,6 +83654,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static void WindowPos2(ref Int16 v) @@ -79130,6 +83684,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static void WindowPos2(Int16[] v) @@ -79159,6 +83714,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3d")] public static void WindowPos3(Double x, Double y, Double z) @@ -79182,59 +83738,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - unsafe void WindowPos3(Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glWindowPos3dv((Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] - public static - void WindowPos3(ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glWindowPos3dv((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static void WindowPos3(Double[] v) @@ -79264,6 +83768,62 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + void WindowPos3(ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glWindowPos3dv((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3dv")] + public static + unsafe void WindowPos3(Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glWindowPos3dv((Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3f")] public static void WindowPos3(Single x, Single y, Single z) @@ -79287,6 +83847,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static @@ -79311,6 +83872,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(ref Single v) @@ -79340,6 +83902,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(Single[] v) @@ -79369,6 +83932,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3i")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -79392,35 +83956,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// - [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] - public static - void WindowPos3(Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glWindowPos3iv((Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the raster position in window coordinates for pixel operations - /// - /// - /// - /// Specify the , , coordinates for the raster position. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static @@ -79445,6 +83981,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static void WindowPos3(ref Int32 v) @@ -79474,6 +84011,37 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3iv")] + public static + void WindowPos3(Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glWindowPos3iv((Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3s")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -79497,9 +84065,10 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static - void WindowPos3(Int16[] v) + void WindowPos3(ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -79507,7 +84076,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glWindowPos3sv((Int16*)v_ptr); } @@ -79526,6 +84095,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static @@ -79550,9 +84120,10 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "Version14Deprecated", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static - void WindowPos3(ref Int16 v) + void WindowPos3(Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -79560,7 +84131,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glWindowPos3sv((Int16*)v_ptr); } @@ -79619,6 +84190,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) @@ -79661,6 +84233,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -79695,6 +84268,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -79729,6 +84303,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -79770,6 +84345,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) @@ -79810,6 +84386,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -79843,6 +84420,7 @@ namespace OpenTK.Graphics /// Specifies an index into the enabled vertex data arrays. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glArrayElementEXT")] public static void ArrayElement(Int32 i) @@ -79885,10 +84463,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer) + void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -79900,9 +84477,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glBindBufferBaseEXT")] public static - void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, Int32 index, Int32 buffer) + void BindBufferBase(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -79972,20 +84550,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] - public static - void BindFragDataLocation(Int32 program, Int32 color, String name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] public static @@ -80001,9 +84565,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] + public static + void BindFragDataLocation(Int32 program, Int32 color, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80015,10 +84594,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindFramebufferEXT")] public static - void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer) + void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, Int32 framebuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80058,9 +84636,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 texture) + void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80072,10 +84651,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glBindMultiTextureEXT")] public static - void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindMultiTexture(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80101,9 +84679,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80115,10 +84694,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glBindRenderbufferEXT")] public static - void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer) + void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80158,10 +84736,10 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) + void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80187,9 +84765,11 @@ namespace OpenTK.Graphics /// Specifies the name of a texture. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static - void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) + void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80215,10 +84795,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] public static - void BindVertexShader(UInt32 id) + void BindVertexShader(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80230,9 +84809,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glBindVertexShaderEXT")] public static - void BindVertexShader(Int32 id) + void BindVertexShader(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -80273,26 +84853,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] - public static - void Binormal3(ref Byte v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glBinormal3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static @@ -80323,6 +84883,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] + public static + void Binormal3(ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glBinormal3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3bvEXT")] public static @@ -80468,16 +85048,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] public static - unsafe void Binormal3(Single* v) + void Binormal3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBinormal3fvEXT((Single*)v); + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glBinormal3fvEXT((Single*)v_ptr); + } + } #if DEBUG } #endif @@ -80503,21 +85088,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3fvEXT")] public static - void Binormal3(Single[] v) + unsafe void Binormal3(Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glBinormal3fvEXT((Single*)v_ptr); - } - } + Delegates.glBinormal3fvEXT((Single*)v); #if DEBUG } #endif @@ -80537,6 +85117,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] + public static + unsafe void Binormal3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBinormal3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] public static void Binormal3(ref Int32 v) @@ -80557,21 +85152,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] - public static - unsafe void Binormal3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBinormal3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3ivEXT")] public static void Binormal3(Int32[] v) @@ -80606,6 +85186,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] + public static + void Binormal3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glBinormal3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] public static void Binormal3(ref Int16 v) @@ -80641,44 +85241,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormal3svEXT")] - public static - void Binormal3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glBinormal3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) - where T2 : struct + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -80707,29 +85278,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] - public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) @@ -80755,13 +85303,45 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -80776,6 +85356,7 @@ namespace OpenTK.Graphics /// specify the components of GL_BLEND_COLOR /// /// + [AutoGenerated(Category = "ExtBlendColor", Version = "1.0", EntryPoint = "glBlendColorEXT")] public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -80799,6 +85380,7 @@ namespace OpenTK.Graphics /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [AutoGenerated(Category = "ExtBlendMinmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] public static void BlendEquation(OpenTK.Graphics.ExtBlendMinmax mode) @@ -80827,6 +85409,7 @@ namespace OpenTK.Graphics /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX. /// /// + [AutoGenerated(Category = "ExtBlendEquationSeparate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] public static void BlendEquationSeparate(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha) @@ -80865,6 +85448,7 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// + [AutoGenerated(Category = "ExtBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] public static void BlendFuncSeparate(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha) @@ -80979,6 +85563,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] + public static + void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] public static @@ -80994,20 +85592,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glColorMaskIndexedEXT")] - public static - void ColorMaskIndexed(Int32 index, bool r, bool g, bool b, bool a) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - #if DEBUG - } - #endif - } - /// /// Define an array of colors @@ -81032,138 +85616,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) @@ -81211,6 +85664,46 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) @@ -81235,6 +85728,102 @@ namespace OpenTK.Graphics } + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Respecify a portion of a color table /// @@ -81268,6 +85857,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) @@ -81325,6 +85915,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) @@ -81373,6 +85964,65 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) @@ -81430,6 +86080,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. /// /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) @@ -81454,63 +86105,6 @@ namespace OpenTK.Graphics } - /// - /// Respecify a portion of a color table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The starting index of the portion of the color table to be replaced. - /// - /// - /// - /// - /// The number of table entries to replace. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. - /// - /// - [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] - public static - void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glColorSubTableEXT((OpenTK.Graphics.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Define a color lookup table /// @@ -81544,168 +86138,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); - #if DEBUG - } - #endif - } - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] - public static - void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) @@ -81763,6 +86196,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) @@ -81786,23 +86220,165 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); } finally { - bits_ptr.Free(); + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table); + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); } #if DEBUG } @@ -81832,29 +86408,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] - public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) @@ -81878,6 +86431,52 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) @@ -81894,21 +86493,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] - public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) where T8 : struct { #if DEBUG @@ -81929,6 +86514,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) @@ -81977,7 +86576,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) where T8 : struct { #if DEBUG @@ -81998,6 +86597,52 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) @@ -82035,52 +86680,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] - public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) @@ -82173,20 +86772,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] - public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) @@ -82210,24 +86795,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -82235,7 +86811,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -82272,7 +86848,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) where T9 : struct { #if DEBUG @@ -82316,9 +86892,32 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) where T11 : struct { #if DEBUG @@ -82341,21 +86940,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] - public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) where T11 : struct { #if DEBUG @@ -82401,7 +86986,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) where T11 : struct { #if DEBUG @@ -82422,30 +87007,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -82454,7 +87024,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) where T7 : struct { #if DEBUG @@ -82500,7 +87070,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) where T7 : struct { #if DEBUG @@ -82544,53 +87114,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] - public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static @@ -82615,6 +87138,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static @@ -82639,10 +87185,11 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) - where T8 : struct + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -82651,30 +87198,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -82686,100 +87210,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) - where T8 : struct + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) - where T8 : struct + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] - public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); #if DEBUG } #endif @@ -82832,6 +87285,129 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static @@ -82856,6 +87432,53 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) @@ -82881,7 +87504,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -82928,31 +87613,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -82988,71 +87649,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] - public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) where T9 : struct { #if DEBUG @@ -83120,30 +87719,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] - public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static @@ -83196,6 +87771,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static @@ -83220,9 +87818,34 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) where T7 : struct { #if DEBUG @@ -83267,10 +87890,10 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) - where T7 : struct + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -83279,7 +87902,7 @@ namespace OpenTK.Graphics GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); } finally { @@ -83330,7 +87953,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) where T9 : struct { #if DEBUG @@ -83351,21 +87974,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) @@ -83389,30 +87997,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) @@ -83436,30 +88020,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] - public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) @@ -83486,7 +88046,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) where T9 : struct { #if DEBUG @@ -83508,9 +88068,47 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) where T11 : struct { #if DEBUG @@ -83554,44 +88152,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static @@ -83639,6 +88199,68 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static @@ -83701,29 +88323,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] - public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); - try - { - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); - } - finally - { - bits_ptr.Free(); - } - #if DEBUG - } - #endif - } - /// /// Define a one-dimensional convolution filter @@ -83758,111 +88357,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] - public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a one-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_1D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) @@ -83920,6 +88415,56 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) @@ -83977,6 +88522,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) @@ -84001,6 +88547,64 @@ namespace OpenTK.Graphics } + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define a two-dimensional convolution filter /// @@ -84039,6 +88643,7 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) @@ -84101,121 +88706,7 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); - try - { - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); - } - finally - { - image_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] - public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - - /// - /// Define a two-dimensional convolution filter - /// - /// - /// - /// Must be GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The width of the pixel array referenced by data. - /// - /// - /// - /// - /// The height of the pixel array referenced by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) @@ -84278,6 +88769,124 @@ namespace OpenTK.Graphics /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. /// /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) @@ -84323,6 +88932,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params) @@ -84359,6 +88969,45 @@ namespace OpenTK.Graphics /// /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] + public static + unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set convolution parameters + /// + /// + /// + /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. + /// + /// + /// + /// + /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. + /// + /// + /// + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single[] @params) @@ -84401,43 +89050,7 @@ namespace OpenTK.Graphics /// /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfvEXT")] - public static - unsafe void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Set convolution parameters - /// - /// - /// - /// The target for the convolution parameter. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The parameter to be set. Must be GL_CONVOLUTION_BORDER_MODE. - /// - /// - /// - /// - /// The parameter value. Must be one of GL_REDUCE, GL_CONSTANT_BORDER, GL_REPLICATE_BORDER. - /// - /// - /// - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params) @@ -84474,6 +89087,7 @@ namespace OpenTK.Graphics /// /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] public static @@ -84511,6 +89125,7 @@ namespace OpenTK.Graphics /// /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterivEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32[] @params) @@ -84555,6 +89170,7 @@ namespace OpenTK.Graphics /// The number of table entries to replace. /// /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] public static void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) @@ -84593,6 +89209,7 @@ namespace OpenTK.Graphics /// The width of the pixel array to copy. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] public static void CopyConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -84636,6 +89253,7 @@ namespace OpenTK.Graphics /// The height of the pixel array to copy. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] public static void CopyConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) @@ -84754,6 +89372,7 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] public static void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) @@ -84807,6 +89426,7 @@ namespace OpenTK.Graphics /// Specifies the width of the border. Must be either 0 or 1. /// /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] public static void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) @@ -84850,6 +89470,7 @@ namespace OpenTK.Graphics /// Specifies the width of the texture subimage. /// /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] public static void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) @@ -84903,6 +89524,7 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] public static void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -84961,6 +89583,7 @@ namespace OpenTK.Graphics /// Specifies the height of the texture subimage. /// /// + [AutoGenerated(Category = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] public static void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -84975,20 +89598,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] - public static - void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] public static @@ -85004,9 +89613,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage1DEXT")] + public static + void CopyTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85018,10 +89642,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureImage2DEXT")] public static - void CopyTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + void CopyTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85062,9 +89685,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] public static - void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85076,10 +89700,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCopyTextureSubImage2DEXT")] public static - void CopyTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + void CopyTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85120,6 +89743,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] + public static + unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullParameterdvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Double*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] public static void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Double[] @params) @@ -85161,36 +89799,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterdvEXT")] - public static - unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullParameterdvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] - public static - unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] public static void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] out Single @params) @@ -85232,10 +89840,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCullVertex", Version = "1.1", EntryPoint = "glCullParameterfvEXT")] + public static + unsafe void CullParameter(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static - unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85247,46 +89870,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, Int32[] framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] - public static - void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* framebuffers_ptr = &framebuffers) - { - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static @@ -85329,10 +89912,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static - unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85344,31 +89947,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteFramebuffersEXT")] public static - unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - #if DEBUG + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -85394,27 +89987,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] - public static - void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static @@ -85456,52 +90028,25 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static - unsafe void DeleteTextures(Int32 n, UInt32* textures) + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static - void DeleteTextures(Int32 n, ref Int32 textures) + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85509,9 +90054,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (UInt32* renderbuffers_ptr = renderbuffers) { - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); } } #if DEBUG @@ -85519,30 +90064,16 @@ namespace OpenTK.Graphics #endif } - - /// - /// Delete named textures - /// - /// - /// - /// Specifies the number of textures to be deleted. - /// - /// - /// - /// - /// Specifies an array of textures to be deleted. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glDeleteRenderbuffersEXT")] public static - unsafe void DeleteTextures(Int32 n, Int32* textures) + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -85562,6 +90093,7 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -85597,6 +90129,7 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static void DeleteTextures(Int32 n, Int32[] textures) @@ -85631,6 +90164,7 @@ namespace OpenTK.Graphics /// Specifies an array of textures to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -85652,9 +90186,105 @@ namespace OpenTK.Graphics #endif } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// + + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] public static - void DeleteVertexShader(Int32 id) + void DeleteVertexShader(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85666,10 +90296,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDeleteVertexShaderEXT")] public static - void DeleteVertexShader(UInt32 id) + void DeleteVertexShader(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85695,9 +90324,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85709,10 +90339,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glDisableClientStateIndexedEXT")] public static - void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, UInt32 index) + void DisableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85753,9 +90382,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] public static - void DisableVariantClientState(Int32 id) + void DisableVariantClientState(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85767,10 +90397,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glDisableVariantClientStateEXT")] public static - void DisableVariantClientState(UInt32 id) + void DisableVariantClientState(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -85801,6 +90430,7 @@ namespace OpenTK.Graphics /// Specifies the number of indices to be rendered. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glDrawArraysEXT")] public static void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) @@ -85831,7 +90461,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -85877,30 +90507,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] - public static - void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) where T3 : struct { #if DEBUG @@ -85935,142 +90542,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) - where T5 : struct + void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -86079,7 +90554,7 @@ namespace OpenTK.Graphics GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); } finally { @@ -86124,6 +90599,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) @@ -86181,6 +90657,65 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static @@ -86239,6 +90774,282 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static @@ -86297,63 +91108,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the location where the indices are stored. /// /// - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) @@ -86378,121 +91133,6 @@ namespace OpenTK.Graphics } - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Specifies the minimum array index contained in indices. - /// - /// - /// - /// - /// Specifies the maximum array index contained in indices. - /// - /// - /// - /// - /// Specifies the number of elements to be rendered. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] - public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Define an array of edge flags /// @@ -86506,6 +91146,42 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] + public static + void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* pointer_ptr = pointer) + { + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) @@ -86540,6 +91216,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first edge flag in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static @@ -86555,40 +91232,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of edge flags - /// - /// - /// - /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first edge flag in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] - public static - void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* pointer_ptr = pointer) - { - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glEnableClientStateIndexedEXT")] public static void EnableClientStateIndexed(OpenTK.Graphics.EnableCap array, Int32 index) @@ -86704,10 +91347,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] public static - void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) + void ExtractComponent(Int32 res, Int32 src, Int32 num) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -86719,9 +91361,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glExtractComponentEXT")] public static - void ExtractComponent(Int32 res, Int32 src, Int32 num) + void ExtractComponent(UInt32 res, UInt32 src, UInt32 num) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -86742,6 +91385,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] public static void FogCoord(Double coord) @@ -86765,6 +91409,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddvEXT")] public static @@ -86789,6 +91434,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] public static void FogCoord(Single coord) @@ -86812,6 +91458,7 @@ namespace OpenTK.Graphics /// Specify the fog distance. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfvEXT")] public static @@ -86846,42 +91493,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] - public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of fog coordinates - /// - /// - /// - /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -86921,6 +91536,41 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) @@ -86963,9 +91613,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -87005,9 +91656,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -87078,56 +91730,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) - { - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] - public static - unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode[] bufs) @@ -87169,15 +91771,51 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] public static - void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) + void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, ref OpenTK.Graphics.DrawBufferMode bufs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); + unsafe + { + fixed (OpenTK.Graphics.DrawBufferMode* bufs_ptr = &bufs) + { + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferDrawBuffersEXT")] + public static + unsafe void FramebufferDrawBuffers(Int32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.DrawBufferMode*)bufs); #if DEBUG } #endif @@ -87198,10 +91836,23 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glFramebufferReadBufferEXT")] + public static + void FramebufferReadBuffer(Int32 framebuffer, OpenTK.Graphics.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87213,9 +91864,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferRenderbufferEXT")] public static - void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87285,21 +91937,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] - public static - void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] public static void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) @@ -87315,9 +91952,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glFramebufferTexture3DEXT")] + public static + void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87329,9 +91980,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glFramebufferTextureEXT")] public static - void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level) + void FramebufferTexture(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87429,21 +92081,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] - public static - void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.TextureTarget target) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] public static void GenerateTextureMipmap(Int32 texture, OpenTK.Graphics.TextureTarget target) @@ -87458,21 +92095,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGenerateTextureMipmapEXT")] public static - void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) + void GenerateTextureMipmap(UInt32 texture, OpenTK.Graphics.TextureTarget target) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* framebuffers_ptr = framebuffers) - { - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); - } - } + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target); #if DEBUG } #endif @@ -87499,21 +92131,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] - public static - unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static @@ -87573,30 +92190,35 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static - unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) + unsafe void GenFramebuffers(Int32 n, [Out] Int32* framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenFramebuffersEXT")] public static - unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) + void GenFramebuffers(Int32 n, [Out] Int32[] framebuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers_ptr); + } + } #if DEBUG } #endif @@ -87646,20 +92268,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] public static - void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) + unsafe void GenRenderbuffers(Int32 n, [Out] Int32* renderbuffers) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* renderbuffers_ptr = &renderbuffers) - { - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); - renderbuffers = *renderbuffers_ptr; - } - } + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); #if DEBUG } #endif @@ -87686,9 +92301,47 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGenRenderbuffersEXT")] + public static + void GenRenderbuffers(Int32 n, [Out] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, Int32 components) + Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87700,10 +92353,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGenSymbolsEXT")] public static - Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components) + Int32 GenSymbol(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, Int32 components) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87729,9 +92381,11 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static - void GenTextures(Int32 n, [Out] out Int32 textures) + void GenTextures(Int32 n, [Out] UInt32[] textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87739,10 +92393,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = &textures) + fixed (UInt32* textures_ptr = textures) { Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - textures = *textures_ptr; } } #if DEBUG @@ -87764,6 +92417,72 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// + + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + void GenTextures(Int32 n, [Out] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] + public static + unsafe void GenTextures(Int32 n, [Out] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -87800,35 +92519,7 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] - public static - unsafe void GenTextures(Int32 n, [Out] Int32* textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - #if DEBUG - } - #endif - } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -87858,44 +92549,10 @@ namespace OpenTK.Graphics /// Specifies an array in which the generated texture names are stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] - public static - void GenTextures(Int32 n, [Out] UInt32[] textures) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = textures) - { - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Generate texture names - /// - /// - /// - /// Specifies the number of texture names to be generated. - /// - /// - /// - /// - /// Specifies an array in which the generated texture names are stored. - /// - /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static - void GenTextures(Int32 n, [Out] Int32[] textures) + void GenTextures(Int32 n, [Out] out Int32 textures) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87903,9 +92560,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* textures_ptr = textures) + fixed (Int32* textures_ptr = &textures) { Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; } } #if DEBUG @@ -87945,7 +92603,37 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) + unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] + public static + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87953,10 +92641,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* data_ptr = &data) + fixed (bool* data_ptr = data) { Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); - data = *data_ptr; } } #if DEBUG @@ -87988,7 +92675,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] public static - void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool[] data) + void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -87996,9 +92683,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* data_ptr = data) + fixed (bool* data_ptr = &data) { Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -88026,36 +92714,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetBooleanIndexedvEXT")] - public static - unsafe void GetBooleanIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (bool*)data); - #if DEBUG - } - #endif - } - /// /// Retrieve contents of a color lookup table @@ -88080,9 +92738,10 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) where T3 : struct { #if DEBUG @@ -88127,6 +92786,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) @@ -88165,53 +92825,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] - public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) @@ -88259,9 +92873,58 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) where T3 : struct { #if DEBUG @@ -88301,6 +92964,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single[] @params) @@ -88340,6 +93004,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Single @params) @@ -88380,6 +93045,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static @@ -88414,40 +93080,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] - public static - unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32[] @params) @@ -88487,6 +93120,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] out Int32 @params) @@ -88508,9 +93142,44 @@ namespace OpenTK.Graphics #endif } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] + public static + unsafe void GetColorTableParameter(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ColorTableTarget)target, (OpenTK.Graphics.GetColorTableParameterPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) where T3 : struct { #if DEBUG @@ -88533,7 +93202,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) where T3 : struct { #if DEBUG @@ -88570,7 +93239,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) where T3 : struct { #if DEBUG @@ -88593,7 +93262,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) where T3 : struct { #if DEBUG @@ -88640,7 +93309,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) where T3 : struct { #if DEBUG @@ -88675,77 +93344,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] - public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); - try - { - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); - } - finally - { - img_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) @@ -88769,6 +93367,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) @@ -88816,6 +93438,53 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static @@ -88855,9 +93524,49 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); + #if DEBUG + } + #endif + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) where T3 : struct { #if DEBUG @@ -88902,6 +93611,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) @@ -88949,9 +93659,10 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) where T3 : struct { #if DEBUG @@ -88996,47 +93707,10 @@ namespace OpenTK.Graphics /// Pointer to storage for the output image. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] - public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image); - #if DEBUG - } - #endif - } - - /// - /// Get current 1D or 2D convolution filter kernel - /// - /// - /// - /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. - /// - /// - /// - /// - /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the output image. - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) where T3 : struct { #if DEBUG @@ -89076,6 +93750,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static @@ -89110,6 +93785,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Single @params) @@ -89150,6 +93826,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single[] @params) @@ -89189,6 +93866,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static @@ -89223,6 +93901,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Int32 @params) @@ -89263,6 +93942,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the parameters to be retrieved. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32[] @params) @@ -89283,6 +93963,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] + public static + void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* data_ptr = &data) + { + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] public static void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] data) @@ -89376,30 +94078,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetDoubleIndexedvEXT")] - public static - void GetDoubleIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Double data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* data_ptr = &data) - { - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single data) + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89421,7 +94102,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single data) + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] + public static + void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89470,27 +94171,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] - public static - void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFloatIndexedvEXT")] public static void GetFloatIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single[] data) @@ -89560,27 +94240,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] - public static - void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] public static @@ -89596,45 +94255,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetFramebufferAttachmentParameterivEXT")] public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void GetFramebufferAttachmentParameter(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -89644,29 +94267,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] - public static - void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.FramebufferTarget)target, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.FramebufferParameterName)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -89695,6 +94296,49 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] public static @@ -89710,6 +94354,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + unsafe void GetFramebufferParameter(Int32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetFramebufferParameterivEXT")] + public static + void GetFramebufferParameter(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Get histogram table @@ -89739,9 +94419,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) where T4 : struct { #if DEBUG @@ -89791,6 +94472,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) @@ -89843,6 +94525,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) @@ -89895,6 +94578,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) @@ -89938,9 +94622,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned histogram table. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) where T4 : struct { #if DEBUG @@ -89980,45 +94665,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] - public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Get histogram parameters - /// - /// - /// - /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. - /// - /// - /// - /// - /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. - /// - /// - /// - /// - /// Pointer to storage for the returned values. - /// - /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) @@ -90059,6 +94706,47 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] + public static + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static @@ -90093,9 +94781,10 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90103,9 +94792,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -90132,6 +94822,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static @@ -90166,9 +94857,10 @@ namespace OpenTK.Graphics /// Pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static - void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) + void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90176,10 +94868,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -90187,79 +94878,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] - public static - unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] public static void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] out Int32 data) @@ -90302,9 +94920,39 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + unsafe void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90312,9 +94960,53 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* data_ptr = data) + fixed (Int32* data_ptr = &data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glGetIntegerIndexedvEXT")] + public static + void GetIntegerIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.ExtDrawBuffers2)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] + public static + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) { Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -90396,7 +95088,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantBooleanvEXT")] public static - void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetInvariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90404,10 +95096,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (bool* data_ptr = &data) + fixed (bool* data_ptr = data) { Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] + public static + void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); } } #if DEBUG @@ -90418,7 +95129,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90426,31 +95137,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* data_ptr = &data) + fixed (Single* data_ptr = data) { Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; } } #if DEBUG @@ -90488,10 +95177,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] public static - void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90499,29 +95187,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* data_ptr = data) - { - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] - public static - void GetInvariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) + fixed (Single* data_ptr = &data) { Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; } } #if DEBUG @@ -90530,15 +95199,22 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantFloatvEXT")] public static - unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + void GetInvariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } #if DEBUG } #endif @@ -90580,6 +95256,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + unsafe void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] + public static + void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] public static void GetInvariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) @@ -90622,89 +95334,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetInvariantIntegervEXT")] - public static - void GetInvariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = &data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] - public static - void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] public static @@ -90757,10 +95386,71 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantBooleanvEXT")] + public static + void GetLocalConstantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] public static - void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90778,60 +95468,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] public static - unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] - public static - void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -90871,6 +95511,129 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + unsafe void GetLocalConstantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantFloatvEXT")] + public static + void GetLocalConstantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] + public static + void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] public static void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) @@ -90913,78 +95676,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - unsafe void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetLocalConstantIntegervEXT")] - public static - void GetLocalConstantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = &data) - { - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - /// /// Get minimum and maximum pixel values @@ -91014,153 +95705,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); - #if DEBUG - } - #endif - } - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// - [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] - public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); - try - { - Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); - } - finally - { - values_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get minimum and maximum pixel values - /// - /// - /// - /// Must be GL_MINMAX. - /// - /// - /// - /// - /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. - /// - /// - /// - /// - /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// A pointer to storage for the returned values. - /// - /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) @@ -91213,6 +95758,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the returned values. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) @@ -91237,6 +95783,156 @@ namespace OpenTK.Graphics } + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values); + #if DEBUG + } + #endif + } + + + /// + /// Get minimum and maximum pixel values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// If GL_TRUE, all entries in the minmax table that are actually returned are reset to their initial values. (Other entries are unaltered.) If GL_FALSE, the minmax table is unaltered. + /// + /// + /// + /// + /// The format of the data to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the data to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned values. + /// + /// + + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Get minmax parameters /// @@ -91255,16 +95951,22 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -91289,6 +95991,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) @@ -91329,21 +96032,17 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) + unsafe void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params_ptr); - } - } + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); #if DEBUG } #endif @@ -91368,6 +96067,7 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static @@ -91402,9 +96102,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91412,9 +96113,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -91441,9 +96143,10 @@ namespace OpenTK.Graphics /// A pointer to storage for the retrieved parameters. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static - void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) + void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91451,46 +96154,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] - public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -91518,6 +96184,42 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvfvEXT")] + public static + unsafe void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] public static @@ -91533,6 +96235,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + public static + void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] public static void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) @@ -91554,9 +96276,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexEnvivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] public static - void GetMultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -91564,9 +96286,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Double* @params_ptr = &@params) { - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params_ptr); + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -91589,27 +96312,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGendvEXT")] public static void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) @@ -91630,21 +96332,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] - public static - unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] public static void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) @@ -91666,6 +96353,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] + public static + unsafe void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenfvEXT")] public static void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) @@ -91701,26 +96403,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] - public static - void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] public static void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) @@ -91742,9 +96424,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexGenivEXT")] + public static + void GetMultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) where T5 : struct { #if DEBUG @@ -91767,7 +96469,44 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) where T5 : struct { #if DEBUG @@ -91811,53 +96550,21 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] - public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] public static - unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -91884,21 +96591,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexLevelParameterfvEXT")] public static - void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + unsafe void GetMultiTexLevelParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -91960,21 +96662,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); #if DEBUG } #endif @@ -92001,16 +96698,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterfvEXT")] public static - unsafe void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -92072,6 +96774,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + public static + void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] public static @@ -92109,10 +96832,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterIuivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] public static - void GetMultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) + void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92120,9 +96842,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -92145,27 +96868,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] - public static - void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexParameterivEXT")] public static void GetMultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -92201,16 +96903,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -92238,9 +96946,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92248,10 +96957,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) { Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -92282,18 +96990,35 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferParameterivEXT")] public static - void GetNamedBufferParameter(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + unsafe void GetNamedBufferParameter(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - } + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); } #if DEBUG } @@ -92324,103 +97049,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] - public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) where T2 : struct { #if DEBUG @@ -92473,7 +97105,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) where T2 : struct { #if DEBUG @@ -92517,6 +97149,76 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) @@ -92540,105 +97242,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static @@ -92663,6 +97266,82 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static @@ -92687,6 +97366,52 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static @@ -92711,54 +97436,21 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] - public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); - #if DEBUG + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + } } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] - public static - unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); #if DEBUG } #endif @@ -92785,9 +97477,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32[] @params) + void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92795,9 +97488,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -92805,6 +97499,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] + public static + unsafe void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) @@ -92829,7 +97538,37 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT")] public static - void GetNamedFramebufferAttachmentParameter(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + unsafe void GetNamedFramebufferAttachmentParameter(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + public static + void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92839,7 +97578,7 @@ namespace OpenTK.Graphics { fixed (Int32* @params_ptr = &@params) { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); @params = *@params_ptr; } } @@ -92885,9 +97624,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] public static - void GetNamedProgram(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] out Int32 @params) + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -92895,10 +97634,29 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Double* @params_ptr = @params) { - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); } } #if DEBUG @@ -92907,15 +97665,30 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] public static - unsafe void GetNamedProgram(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params) + unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (Int32*)@params); + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] + public static + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); #if DEBUG } #endif @@ -92964,81 +97737,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterdvEXT")] - public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) + void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93057,21 +97758,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] - public static - unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static @@ -93087,22 +97773,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Single @params) + unsafe void GetNamedProgramLocalParameter(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); #if DEBUG } #endif @@ -93149,31 +97829,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterfvEXT")] public static - void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) + void GetNamedProgramLocalParameter(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93181,9 +97840,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -93192,26 +97851,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] - public static - void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] public static @@ -93242,6 +97881,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] public static @@ -93263,6 +97923,63 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIivEXT")] + public static + void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] + public static + unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] public static @@ -93306,25 +98023,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramLocalParameterIuivEXT")] - public static - unsafe void GetNamedProgramLocalParameterI(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) where T3 : struct { #if DEBUG @@ -93345,9 +98046,39 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) where T3 : struct { #if DEBUG @@ -93391,6 +98122,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) @@ -93414,30 +98169,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static @@ -93464,37 +98195,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] - public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) where T3 : struct { #if DEBUG @@ -93515,9 +98216,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) where T3 : struct { #if DEBUG @@ -93553,26 +98255,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static @@ -93595,42 +98277,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] - public static - void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) @@ -93652,15 +98298,57 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) + void GetNamedRenderbufferParameter(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedRenderbufferParameterivEXT")] + public static + unsafe void GetNamedRenderbufferParameter(Int32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params); #if DEBUG } #endif @@ -93692,7 +98380,60 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) where T2 : struct { #if DEBUG @@ -93739,7 +98480,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) where T2 : struct { #if DEBUG @@ -93760,16 +98501,24 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data) + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } #if DEBUG } #endif @@ -93799,53 +98548,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] - public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) @@ -93869,6 +98571,43 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) @@ -93894,7 +98633,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) where T1 : struct { #if DEBUG @@ -93938,47 +98677,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] - public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); - } - finally - { - @params_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -93986,9 +98687,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int64* @params_ptr = @params) + fixed (Int64* @params_ptr = &@params) { Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -94026,9 +98728,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjecti64vEXT")] public static - void GetQueryObjecti64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out Int64 @params) + void GetQueryObjecti64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94036,10 +98739,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int64* @params_ptr = &@params) + fixed (Int64* @params_ptr = @params) { Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (Int64*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -94110,69 +98812,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = @params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] - public static - void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out UInt64 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt64* @params_ptr = &@params) - { - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] public static @@ -94203,9 +98842,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] public static - void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -94213,9 +98853,50 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt64* @params_ptr = @params) { - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(Int32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTimerQuery", Version = "1.5", EntryPoint = "glGetQueryObjectui64vEXT")] + public static + void GetQueryObjectui64(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] out UInt64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = &@params) + { + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ExtTimerQuery)pname, (UInt64*)@params_ptr); @params = *@params_ptr; } } @@ -94259,49 +98940,22 @@ namespace OpenTK.Graphics #endif } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glGetRenderbufferParameterivEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + void GetRenderbufferParameter(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.RenderbufferTarget)target, (OpenTK.Graphics.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -94341,9 +98995,10 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) where T5 : struct { #if DEBUG @@ -94398,28 +99053,23 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); - column_ptr.Free(); span_ptr.Free(); } #if DEBUG @@ -94461,132 +99111,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) - where T3 : struct - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) @@ -94647,6 +99172,172 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) @@ -94710,22 +99401,29 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { + row_ptr.Free(); + column_ptr.Free(); span_ptr.Free(); } #if DEBUG @@ -94767,22 +99465,29 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { + row_ptr.Free(); + column_ptr.Free(); span_ptr.Free(); } #if DEBUG @@ -94824,22 +99529,29 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); } finally { + row_ptr.Free(); + column_ptr.Free(); span_ptr.Free(); } #if DEBUG @@ -94881,6 +99593,68 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) @@ -94941,6 +99715,7 @@ namespace OpenTK.Graphics /// Pointer to storage for the span filter image (currently unused). /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) @@ -94967,66 +99742,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Get separable convolution filter kernel images - /// - /// - /// - /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to storage for the row filter image. - /// - /// - /// - /// - /// Pointer to storage for the column filter image. - /// - /// - /// - /// - /// Pointer to storage for the span filter image (currently unused). - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] - public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) - where T4 : struct - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); - } - finally - { - column_ptr.Free(); - span_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] public static @@ -95042,6 +99757,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] + public static + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] public static void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) @@ -95063,26 +99798,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static @@ -95098,28 +99813,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] - public static - void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static @@ -95142,94 +99835,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glGetTexParameterIuivEXT")] public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) - where T5 : struct + void GetTexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try + unsafe { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] - public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } } #if DEBUG } @@ -95332,13 +99952,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -95358,6 +99987,142 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] + public static + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] public static void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) @@ -95400,41 +100165,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] public static @@ -95457,21 +100187,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterfvEXT")] - public static - unsafe void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] public static void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -95538,13 +100253,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] public static - unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -95568,39 +100289,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureLevelParameterivEXT")] public static - void GetTextureLevelParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + unsafe void GetTextureLevelParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - } - } + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -95609,7 +100304,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95624,29 +100319,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95700,10 +100373,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95711,9 +100383,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); } } #if DEBUG @@ -95722,9 +100394,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterfvEXT")] public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95732,9 +100404,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = &@params) { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params_ptr); @params = *@params_ptr; } } @@ -95743,26 +100415,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] - public static - void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] public static @@ -95799,6 +100451,69 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] + public static + void GetTextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIivEXT")] public static @@ -95829,27 +100544,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] - public static - void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] public static @@ -95873,15 +100567,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterIuivEXT")] public static - unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + void GetTextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -95908,21 +100608,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] - public static - unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] public static @@ -95948,19 +100633,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] public static - void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) + unsafe void GetTextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); - } + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] + public static + unsafe void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); #if DEBUG } #endif @@ -95987,9 +100681,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureParameterivEXT")] public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) + void GetTextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -95997,14 +100691,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -96012,6 +100701,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] public static void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) @@ -96040,13 +100744,24 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glGetTransformFeedbackVaryingEXT")] public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name) + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ExtTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ExtTransformFeedback*)type, (System.Text.StringBuilder)name); + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ExtTransformFeedback* type_ptr = &type) + { + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ExtTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } #if DEBUG } #endif @@ -96144,6 +100859,48 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -96185,119 +100942,7 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] - public static - void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Returns the value of a uniform variable - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the location of the uniform variable to be queried. - /// - /// - /// - /// - /// Returns the value of the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -96332,6 +100977,42 @@ namespace OpenTK.Graphics /// Returns the value of the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [Out] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -96353,9 +101034,50 @@ namespace OpenTK.Graphics #endif } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] + public static + void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96374,6 +101096,47 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] + public static + void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static @@ -96404,51 +101167,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (bool* data_ptr = data) - { - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (bool*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantBooleanvEXT")] - public static - void GetVariantBoolean(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) + void GetVariantBoolean(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out bool data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96467,77 +101188,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = &data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - data = *data_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] - public static - void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* data_ptr = data) - { - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] public static @@ -96581,10 +101231,136 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Single data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* data_ptr = &data) + { + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantFloatvEXT")] + public static + unsafe void GetVariantFloat(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Single*)data); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] + public static + void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96603,9 +101379,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) + void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] out Int32 data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -96639,151 +101416,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - unsafe void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantIntegervEXT")] - public static - void GetVariantInteger(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32[] data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* data_ptr = data) - { - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (Int32*)data_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) - where T2 : struct + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); #if DEBUG } #endif @@ -96804,47 +101445,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] - public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) where T2 : struct { #if DEBUG @@ -96912,6 +101516,123 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static @@ -96934,6 +101655,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static @@ -96949,27 +101691,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] - public static - void GetVertexAttribI(Int32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glGetVertexAttribIivEXT")] public static @@ -97046,6 +101767,7 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the histogramming process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the minmax process after histogramming. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glHistogramEXT")] public static void Histogram(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -97107,9 +101829,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) where T3 : struct { #if DEBUG @@ -97149,6 +101872,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) @@ -97191,6 +101915,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -97224,6 +101949,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) @@ -97266,9 +101992,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first index in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -97318,9 +102045,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97332,10 +102060,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawBuffers2", Version = "2.0", EntryPoint = "glIsEnabledIndexedEXT")] public static - bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index) + bool IsEnabledIndexed(OpenTK.Graphics.ExtDrawBuffers2 target, Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97376,20 +102103,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] - public static - bool IsRenderbuffer(Int32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] public static @@ -97405,24 +102118,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Determine if a name corresponds to a texture - /// - /// - /// - /// Specifies a value that may be the name of a texture. - /// - /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] + [AutoGenerated(Category = "ExtFramebufferObject", Version = "1.2", EntryPoint = "glIsRenderbufferEXT")] public static - bool IsTexture(Int32 texture) + bool IsRenderbuffer(Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - return Delegates.glIsTextureEXT((UInt32)texture); + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); #if DEBUG } #endif @@ -97437,6 +102141,7 @@ namespace OpenTK.Graphics /// Specifies a value that may be the name of a texture. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] public static @@ -97452,9 +102157,34 @@ namespace OpenTK.Graphics #endif } + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// + + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glIsTextureEXT((UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] public static - bool IsVariantEnabled(Int32 id, OpenTK.Graphics.ExtVertexShader cap) + bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.ExtVertexShader cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97466,10 +102196,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glIsVariantEnabledEXT")] public static - bool IsVariantEnabled(UInt32 id, OpenTK.Graphics.ExtVertexShader cap) + bool IsVariantEnabled(Int32 id, OpenTK.Graphics.ExtVertexShader cap) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97539,26 +102268,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] - public static - void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] public static @@ -97594,6 +102303,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoaddEXT")] + public static + void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Double[] m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] + public static + unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] public static void MatrixLoad(OpenTK.Graphics.MatrixMode mode, ref Single m) @@ -97634,21 +102378,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadfEXT")] - public static - unsafe void MatrixLoad(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadIdentityEXT")] public static void MatrixLoadIdentity(OpenTK.Graphics.MatrixMode mode) @@ -97663,6 +102392,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] + public static + unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] public static void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Double m) @@ -97683,21 +102427,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] - public static - unsafe void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposedEXT")] public static void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) @@ -97718,6 +102447,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] + public static + void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] public static @@ -97753,26 +102502,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixLoadTransposefEXT")] - public static - void MatrixLoadTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* m_ptr = &m) - { - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static @@ -97788,26 +102517,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] - public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double[] m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Double m) @@ -97828,9 +102537,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultdEXT")] public static - void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Single m) + void MatrixMult(OpenTK.Graphics.MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -97838,9 +102547,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* m_ptr = &m) + fixed (Double* m_ptr = m) { - Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + Delegates.glMatrixMultdEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); } } #if DEBUG @@ -97868,6 +102577,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] + public static + void MatrixMult(OpenTK.Graphics.MatrixMode mode, ref Single m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* m_ptr = &m) + { + Delegates.glMatrixMultfEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultfEXT")] public static @@ -97883,21 +102612,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] public static - void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) + unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* m_ptr = m) - { - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); - } - } + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); #if DEBUG } #endif @@ -97923,16 +102647,36 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposedEXT")] public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double* m) + void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Double[] m) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m); + unsafe + { + fixed (Double* m_ptr = m) + { + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.MatrixMode)mode, (Double*)m_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] + public static + unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); #if DEBUG } #endif @@ -97958,21 +102702,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] - public static - unsafe void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, Single* m) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.MatrixMode)mode, (Single*)m); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMatrixMultTransposefEXT")] public static void MatrixMultTranspose(OpenTK.Graphics.MatrixMode mode, ref Single m) @@ -98138,6 +102867,7 @@ namespace OpenTK.Graphics /// If GL_TRUE, pixels will be consumed by the minmax process and no drawing or texture loading will take place. If GL_FALSE, pixels will proceed to the final conversion process after minmax. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] public static void Minmax(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -98176,51 +102906,7 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] - public static - void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* first_ptr = first) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives from array data - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of starting indices in the enabled arrays. - /// - /// - /// - /// - /// Points to an array of the number of indices to be rendered. - /// - /// - /// - /// - /// Specifies the size of the first and count - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static @@ -98260,6 +102946,7 @@ namespace OpenTK.Graphics /// Specifies the size of the first and count /// /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) @@ -98285,148 +102972,32 @@ namespace OpenTK.Graphics /// - /// Render multiple sets of primitives by specifying indices of array data elements + /// Render multiple sets of primitives from array data /// /// /// /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. /// /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// /// /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. + /// Points to an array of the number of indices to be rendered. /// /// /// /// - /// Specifies the size of the count array. + /// Specifies the size of the first and count /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct + void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98434,17 +103005,10 @@ namespace OpenTK.Graphics #endif unsafe { + fixed (Int32* first_ptr = first) fixed (Int32* count_ptr = count) { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount); } } #if DEBUG @@ -98481,205 +103045,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = count) - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) @@ -98738,63 +103104,10 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) - where T3 : struct + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -98802,17 +103115,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* count_ptr = &count) + fixed (Int32* count_ptr = count) { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); } } #if DEBUG @@ -98849,64 +103154,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// - [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] - public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); - } - finally - { - indices_ptr.Free(); - } - } - } - #if DEBUG - } - #endif - } - - /// - /// Render multiple sets of primitives by specifying indices of array data elements - /// - /// - /// - /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. - /// - /// - /// - /// - /// Points to an array of the elements counts. - /// - /// - /// - /// - /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. - /// - /// - /// - /// - /// Specifies a pointer to the location where the indices are stored. - /// - /// - /// - /// - /// Specifies the size of the count array. - /// - /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) @@ -98965,6 +103213,125 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) @@ -99023,6 +103390,214 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) @@ -99072,6 +103647,7 @@ namespace OpenTK.Graphics /// Specifies the size of the count array. /// /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) @@ -99101,6 +103677,178 @@ namespace OpenTK.Graphics #endif } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexBufferEXT")] public static @@ -99130,6 +103878,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) @@ -99176,43 +103947,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] - public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) @@ -99236,6 +103970,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexEnvfEXT")] public static void MultiTexEnv(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) @@ -99348,26 +104096,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] - public static - void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] public static void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double[] @params) @@ -99403,6 +104131,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGendvEXT")] + public static + void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexGenfEXT")] public static void MultiTexGen(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) @@ -99501,6 +104249,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -99561,29 +104332,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] - public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) @@ -99609,7 +104357,30 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) where T9 : struct { #if DEBUG @@ -99646,7 +104417,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -99690,10 +104461,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99702,7 +104473,30 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -99773,52 +104567,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] - public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfEXT")] public static void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) @@ -99833,21 +104581,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] - public static - unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] public static void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) @@ -99868,6 +104601,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterfvEXT")] + public static + unsafe void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameteriEXT")] public static void MultiTexParameter(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) @@ -99897,26 +104645,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] - public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] public static void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) @@ -99937,10 +104665,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIivEXT")] public static - void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -99948,9 +104675,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -99958,6 +104685,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] + public static + unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] public static @@ -99982,13 +104724,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexParameterIuivEXT")] public static - unsafe void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) + void MultiTexParameterI(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -100060,22 +104808,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) - where T7 : struct + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -100104,29 +104843,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] - public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) @@ -100152,13 +104868,68 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -100187,6 +104958,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) @@ -100224,10 +105018,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100236,30 +105030,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] - public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -100284,52 +105055,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] - public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) @@ -100353,6 +105078,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) @@ -100376,6 +105124,53 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static void NamedBufferData(Int32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) @@ -100390,6 +105185,44 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) @@ -100413,6 +105246,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static @@ -100484,10 +105341,11 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100496,7 +105354,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -100507,10 +105365,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100519,7 +105377,53 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -100531,10 +105435,10 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100543,46 +105447,7 @@ namespace OpenTK.Graphics GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ExtDirectStateAccess)usage); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] - public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); } finally { @@ -100646,29 +105511,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static @@ -100716,95 +105558,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct + void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] - public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); - } - finally - { - data_ptr.Free(); - } + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); #if DEBUG } #endif @@ -100824,25 +105587,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferRenderbufferEXT")] - public static - void NamedFramebufferRenderbuffer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (OpenTK.Graphics.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] public static - void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) + void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100854,9 +105601,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture1DEXT")] public static - void NamedFramebufferTexture1D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level) + void NamedFramebufferTexture1D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100897,10 +105645,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] public static - void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100912,9 +105659,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTexture3DEXT")] public static - void NamedFramebufferTexture3D(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, Int32 texture, Int32 level, Int32 zoffset) + void NamedFramebufferTexture3D(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -100984,6 +105732,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + public static + void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] public static void NamedFramebufferTextureLayer(Int32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) @@ -100998,16 +105761,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedFramebufferTextureLayerEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] public static - void NamedFramebufferTextureLayer(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); #if DEBUG } #endif @@ -101028,15 +105790,22 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Double x, Double y, Double z, Double w) + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } #if DEBUG } #endif @@ -101083,47 +105852,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] public static @@ -101154,6 +105882,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4dvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fEXT")] public static @@ -101183,6 +105931,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static @@ -101204,6 +105987,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] + public static + void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Single[] @params) @@ -101224,27 +106028,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] public static @@ -101260,56 +106043,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - unsafe void NamedProgramLocalParameter4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameter4fvEXT")] - public static - void NamedProgramLocalParameter4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] public static void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) @@ -101325,23 +106058,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4iEXT")] public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params) + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Int32 @params) + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101400,25 +106134,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] public static - unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref Int32 @params) + void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101436,6 +106154,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4ivEXT")] + public static + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uiEXT")] public static @@ -101451,42 +106199,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] - public static - unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] public static @@ -101509,9 +106221,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] public static - void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) + unsafe void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameterI4uivEXT")] + public static + void NamedProgramLocalParameterI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101519,9 +106246,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (UInt32* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -101544,6 +106271,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] + public static + unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] public static void NamedProgramLocalParameters4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Single[] @params) @@ -101567,13 +106309,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParameters4fvEXT")] public static - unsafe void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + void NamedProgramLocalParameters4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -101623,28 +106371,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] public static - unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - #if DEBUG + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); #if DEBUG } #endif @@ -101670,6 +106409,56 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + public static + unsafe void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] public static @@ -101692,9 +106481,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref Int32 @params) + void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101702,29 +106491,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = &@params) { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4ivEXT")] - public static - void NamedProgramLocalParametersI4(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); } } #if DEBUG @@ -101768,31 +106537,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramLocalParametersI4uivEXT")] - public static - void NamedProgramLocalParametersI4(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) where T4 : struct { #if DEBUG @@ -101813,43 +106561,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] - public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) @@ -101897,9 +106608,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) where T4 : struct { #if DEBUG @@ -101920,10 +106647,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) where T4 : struct { #if DEBUG @@ -101967,10 +106693,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -101985,7 +106710,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) where T4 : struct { #if DEBUG @@ -102006,9 +106731,33 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] public static - void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102020,10 +106769,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageEXT")] public static - void NamedRenderbufferStorage(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + void NamedRenderbufferStorage(Int32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102064,6 +106812,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] + public static + void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] public static @@ -102079,20 +106841,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedRenderbufferStorageMultisampleEXT")] - public static - void NamedRenderbufferStorageMultisample(Int32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - #if DEBUG - } - #endif - } - /// /// Define an array of normals @@ -102112,81 +106860,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] - public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of normals - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) @@ -102229,6 +106903,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) @@ -102271,6 +106946,41 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) @@ -102294,6 +107004,49 @@ namespace OpenTK.Graphics #endif } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtPixelTransform", Version = "1.1", EntryPoint = "glPixelTransformParameterfEXT")] public static void PixelTransformParameter(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single param) @@ -102366,6 +107119,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] public static void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single param) @@ -102394,6 +107148,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] public static void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single[] @params) @@ -102428,6 +107183,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvEXT")] public static @@ -102457,6 +107213,7 @@ namespace OpenTK.Graphics /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtPolygonOffset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] public static void PolygonOffset(Single factor, Single bias) @@ -102490,87 +107247,7 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] - public static - void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* textures_ptr = &textures) - fixed (Single* priorities_ptr = &priorities) - { - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Set texture residence priority - /// - /// - /// - /// Specifies the number of textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the names of the textures to be prioritized. - /// - /// - /// - /// - /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. - /// - /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) @@ -102611,6 +107288,7 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -102652,6 +107330,49 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref UInt32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -102686,6 +107407,7 @@ namespace OpenTK.Graphics /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -102701,6 +107423,47 @@ namespace OpenTK.Graphics #endif } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// + + [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] + public static + void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + fixed (Single* priorities_ptr = &priorities) + { + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures_ptr, (Single*)priorities_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramEnvParameters4fvEXT")] public static void ProgramEnvParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, Int32 index, Int32 count, ref Single @params) @@ -102866,7 +107629,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102874,7 +107637,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } @@ -102907,7 +107670,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuProgramParameters", Version = "1.2", EntryPoint = "glProgramLocalParameters4fvEXT")] public static - void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single[] @params) + void ProgramLocalParameters4(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -102915,7 +107678,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Single* @params_ptr = &@params) { Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params_ptr); } @@ -102925,20 +107688,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] - public static - void ProgramParameter(Int32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] public static @@ -102954,15 +107703,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] + [AutoGenerated(Category = "ExtGeometryShader4", Version = "2.0", EntryPoint = "glProgramParameteriEXT")] public static - void ProgramUniform1(Int32 program, Int32 location, Single v0) + void ProgramParameter(Int32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ExtGeometryShader4)pname, (Int32)value); #if DEBUG } #endif @@ -102983,21 +107732,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fEXT")] public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform1(Int32 program, Int32 location, Single v0) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); #if DEBUG } #endif @@ -103006,7 +107749,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103014,7 +107757,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -103054,10 +107797,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103065,7 +107807,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -103096,15 +107838,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1fvEXT")] public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -103125,15 +107873,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1iEXT")] public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); #if DEBUG } #endif @@ -103154,6 +107902,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] public static void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) @@ -103174,6 +107943,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] public static @@ -103195,47 +107999,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1ivEXT")] - public static - void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uiEXT")] public static @@ -103251,6 +108014,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] public static @@ -103293,21 +108071,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform1uivEXT")] - public static - unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fEXT")] public static void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) @@ -103340,7 +108103,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103348,27 +108111,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -103416,7 +108159,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103424,7 +108182,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -103434,16 +108192,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2fvEXT")] public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -103481,36 +108244,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] public static - unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] - public static - void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103531,7 +108265,36 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] public static - void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform2ivEXT")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103621,6 +108384,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] public static @@ -103636,15 +108413,42 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] public static - void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -103721,42 +108525,15 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3fvEXT")] - public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); #if DEBUG } #endif @@ -103777,24 +108554,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3iEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static - void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103812,6 +108574,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static @@ -103856,21 +108648,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] public static - unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -103888,21 +108666,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3ivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uiEXT")] public static @@ -103939,21 +108702,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] - public static - unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] public static @@ -103975,6 +108723,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform3uivEXT")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fEXT")] public static @@ -104004,9 +108767,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104024,10 +108788,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104035,7 +108798,28 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) { Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -104075,10 +108859,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104086,7 +108869,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); } @@ -104096,30 +108879,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4fvEXT")] - public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104131,9 +108893,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4iEXT")] public static - void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104195,10 +108958,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] public static - void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104206,7 +108968,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = &value) + fixed (Int32* value_ptr = value) { Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -104237,9 +108999,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4ivEXT")] public static - void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104247,7 +109010,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* value_ptr = value) + fixed (Int32* value_ptr = &value) { Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); } @@ -104272,21 +109035,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] - public static - unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] public static @@ -104308,6 +109056,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniform4uivEXT")] public static @@ -104332,13 +109095,39 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -104362,19 +109151,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] public static - void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif @@ -104421,9 +109204,30 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2fvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] public static - void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104433,7 +109237,28 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -104456,21 +109281,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] public static void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -104494,81 +109304,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x3fvEXT")] - public static - void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] - public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif @@ -104594,6 +109336,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static @@ -104609,6 +109366,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) @@ -104632,22 +109410,27 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] public static - unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix2x4fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] public static - void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104657,7 +109440,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -104757,9 +109540,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3fvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static - void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104769,7 +109553,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -104777,6 +109561,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static @@ -104795,7 +109614,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104803,7 +109622,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -104834,23 +109653,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static - unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] - public static - void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -104860,7 +109665,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = value) { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -104869,21 +109674,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x2fvEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static - void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); #if DEBUG } #endif @@ -104924,48 +109723,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] - public static - void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) @@ -104989,21 +109746,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix3x4fvEXT")] public static - unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105013,7 +109756,7 @@ namespace OpenTK.Graphics { fixed (Single* value_ptr = &value) { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } } #if DEBUG @@ -105021,16 +109764,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] public static - unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + unsafe + { + fixed (Single* value_ptr = value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } #if DEBUG } #endif @@ -105072,26 +109820,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] - public static - void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = value) - { - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] public static @@ -105113,6 +109841,56 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4fvEXT")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] public static void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) @@ -105154,6 +109932,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] public static @@ -105190,41 +109988,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x2fvEXT")] - public static - void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* value_ptr = &value) - { - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) @@ -105245,9 +110008,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static - void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105255,7 +110019,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = value) + fixed (Single* value_ptr = &value) { Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -105265,6 +110029,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static @@ -105286,40 +110080,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] public static - unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glProgramUniformMatrix4x3fvEXT")] - public static - void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -105327,7 +110090,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* value_ptr = &value) + fixed (Single* value_ptr = value) { Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); } @@ -105402,6 +110165,7 @@ namespace OpenTK.Graphics /// Must be GL_HISTOGRAM. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] public static void ResetHistogram(OpenTK.Graphics.ExtHistogram target) @@ -105425,6 +110189,7 @@ namespace OpenTK.Graphics /// Must be GL_MINMAX. /// /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] public static void ResetMinmax(OpenTK.Graphics.ExtHistogram target) @@ -105476,6 +110241,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bEXT")] public static @@ -105500,6 +110266,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -105524,36 +110291,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] - public static - void SecondaryColor3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -105584,6 +110322,38 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] + public static + void SecondaryColor3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) + { + Delegates.glSecondaryColor3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dEXT")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -105607,35 +110377,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] - public static - void SecondaryColor3(Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static @@ -105660,6 +110402,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static void SecondaryColor3(ref Double v) @@ -105689,6 +110432,37 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] + public static + void SecondaryColor3(Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glSecondaryColor3dvEXT((Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fEXT")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -105712,6 +110486,32 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] + public static + unsafe void SecondaryColor3(Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3fvEXT((Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(ref Single v) @@ -105741,30 +110541,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] - public static - unsafe void SecondaryColor3(Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3fvEXT((Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(Single[] v) @@ -105794,6 +110571,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3iEXT")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -105817,6 +110595,32 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] + public static + unsafe void SecondaryColor3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static void SecondaryColor3(ref Int32 v) @@ -105846,6 +110650,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static void SecondaryColor3(Int32[] v) @@ -105875,30 +110680,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] - public static - unsafe void SecondaryColor3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3sEXT")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -105922,6 +110704,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static @@ -105946,35 +110729,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] - public static - void SecondaryColor3(Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static void SecondaryColor3(ref Int16 v) @@ -106004,6 +110759,37 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] + public static + void SecondaryColor3(Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glSecondaryColor3svEXT((Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -106027,6 +110813,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static @@ -106051,35 +110838,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] - public static - void SecondaryColor3(Byte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set the current secondary color - /// - /// - /// - /// Specify new red, green, and blue values for the current secondary color. - /// - /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static void SecondaryColor3(ref Byte v) @@ -106109,6 +110868,37 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] + public static + void SecondaryColor3(Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glSecondaryColor3ubvEXT((Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uiEXT")] public static @@ -106133,22 +110923,17 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static - void SecondaryColor3(UInt32[] v) + unsafe void SecondaryColor3(UInt32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); - } - } + Delegates.glSecondaryColor3uivEXT((UInt32*)v); #if DEBUG } #endif @@ -106163,6 +110948,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -106193,16 +110979,23 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static - unsafe void SecondaryColor3(UInt32* v) + void SecondaryColor3(UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3uivEXT((UInt32*)v); + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glSecondaryColor3uivEXT((UInt32*)v_ptr); + } + } #if DEBUG } #endif @@ -106217,6 +111010,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usEXT")] public static @@ -106241,22 +111035,17 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static - void SecondaryColor3(UInt16[] v) + unsafe void SecondaryColor3(UInt16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* v_ptr = v) - { - Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); - } - } + Delegates.glSecondaryColor3usvEXT((UInt16*)v); #if DEBUG } #endif @@ -106271,6 +111060,7 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -106301,16 +111091,23 @@ namespace OpenTK.Graphics /// Specify new red, green, and blue values for the current secondary color. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static - unsafe void SecondaryColor3(UInt16* v) + void SecondaryColor3(UInt16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glSecondaryColor3usvEXT((UInt16*)v); + unsafe + { + fixed (UInt16* v_ptr = v) + { + Delegates.glSecondaryColor3usvEXT((UInt16*)v_ptr); + } + } #if DEBUG } #endif @@ -106340,6 +111137,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) @@ -106387,47 +111185,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] - public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of secondary colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) where T3 : struct { #if DEBUG @@ -106472,6 +111233,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) @@ -106519,9 +111281,49 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) where T3 : struct { #if DEBUG @@ -106586,25 +111388,23 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) - where T6 : struct + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { - row_ptr.Free(); column_ptr.Free(); } #if DEBUG @@ -106656,6 +111456,270 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) @@ -106726,76 +111790,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) - where T6 : struct - where T7 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); - } - finally - { - row_ptr.Free(); - column_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) @@ -106866,22 +111861,26 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + where T6 : struct where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { + row_ptr.Free(); column_ptr.Free(); } #if DEBUG @@ -106933,80 +111932,26 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. /// /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] - public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column); - #if DEBUG - } - #endif - } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + where T6 : struct where T7 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); } finally { + row_ptr.Free(); column_ptr.Free(); } #if DEBUG @@ -107014,134 +111959,47 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) - where T7 : struct + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } #endif } - - /// - /// Define a separable two-dimensional convolution filter - /// - /// - /// - /// Must be GL_SEPARABLE_2D. - /// - /// - /// - /// - /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) - /// - /// - /// - /// - /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) - /// - /// - /// - /// - /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. - /// - /// - [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) - where T7 : struct + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); } finally { - column_ptr.Free(); + addr_ptr.Free(); } #if DEBUG } @@ -107171,10 +112029,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) where T2 : struct { #if DEBUG @@ -107219,6 +112076,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static @@ -107234,29 +112105,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static @@ -107281,66 +112129,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] - public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static @@ -107365,9 +112153,56 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) where T2 : struct { #if DEBUG @@ -107412,9 +112247,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) where T2 : struct { #if DEBUG @@ -107464,10 +112300,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) where T2 : struct { #if DEBUG @@ -107558,34 +112393,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] - public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1) + void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107597,9 +112407,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glShaderOp1EXT")] public static - void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, Int32 res, Int32 arg1) + void ShaderOp1(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107756,10 +112567,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - void Tangent3(ref SByte v) + void Tangent3(ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107767,7 +112577,58 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (SByte* v_ptr = &v) + fixed (Byte* v_ptr = &v) + { + Delegates.glTangent3bvEXT((SByte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + unsafe void Tangent3(SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + unsafe void Tangent3(Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3bvEXT((SByte*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] + public static + void Tangent3(SByte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (SByte* v_ptr = v) { Delegates.glTangent3bvEXT((SByte*)v_ptr); } @@ -107800,21 +112661,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] public static - unsafe void Tangent3(Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(ref Byte v) + void Tangent3(ref SByte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107822,7 +112669,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* v_ptr = &v) + fixed (SByte* v_ptr = &v) { Delegates.glTangent3bvEXT((SByte*)v_ptr); } @@ -107832,42 +112679,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] - public static - void Tangent3(SByte[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (SByte* v_ptr = v) - { - Delegates.glTangent3bvEXT((SByte*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3bvEXT")] - public static - unsafe void Tangent3(SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3bvEXT((SByte*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3dEXT")] public static void Tangent3(Double tx, Double ty, Double tz) @@ -107953,7 +112764,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] public static - void Tangent3(ref Single v) + void Tangent3(Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107961,7 +112772,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (Single* v_ptr = v) { Delegates.glTangent3fvEXT((Single*)v_ptr); } @@ -107988,7 +112799,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3fvEXT")] public static - void Tangent3(Single[] v) + void Tangent3(ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -107996,7 +112807,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glTangent3fvEXT((Single*)v_ptr); } @@ -108020,6 +112831,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] + public static + unsafe void Tangent3(Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3ivEXT((Int32*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] public static void Tangent3(ref Int32 v) @@ -108040,21 +112866,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] - public static - unsafe void Tangent3(Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangent3ivEXT((Int32*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3ivEXT")] public static void Tangent3(Int32[] v) @@ -108089,6 +112900,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + public static + unsafe void Tangent3(Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangent3svEXT((Int16*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] public static void Tangent3(ref Int16 v) @@ -108129,16 +112955,38 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangent3svEXT")] + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - unsafe void Tangent3(Int16* v) + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTangent3svEXT((Int16*)v); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -108213,38 +113061,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) - where T2 : struct + void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] - public static - void TangentPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTangentPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); #if DEBUG } #endif @@ -108264,21 +113090,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureBufferObject", Version = "2.0", EntryPoint = "glTexBufferEXT")] - public static - void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexBufferEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.ExtTextureBufferObject)internalformat, (UInt32)buffer); - #if DEBUG - } - #endif - } - /// /// Define an array of texture coordinates @@ -108303,100 +113114,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -108435,6 +113153,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) @@ -108482,6 +113201,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) @@ -108506,6 +113226,102 @@ namespace OpenTK.Graphics } + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Specify a three-dimensional texture image /// @@ -108559,151 +113375,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] - public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture image - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. - /// - /// - /// - /// - /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. - /// - /// - /// - /// - /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. - /// - /// - /// - /// - /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. - /// - /// - /// - /// - /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. - /// - /// - /// - /// - /// Specifies the width of the border. Must be either 0 or 1. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) @@ -108781,9 +113453,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -108858,6 +113531,76 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) @@ -108881,6 +113624,99 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] + public static + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] public static void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) @@ -108921,36 +113757,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] - public static - unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static @@ -108993,54 +113799,16 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtTextureInteger", Version = "2.0", EntryPoint = "glTexParameterIuivEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + unsafe void TexParameterI(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params); #if DEBUG } #endif @@ -109085,6 +113853,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) @@ -109147,68 +113916,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] - public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a one-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_1D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) @@ -109271,6 +113979,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) @@ -109296,11 +114005,11 @@ namespace OpenTK.Graphics /// - /// Specify a two-dimensional texture subimage + /// Specify a one-dimensional texture subimage /// /// /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// Specifies the target texture. Must be GL_TEXTURE_1D. /// /// /// @@ -109313,21 +114022,11 @@ namespace OpenTK.Graphics /// Specifies a texel offset in the x direction within the texture array. /// /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// /// /// /// Specifies the width of the texture subimage. /// /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// /// /// /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. @@ -109343,10 +114042,11 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -109355,7 +114055,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -109367,6 +114067,60 @@ namespace OpenTK.Graphics } + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + /// /// Specify a two-dimensional texture subimage /// @@ -109415,78 +114169,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] - public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a two-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) @@ -109559,6 +114242,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) @@ -109631,6 +114388,80 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -109704,6 +114535,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) @@ -109786,170 +114618,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// - [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] - public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Specify a three-dimensional texture subimage - /// - /// - /// - /// Specifies the target texture. Must be GL_TEXTURE_3D. - /// - /// - /// - /// - /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - /// - /// - /// - /// - /// Specifies a texel offset in the x direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the y direction within the texture array. - /// - /// - /// - /// - /// Specifies a texel offset in the z direction within the texture array. - /// - /// - /// - /// - /// Specifies the width of the texture subimage. - /// - /// - /// - /// - /// Specifies the height of the texture subimage. - /// - /// - /// - /// - /// Specifies the depth of the texture subimage. - /// - /// - /// - /// - /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. - /// - /// - /// - /// - /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Specifies a pointer to the image data in memory. - /// - /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) @@ -110032,6 +114701,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the image data in memory. /// /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -110046,6 +114716,172 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureBufferEXT")] public static void TextureBuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 buffer) @@ -110078,7 +114914,53 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) where T8 : struct { #if DEBUG @@ -110125,13 +115007,22 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } #if DEBUG } #endif @@ -110151,47 +115042,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) - where T8 : struct + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] - public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); #if DEBUG } #endif @@ -110245,10 +115105,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) where T8 : struct { #if DEBUG @@ -110269,10 +115128,11 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) - where T8 : struct + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -110281,7 +115141,7 @@ namespace OpenTK.Graphics GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); } finally { @@ -110292,35 +115152,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) @@ -110344,30 +115175,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) @@ -110391,30 +115198,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] - public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) @@ -110464,7 +115247,37 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) where T9 : struct { #if DEBUG @@ -110509,6 +115322,100 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) @@ -110535,7 +115442,54 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) where T10 : struct { #if DEBUG @@ -110608,124 +115562,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] - public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) - where T10 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtLightTexture", Version = "1.1", EntryPoint = "glTextureLightEXT")] public static void TextureLight(OpenTK.Graphics.ExtLightTexture pname) @@ -110797,6 +115633,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] + public static + void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] public static @@ -110833,26 +115689,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] - public static - void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterfvEXT")] public static @@ -110868,6 +115704,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] + public static + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] public static void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) @@ -110883,15 +115734,41 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameteriEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32)param); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + public static + void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -110920,7 +115797,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -110928,7 +115805,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } @@ -110968,30 +115845,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] - public static - void TextureParameterI(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, ref Int32 @params) + void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -110999,9 +115856,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (UInt32* @params_ptr = @params) { - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); } } #if DEBUG @@ -111046,9 +115903,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterIuivEXT")] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] public static - void TextureParameterI(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32[] @params) + void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -111056,9 +115913,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (UInt32*)@params_ptr); + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -111066,36 +115923,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] - public static - unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] public static void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) @@ -111119,28 +115946,36 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] public static - void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32[] @params) + unsafe void TextureParameter(Int32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params_ptr); - } - } + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); #if DEBUG } #endif } [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureParameterivEXT")] + public static + unsafe void TextureParameter(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] public static - void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) + void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -111152,9 +115987,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureRenderbufferEXT")] public static - void TextureRenderbuffer(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) + void TextureRenderbuffer(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -111191,7 +116027,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) where T7 : struct { #if DEBUG @@ -111260,9 +116096,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) where T7 : struct { #if DEBUG @@ -111283,21 +116120,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] - public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -111336,10 +116158,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) where T7 : struct { #if DEBUG @@ -111360,6 +116181,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) @@ -111383,6 +116219,53 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static @@ -111454,53 +116337,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) - where T9 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) @@ -111524,35 +116360,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] - public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) @@ -111576,6 +116383,35 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static @@ -111600,33 +116436,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) where T11 : struct { #if DEBUG @@ -111694,6 +116506,82 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static @@ -111744,22 +116632,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) where T11 : struct { #if DEBUG @@ -111780,43 +116653,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) - where T11 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try - { - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] - public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtTransformFeedback", Version = "2.0", EntryPoint = "glTransformFeedbackVaryingsEXT")] public static void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode) @@ -111860,6 +116696,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static void Uniform1(Int32 location, Int32 v0) @@ -111888,6 +116725,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static @@ -111917,69 +116755,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - unsafe void Uniform1(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -112015,6 +116791,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -112044,6 +116821,107 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -112079,40 +116957,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] - public static - void Uniform1(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] public static @@ -112142,6 +116987,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -112170,6 +117016,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -112205,6 +117052,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -112234,6 +117117,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] public static @@ -112269,69 +117183,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] - public static - unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uivEXT")] - public static - void Uniform2(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -112360,6 +117212,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static @@ -112389,6 +117242,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -112423,6 +117277,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -112458,6 +117313,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -112487,6 +117343,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -112516,40 +117373,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] - public static - void Uniform3(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -112585,15 +117409,22 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static - void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + void Uniform3(Int32 location, Int32 count, Int32[] value) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } #if DEBUG } #endif @@ -112613,6 +117444,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] public static @@ -112642,6 +117474,166 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] + public static + void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + + [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -112677,132 +117669,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified uniform variable. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - unsafe void Uniform4(Int32 location, Int32 count, Int32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, ref Int32 value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = &value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// - [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] - public static - void Uniform4(Int32 location, Int32 count, Int32[] value) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* value_ptr = value) - { - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specify the value of a uniform variable for the current program object - /// - /// - /// - /// Specifies the location of the uniform variable to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified uniform variable. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -112824,9 +117691,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static - void UniformBuffer(Int32 program, Int32 location, Int32 buffer) + void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112838,10 +117706,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtBindableUniform", Version = "2.0", EntryPoint = "glUniformBufferEXT")] public static - void UniformBuffer(UInt32 program, Int32 location, UInt32 buffer) + void UniformBuffer(Int32 program, Int32 location, Int32 buffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112917,21 +117784,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] - public static - unsafe void Variant(UInt32 id, SByte* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] public static @@ -112953,9 +117805,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantbvEXT")] + public static + unsafe void Variant(UInt32 id, SByte* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void Variant(Int32 id, ref Double addr) + void Variant(UInt32 id, ref Double addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -112973,6 +117841,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] + public static + void Variant(UInt32 id, Double[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* addr_ptr = addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static void Variant(Int32 id, Double[] addr) @@ -112996,40 +117885,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - void Variant(UInt32 id, Double[] addr) + unsafe void Variant(UInt32 id, Double* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Double* addr_ptr = addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] - public static - void Variant(UInt32 id, ref Double addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* addr_ptr = &addr) - { - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); - } - } + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); #if DEBUG } #endif @@ -113050,16 +117912,71 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantdvEXT")] public static - unsafe void Variant(UInt32 id, Double* addr) + void Variant(Int32 id, ref Double addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + unsafe + { + fixed (Double* addr_ptr = &addr) + { + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + void Variant(Int32 id, ref Single addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* addr_ptr = &addr) + { + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + unsafe void Variant(UInt32 id, Single* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] + public static + unsafe void Variant(Int32 id, Single* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); #if DEBUG } #endif @@ -113127,56 +118044,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(Int32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - unsafe void Variant(UInt32 id, Single* addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantfvEXT")] - public static - void Variant(Int32 id, ref Single addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* addr_ptr = &addr) - { - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static @@ -113242,7 +118109,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static - unsafe void Variant(Int32 id, Int32* addr) + unsafe void Variant(UInt32 id, Int32* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113257,7 +118124,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantivEXT")] public static - unsafe void Variant(UInt32 id, Int32* addr) + unsafe void Variant(Int32 id, Int32* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113289,30 +118156,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) @@ -113338,7 +118181,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) where T3 : struct { #if DEBUG @@ -113362,7 +118205,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) where T3 : struct { #if DEBUG @@ -113407,53 +118250,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] - public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); - try - { - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); - } - finally - { - addr_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static @@ -113483,6 +118279,54 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) @@ -113506,36 +118350,23 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - unsafe void Variant(UInt32 id, Int16* addr) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - #if DEBUG + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, ref Int16 addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - unsafe - { - fixed (Int16* addr_ptr = &addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } + addr_ptr.Free(); } #if DEBUG } @@ -113562,27 +118393,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] - public static - void Variant(UInt32 id, Int16[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* addr_ptr = addr) - { - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static void Variant(Int32 id, ref Int16 addr) @@ -113603,6 +118413,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(UInt32 id, ref Int16 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = &addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] public static @@ -113618,16 +118449,78 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + void Variant(UInt32 id, Int16[] addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* addr_ptr = addr) + { + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantsvEXT")] + public static + unsafe void Variant(UInt32 id, Int16* addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - unsafe void Variant(UInt32 id, Byte* addr) + void Variant(UInt32 id, ref Byte addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] + public static + void Variant(Int32 id, ref Byte addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* addr_ptr = &addr) + { + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); + } + } #if DEBUG } #endif @@ -113674,42 +118567,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] - public static - void Variant(Int32 id, ref Byte addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantubvEXT")] public static - void Variant(UInt32 id, ref Byte addr) + unsafe void Variant(UInt32 id, Byte* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* addr_ptr = &addr) - { - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr_ptr); - } - } + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); #if DEBUG } #endif @@ -113730,27 +118597,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] - public static - void Variant(UInt32 id, UInt32[] addr) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* addr_ptr = addr) - { - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static @@ -113788,15 +118634,42 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantuivEXT")] public static - unsafe void Variant(UInt32 id, UInt16* addr) + void Variant(UInt32 id, UInt32[] addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + unsafe + { + fixed (UInt32* addr_ptr = addr) + { + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] + public static + void Variant(UInt32 id, ref UInt16 addr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt16* addr_ptr = &addr) + { + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); + } + } #if DEBUG } #endif @@ -113826,33 +118699,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantusvEXT")] public static - void Variant(UInt32 id, ref UInt16 addr) + unsafe void Variant(UInt32 id, UInt16* addr) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt16* addr_ptr = &addr) - { - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] - public static - void VertexAttribI1(Int32 index, Int32 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); #if DEBUG } #endif @@ -113873,10 +118726,24 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1iEXT")] + public static + void VertexAttribI1(Int32 index, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] public static - unsafe void VertexAttribI1(Int32 index, Int32* v) + unsafe void VertexAttribI1(UInt32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113891,7 +118758,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI1ivEXT")] public static - unsafe void VertexAttribI1(UInt32 index, Int32* v) + unsafe void VertexAttribI1(Int32 index, Int32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -113933,6 +118800,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + public static + void VertexAttribI2(Int32 index, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] public static @@ -113948,15 +118829,42 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2iEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] public static - void VertexAttribI2(Int32 index, Int32 x, Int32 y) + void VertexAttribI2(UInt32 index, ref Int32 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] + public static + void VertexAttribI2(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -114033,47 +118941,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(Int32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2ivEXT")] - public static - void VertexAttribI2(UInt32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uiEXT")] public static @@ -114110,21 +118977,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] - public static - unsafe void VertexAttribI2(UInt32 index, UInt32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] public static @@ -114146,6 +118998,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI2uivEXT")] + public static + unsafe void VertexAttribI2(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3iEXT")] public static @@ -114175,6 +119042,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] + public static + unsafe void VertexAttribI3(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static void VertexAttribI3(Int32 index, ref Int32 v) @@ -114198,13 +119095,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] public static - unsafe void VertexAttribI3(Int32 index, Int32* v) + void VertexAttribI3(UInt32 index, Int32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); + } + } #if DEBUG } #endif @@ -114251,42 +119154,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - unsafe void VertexAttribI3(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3ivEXT")] - public static - void VertexAttribI3(UInt32 index, Int32[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uiEXT")] public static @@ -114305,19 +119172,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] public static - void VertexAttribI3(UInt32 index, UInt32[] v) + unsafe void VertexAttribI3(UInt32 index, UInt32* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* v_ptr = v) - { - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); - } - } + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); #if DEBUG } #endif @@ -114347,13 +119208,34 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI3uivEXT")] public static - unsafe void VertexAttribI3(UInt32 index, UInt32* v) + void VertexAttribI3(UInt32 index, UInt32[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + unsafe + { + fixed (UInt32* v_ptr = v) + { + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, SByte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); #if DEBUG } #endif @@ -114380,21 +119262,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, SByte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4bvEXT")] public static @@ -114445,6 +119312,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] public static @@ -114466,6 +119368,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] public static void VertexAttribI4(Int32 index, Int32[] v) @@ -114486,26 +119409,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(Int32 index, ref Int32 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* v_ptr = &v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] public static @@ -114521,25 +119424,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static - unsafe void VertexAttribI4(UInt32 index, Int32* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ivEXT")] - public static - void VertexAttribI4(UInt32 index, Int32[] v) + void VertexAttribI4(Int32 index, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114547,63 +119434,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* v_ptr = v) - { - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] - public static - void VertexAttribI4(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); } @@ -114636,7 +119467,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static - void VertexAttribI4(Int32 index, Int16[] v) + void VertexAttribI4(Int32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -114644,7 +119475,28 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] + public static + void VertexAttribI4(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v_ptr); } @@ -114669,21 +119521,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4svEXT")] public static - void VertexAttribI4(Int32 index, Byte[] v) + unsafe void VertexAttribI4(UInt32 index, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); #if DEBUG } #endif @@ -114704,6 +119551,47 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(UInt32 index, ref Byte v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] + public static + void VertexAttribI4(Int32 index, Byte[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* v_ptr = v) + { + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static @@ -114728,19 +119616,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] public static - void VertexAttribI4(UInt32 index, ref Byte v) + unsafe void VertexAttribI4(UInt32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = &v) - { - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -114766,21 +119648,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4ubvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4uiEXT")] public static @@ -114853,21 +119720,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] - public static - unsafe void VertexAttribI4(UInt32 index, UInt16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] public static @@ -114910,24 +119762,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribI4usvEXT")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + unsafe void VertexAttribI4(UInt32 index, UInt16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); #if DEBUG } #endif @@ -114936,31 +119780,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) where T4 : struct { #if DEBUG @@ -115028,38 +119862,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] - public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -115082,7 +119888,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -115127,39 +119933,62 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -115189,6 +120018,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) @@ -115236,6 +120066,55 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) @@ -115283,24 +120162,16 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) - where T4 : struct + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); #if DEBUG } #endif @@ -115330,9 +120201,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) where T4 : struct { #if DEBUG @@ -115535,6 +120407,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[,] @string) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static void StringMarker(Int32 len, [In, Out] T1[,,] @string) @@ -115572,29 +120467,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] - public static - void StringMarker(Int32 len, [In, Out] T1[,] @string) - where T1 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); - try - { - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); - } - finally - { - @string_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static void StringMarker(Int32 len, [In, Out] ref T1 @string) @@ -115820,21 +120692,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] - public static - unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] public static void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32[] @params) @@ -115855,13 +120712,28 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "HpImageTransform", Version = "1.1", EntryPoint = "glImageTransformParameterivHP")] + public static + unsafe void ImageTransformParameter(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.HpImageTransform)target, (OpenTK.Graphics.HpImageTransform)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + } public static partial class Ibm { [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -115898,7 +120770,30 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) where T3 : struct { #if DEBUG @@ -115942,24 +120837,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) - where T3 : struct + unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride); #if DEBUG } #endif @@ -116005,16 +120892,24 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glEdgeFlagPointerListIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] public static - unsafe void EdgeFlagPointerList(Int32 stride, bool* pointer, Int32 ptrstride) + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool*)pointer, (Int32)ptrstride); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -116057,52 +120952,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] - public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] public static void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) @@ -116126,6 +120975,52 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] public static void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) @@ -116149,6 +121044,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] public static void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) @@ -116186,52 +121104,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] - public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] public static void MultiModeDrawArrays(ref OpenTK.Graphics.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount, Int32 modestride) @@ -116254,21 +121126,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] - public static - unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] public static void MultiModeDrawArrays(OpenTK.Graphics.BeginMode[] mode, Int32[] first, Int32[] count, Int32 primcount, Int32 modestride) @@ -116291,9 +121148,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawArraysIBM")] + public static + unsafe void MultiModeDrawArrays(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -116303,28 +121176,6 @@ namespace OpenTK.Graphics { fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) { GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try @@ -116374,7 +121225,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -116402,6 +121253,45 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) @@ -116432,51 +121322,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) - fixed (Int32* count_ptr = count) - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) @@ -116507,6 +121352,108 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) @@ -116540,22 +121487,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -116603,7 +121535,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) where T3 : struct { #if DEBUG @@ -116624,60 +121556,23 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) - where T3 : struct + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + where T2 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } + Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] - public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) + finally { - #endif - unsafe - { - fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) - fixed (Int32* count_ptr = &count) - { - GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); - } - finally - { - indices_ptr.Free(); - } - } + pointer_ptr.Free(); } #if DEBUG } @@ -116721,29 +121616,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] - public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) @@ -116769,7 +121641,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) where T2 : struct { #if DEBUG @@ -117136,6 +122008,7 @@ namespace OpenTK.Graphics /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. /// /// + [AutoGenerated(Category = "IngrBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateINGR")] public static void BlendFuncSeparate(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha) @@ -117178,6 +122051,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) @@ -117225,6 +122099,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) @@ -117263,6 +122138,55 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) @@ -117310,6 +122234,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) @@ -117334,53 +122259,6 @@ namespace OpenTK.Graphics } - /// - /// Define an array of colors - /// - /// - /// - /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] - public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// /// Define an array of normals /// @@ -117399,6 +122277,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,] pointer) @@ -117441,6 +122320,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,,] pointer) @@ -117483,6 +122363,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[] pointer) @@ -117525,6 +122406,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer) @@ -117558,6 +122440,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] ref T1 pointer) @@ -117605,138 +122488,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] - public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - - /// - /// Define an array of texture coordinates - /// - /// - /// - /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) @@ -117784,6 +122536,94 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) @@ -117808,6 +122648,54 @@ namespace OpenTK.Graphics } + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Define an array of vertex data /// @@ -117831,9 +122719,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -117878,91 +122767,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] - public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of vertex data - /// - /// - /// - /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) @@ -118010,9 +122815,97 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -118060,6 +122953,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dMESA")] public static void WindowPos2(Double x, Double y) @@ -118083,6 +122977,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static @@ -118107,6 +123002,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static void WindowPos2(ref Double v) @@ -118136,6 +123032,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static void WindowPos2(Double[] v) @@ -118165,6 +123062,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fMESA")] public static void WindowPos2(Single x, Single y) @@ -118188,6 +123086,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static @@ -118212,6 +123111,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(ref Single v) @@ -118241,6 +123141,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(Single[] v) @@ -118270,6 +123171,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iMESA")] public static void WindowPos2(Int32 x, Int32 y) @@ -118293,6 +123195,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static @@ -118317,6 +123220,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static void WindowPos2(ref Int32 v) @@ -118346,6 +123250,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static void WindowPos2(Int32[] v) @@ -118375,6 +123280,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sMESA")] public static void WindowPos2(Int16 x, Int16 y) @@ -118398,6 +123304,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static @@ -118422,6 +123329,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static void WindowPos2(ref Int16 v) @@ -118451,6 +123359,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static void WindowPos2(Int16[] v) @@ -118480,6 +123389,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dMESA")] public static void WindowPos3(Double x, Double y, Double z) @@ -118503,6 +123413,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static @@ -118527,6 +123438,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static void WindowPos3(ref Double v) @@ -118556,6 +123468,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static void WindowPos3(Double[] v) @@ -118585,6 +123498,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fMESA")] public static void WindowPos3(Single x, Single y, Single z) @@ -118608,6 +123522,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static @@ -118632,6 +123547,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(ref Single v) @@ -118661,6 +123577,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(Single[] v) @@ -118690,6 +123607,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iMESA")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -118713,6 +123631,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static @@ -118737,6 +123656,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static void WindowPos3(ref Int32 v) @@ -118766,6 +123686,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static void WindowPos3(Int32[] v) @@ -118795,6 +123716,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sMESA")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -118818,6 +123740,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static @@ -118842,6 +123765,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static void WindowPos3(ref Int16 v) @@ -118871,6 +123795,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static void WindowPos3(Int16[] v) @@ -118900,6 +123825,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dMESA")] public static void WindowPos4(Double x, Double y, Double z, Double w) @@ -118923,6 +123849,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static @@ -118947,6 +123874,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static void WindowPos4(ref Double v) @@ -118976,6 +123904,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static void WindowPos4(Double[] v) @@ -119005,6 +123934,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fMESA")] public static void WindowPos4(Single x, Single y, Single z, Single w) @@ -119028,6 +123958,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static @@ -119052,6 +123983,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(ref Single v) @@ -119081,6 +124013,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(Single[] v) @@ -119110,6 +124043,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4iMESA")] public static void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -119133,6 +124067,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static @@ -119157,6 +124092,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static void WindowPos4(ref Int32 v) @@ -119186,6 +124122,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static void WindowPos4(Int32[] v) @@ -119215,6 +124152,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4sMESA")] public static void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -119238,6 +124176,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static @@ -119262,6 +124201,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static void WindowPos4(ref Int16 v) @@ -119291,6 +124231,7 @@ namespace OpenTK.Graphics /// Specify the , , coordinates for the raster position. /// /// + [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static void WindowPos4(Int16[] v) @@ -119344,6 +124285,53 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] + public static + bool AreProgramsResident(Int32 n, ref Int32 programs, [Out] out bool residences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + fixed (bool* residences_ptr = &residences) + { + bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); + residences = *residences_ptr; + return retval; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static @@ -119395,30 +124383,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref UInt32 programs, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] public static @@ -119441,32 +124405,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glAreProgramsResidentNV")] - public static - bool AreProgramsResident(Int32 n, ref Int32 programs, [Out] out bool residences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - fixed (bool* residences_ptr = &residences) - { - bool retval = Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs_ptr, (bool*)residences_ptr); - residences = *residences_ptr; - return retval; - } - } - #if DEBUG - } - #endif - } - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] public static - void BeginConditionalRender(Int32 id, OpenTK.Graphics.NvConditionalRender mode) + void BeginConditionalRender(UInt32 id, OpenTK.Graphics.NvConditionalRender mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119478,10 +124420,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvConditionalRender", Version = "", EntryPoint = "glBeginConditionalRenderNV")] public static - void BeginConditionalRender(UInt32 id, OpenTK.Graphics.NvConditionalRender mode) + void BeginConditionalRender(Int32 id, OpenTK.Graphics.NvConditionalRender mode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119565,10 +124506,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119580,9 +124520,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glBindBufferOffsetNV")] public static - void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, Int32 index, Int32 buffer, IntPtr offset) + void BindBufferOffset(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -119623,6 +124564,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] + public static + void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] public static void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id) @@ -119637,16 +124593,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glBindProgramNV")] + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] public static - void BindProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id) + void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glBindProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id); + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); #if DEBUG } #endif @@ -119667,20 +124622,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glBindTransformFeedbackNV")] - public static - void BindTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 target, Int32 id) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.NvTransformFeedback2)target, (UInt32)id); - #if DEBUG - } - #endif - } - /// /// Specify the clear value for the depth buffer @@ -119690,6 +124631,7 @@ namespace OpenTK.Graphics /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1. /// /// + [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glClearDepthdNV")] public static void ClearDepth(Double depth) @@ -119787,6 +124729,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] + public static + unsafe void Color4h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColor4hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] public static void Color4h(OpenTK.Half[] v) @@ -119827,21 +124784,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glColor4hvNV")] - public static - unsafe void Color4h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColor4hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerInputNV")] public static void CombinerInput(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) @@ -119884,6 +124826,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] + public static + unsafe void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] public static void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single[] @params) @@ -119904,21 +124861,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameterfvNV")] - public static - unsafe void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glCombinerParameteriNV")] public static void CombinerParameter(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param) @@ -119968,21 +124910,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] - public static - unsafe void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single[] @params) @@ -120003,6 +124930,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] + public static + unsafe void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glCombinerStageParameterfvNV")] public static void CombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, ref Single @params) @@ -120023,26 +124965,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] - public static - void DeleteFences(Int32 n, ref Int32 fences) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* fences_ptr = &fences) - { - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static @@ -120135,9 +125057,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glDeleteFencesNV")] public static - void DeleteOcclusionQueries(Int32 n, ref Int32 ids) + void DeleteFences(Int32 n, ref Int32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120145,7 +125067,27 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = &ids) + fixed (Int32* fences_ptr = &fences) + { + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) { Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); } @@ -120206,26 +125148,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] - public static - void DeleteOcclusionQueries(Int32 n, Int32[] ids) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* ids_ptr = ids) - { - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] public static @@ -120247,6 +125169,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glDeleteOcclusionQueriesNV")] + public static + void DeleteOcclusionQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Deletes a program object @@ -120256,6 +125198,93 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + unsafe void DeleteProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref UInt32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] + public static + void DeleteProgram(Int32 n, ref Int32 programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* programs_ptr = &programs) + { + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -120286,83 +125315,7 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - unsafe void DeleteProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] - public static - void DeleteProgram(Int32 n, ref Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Deletes a program object - /// - /// - /// - /// Specifies the program object to be deleted. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static void DeleteProgram(Int32 n, Int32[] programs) @@ -120392,22 +125345,17 @@ namespace OpenTK.Graphics /// Specifies the program object to be deleted. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static - void DeleteProgram(Int32 n, ref UInt32 programs) + unsafe void DeleteProgram(Int32 n, Int32* programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* programs_ptr = &programs) - { - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); #if DEBUG } #endif @@ -120416,13 +125364,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] public static - unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + void DeleteTransformFeedback(Int32 n, ref UInt32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } #if DEBUG } #endif @@ -120472,19 +125426,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDeleteTransformFeedbacksNV")] public static - void DeleteTransformFeedback(Int32 n, ref UInt32 ids) + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* ids_ptr = &ids) - { - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - } - } + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); #if DEBUG } #endif @@ -120553,6 +125501,7 @@ namespace OpenTK.Graphics /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1. /// /// + [AutoGenerated(Category = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthRangedNV")] public static void DepthRange(Double zNear, Double zFar) @@ -120567,10 +125516,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id) + void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120582,9 +125530,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glDrawTransformFeedbackNV")] public static - void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, Int32 id) + void DrawTransformFeedback(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120652,6 +125601,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] + public static + unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static @@ -120673,25 +125652,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120709,9 +125672,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] public static - void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, ref Single @params) + void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, ref Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120749,21 +125713,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glExecuteProgramNV")] - public static - unsafe void ExecuteProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glExecuteProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glFinalCombinerInputNV")] public static void FinalCombinerInput(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage) @@ -120778,9 +125727,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] public static - void FinishFence(Int32 fence) + void FinishFence(UInt32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120792,10 +125742,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glFinishFenceNV")] public static - void FinishFence(UInt32 fence) + void FinishFence(Int32 fence) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120867,13 +125816,40 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static - unsafe void GenFences(Int32 n, [Out] Int32* fences) + void GenFences(Int32 n, [Out] out UInt32 fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + unsafe + { + fixed (UInt32* fences_ptr = &fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + fences = *fences_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + void GenFences(Int32 n, [Out] Int32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } #if DEBUG } #endif @@ -120882,7 +125858,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static - unsafe void GenFences(Int32 n, [Out] UInt32* fences) + void GenFences(Int32 n, [Out] UInt32[] fences) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* fences_ptr = fences) + { + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + public static + unsafe void GenFences(Int32 n, [Out] Int32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120918,27 +125915,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] public static - void GenFences(Int32 n, [Out] UInt32[] fences) + unsafe void GenFences(Int32 n, [Out] UInt32* fences) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* fences_ptr = fences) - { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - } - } + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); #if DEBUG } #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static - void GenFences(Int32 n, [Out] Int32[] fences) + void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120946,9 +125937,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* fences_ptr = fences) + fixed (Int32* ids_ptr = ids) { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); } } #if DEBUG @@ -120957,9 +125948,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGenFencesNV")] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] public static - void GenFences(Int32 n, [Out] out UInt32 fences) + void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -120967,10 +125958,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* fences_ptr = &fences) + fixed (UInt32* ids_ptr = ids) { - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr); - fences = *fences_ptr; + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); } } #if DEBUG @@ -121051,10 +126041,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] public static - void GenOcclusionQueries(Int32 n, [Out] UInt32[] ids) + void GenProgram(Int32 n, [Out] out Int32 programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121062,9 +126051,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = ids) + fixed (Int32* programs_ptr = &programs) { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); + programs = *programs_ptr; } } #if DEBUG @@ -121072,9 +126062,40 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGenOcclusionQueriesNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] public static - void GenOcclusionQueries(Int32 n, [Out] Int32[] ids) + unsafe void GenProgram(Int32 n, [Out] UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + unsafe void GenProgram(Int32 n, [Out] Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] + public static + void GenProgram(Int32 n, [Out] UInt32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121082,9 +126103,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = ids) + fixed (UInt32* programs_ptr = programs) { - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids_ptr); + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); } } #if DEBUG @@ -121112,78 +126133,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] out Int32 programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* programs_ptr = &programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - programs = *programs_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - void GenProgram(Int32 n, [Out] UInt32[] programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* programs_ptr = programs) - { - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [Out] Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] - public static - unsafe void GenProgram(Int32 n, [Out] UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGenProgramsNV")] public static @@ -121206,6 +126155,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + public static + void GenTransformFeedback(Int32 n, [Out] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static @@ -121230,7 +126199,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - unsafe void GenTransformFeedback(Int32 n, [Out] UInt32* ids) + unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121242,9 +126211,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - void GenTransformFeedback(Int32 n, [Out] Int32[] ids) + void GenTransformFeedback(Int32 n, [Out] out UInt32 ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121252,9 +126222,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* ids_ptr = ids) + fixed (UInt32* ids_ptr = &ids) { Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; } } #if DEBUG @@ -121265,7 +126236,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] public static - unsafe void GenTransformFeedback(Int32 n, [Out] Int32* ids) + unsafe void GenTransformFeedback(Int32 n, [Out] UInt32* ids) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121299,9 +126270,24 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glGenTransformFeedbacksNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] public static - void GenTransformFeedback(Int32 n, [Out] out UInt32 ids) + unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] + public static + void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121309,10 +126295,14 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* ids_ptr = &ids) + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) { - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids_ptr); - ids = *ids_ptr; + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; } } #if DEBUG @@ -121360,67 +126350,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - void GetActiveVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.NvTransformFeedback type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* length_ptr = &length) - fixed (Int32* size_ptr = &size) - fixed (OpenTK.Graphics.NvTransformFeedback* type_ptr = &type) - { - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.NvTransformFeedback*)type_ptr, (System.Text.StringBuilder)name); - length = *length_ptr; - size = *size_ptr; - type = *type_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetActiveVaryingNV")] - public static - unsafe void GetActiveVarying(Int32 program, Int32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.NvTransformFeedback*)type, (System.Text.StringBuilder)name); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] - public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] public static @@ -121457,9 +126386,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterfvNV")] public static - void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121467,9 +126396,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -121477,6 +126406,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] + public static + unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] public static void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) @@ -121498,16 +126442,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetCombinerInputParameterivNV")] public static - unsafe void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + void GetCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)stage, (OpenTK.Graphics.NvRegisterCombiners)portion, (OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -121625,6 +126574,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] + public static + unsafe void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] public static void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] out Single @params) @@ -121666,21 +126630,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners2", Version = "1.1", EntryPoint = "glGetCombinerStageParameterfvNV")] - public static - unsafe void GetCombinerStageParameter(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.NvRegisterCombiners2)stage, (OpenTK.Graphics.NvRegisterCombiners2)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static @@ -121703,78 +126652,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - unsafe void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] - public static - void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) @@ -121795,9 +126672,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) + void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121805,9 +126683,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -121815,6 +126693,72 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + unsafe void GetFence(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glGetFenceivNV")] + public static + void GetFence(Int32 fence, OpenTK.Graphics.NvFence pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.NvFence)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] + public static + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Single @params) @@ -121836,39 +126780,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterfvNV")] public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] - public static - void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121876,10 +126790,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Single*)@params_ptr); } } #if DEBUG @@ -121907,9 +126820,46 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvRegisterCombiners", Version = "1.1", EntryPoint = "glGetFinalCombinerInputParameterivNV")] + public static + unsafe void GetFinalCombinerInputParameter(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.NvRegisterCombiners)variable, (OpenTK.Graphics.NvRegisterCombiners)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -121928,21 +126878,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single[] @params) @@ -122002,7 +126937,21 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterfvNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122021,98 +126970,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] - public static - void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] public static @@ -122135,9 +126992,102 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + unsafe void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapAttribParameterivNV")] + public static + void GetMapAttribParameter(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) where T6 : struct { #if DEBUG @@ -122158,10 +127108,32 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) where T6 : struct { #if DEBUG @@ -122229,30 +127201,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] - public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) - where T6 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points) @@ -122282,9 +127230,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) where T6 : struct { #if DEBUG @@ -122408,6 +127357,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] + public static + void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] public static void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] out Int32 @params) @@ -122444,63 +127413,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapParameterivNV")] - public static - void GetMapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] out Single val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* val_ptr = &val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - val = *val_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static - void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) + unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single* val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* val_ptr = val) - { - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); - } - } + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); #if DEBUG } #endif @@ -122548,21 +127470,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] - public static - unsafe void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] Single* val) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static @@ -122578,9 +127485,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static - void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, Int32 index, [Out] out Single val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122588,10 +127495,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* val_ptr = &val) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; } } #if DEBUG @@ -122600,9 +127507,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glGetMultisamplefvNV")] public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + void GetMultisample(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single[] val) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122610,10 +127517,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Single* val_ptr = val) { - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.NvExplicitMultisample)pname, (UInt32)index, (Single*)val_ptr); } } #if DEBUG @@ -122671,6 +127577,49 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] + public static + void GetOcclusionQuery(Int32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryivNV")] public static @@ -122692,27 +127641,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] - public static - void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] public static @@ -122735,6 +127663,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] + public static + void GetOcclusionQuery(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvOcclusionQuery", Version = "1.2", EntryPoint = "glGetOcclusionQueryuivNV")] public static @@ -122750,6 +127699,41 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] + public static + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) @@ -122793,30 +127777,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params) + unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -122849,42 +127813,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIivNV")] - public static - unsafe void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] - public static - void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] public static @@ -122922,97 +127850,10 @@ namespace OpenTK.Graphics #endif } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramEnvParameterIuivNV")] public static - unsafe void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - unsafe void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + void GetProgramEnvParameterI(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123020,9 +127861,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (UInt32* @params_ptr = @params) { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params_ptr); } } #if DEBUG @@ -123049,45 +127890,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] - public static - void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Returns a parameter from a program object - /// - /// - /// - /// Specifies the program object to be queried. - /// - /// - /// - /// - /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. - /// - /// - /// - /// - /// Returns the requested object parameter. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static @@ -123129,6 +127932,7 @@ namespace OpenTK.Graphics /// Returns the requested object parameter. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) @@ -123150,6 +127954,198 @@ namespace OpenTK.Graphics #endif } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] + public static + unsafe void GetProgram(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] + public static + void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] public static @@ -123172,21 +128168,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32[] @params) + unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); #if DEBUG } #endif @@ -123213,21 +128204,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - unsafe void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] public static @@ -123243,27 +128219,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIivNV")] - public static - void GetProgramLocalParameterI(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glGetProgramLocalParameterIuivNV")] public static @@ -123322,29 +128277,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static @@ -123366,25 +128298,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] - public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123399,7 +128313,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Double* @params) + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123433,9 +128347,28 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] public static - void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterdvNV")] + public static + void GetProgramNamedParameter(UInt32 id, Int32 len, ref Byte name, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123444,9 +128377,9 @@ namespace OpenTK.Graphics unsafe { fixed (Byte* name_ptr = &name) - fixed (Single* @params_ptr = &@params) + fixed (Double* @params_ptr = &@params) { - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)@params_ptr); @params = *@params_ptr; } } @@ -123488,7 +128421,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static - unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) + unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123506,7 +128439,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static - unsafe void GetProgramNamedParameter(Int32 id, Int32 len, Byte* name, [Out] Single[] @params) + unsafe void GetProgramNamedParameter(UInt32 id, Int32 len, Byte* name, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123521,6 +128454,28 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] + public static + void GetProgramNamedParameter(Int32 id, Int32 len, ref Byte name, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glGetProgramNamedParameterfvNV")] public static @@ -123544,63 +128499,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = @params) - { - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) @@ -123622,6 +128520,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static @@ -123643,25 +128571,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = @params) + { + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterdvNV")] public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Double @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123669,9 +128602,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Double* @params_ptr = &@params) { - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Double*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -123679,21 +128613,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] - public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) @@ -123718,7 +128637,37 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] + public static + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123726,10 +128675,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = &@params) + fixed (Single* @params_ptr = @params) { Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -123760,13 +128708,56 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramParameterfvNV")] public static - unsafe void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params) + void GetProgramParameter(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); + program = *program_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + public static + unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); #if DEBUG } #endif @@ -123787,9 +128778,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123807,10 +128799,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] public static - void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) + void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123851,23 +128842,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - unsafe void GetProgramString(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramStringNV")] - public static - void GetProgramString(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Byte program) + void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123875,10 +128852,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* program_ptr = &program) + fixed (Int32* @params_ptr = &@params) { - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Byte*)program_ptr); - program = *program_ptr; + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -123907,21 +128884,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] - public static - unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static @@ -123940,7 +128902,37 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetTrackMatrixivNV")] public static - void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) + unsafe void GetTrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -123948,10 +128940,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = &@params) + fixed (Int32* location_ptr = &location) { - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr); - @params = *@params_ptr; + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); + location = *location_ptr; } } #if DEBUG @@ -123980,43 +128972,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] out Int32 location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* location_ptr = &location) - { - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location_ptr); - location = *location_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] - public static - unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetTransformFeedbackVaryingNV")] public static @@ -124032,10 +128987,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] public static - Int32 GetVaryingLocation(UInt32 program, String name) + Int32 GetVaryingLocation(Int32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124047,9 +129001,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] public static - Int32 GetVaryingLocation(Int32 program, String name) + Int32 GetVaryingLocation(UInt32 program, String name) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124080,6 +129035,118 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Double @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* @params_ptr = &@params) + { + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static @@ -124121,16 +129188,17 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static - unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); #if DEBUG } #endif @@ -124155,80 +129223,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] - public static - void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Double @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* @params_ptr = &@params) - { - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -124263,6 +129258,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) @@ -124303,6 +129299,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -124344,40 +129341,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) @@ -124418,6 +129382,42 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -124459,40 +129459,7 @@ namespace OpenTK.Graphics /// Returns the requested data. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] - public static - unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - - /// - /// Return a generic vertex attribute parameter - /// - /// - /// - /// Specifies the generic vertex attribute parameter to be queried. - /// - /// - /// - /// - /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. - /// - /// - /// - /// - /// Returns the requested data. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -124508,82 +129475,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) - where T2 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] - public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) @@ -124607,9 +129498,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -124630,10 +129522,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -124681,7 +129572,59 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) where T2 : struct { #if DEBUG @@ -124725,6 +129668,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] public static @@ -124788,6 +129755,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] + public static + unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] public static @@ -124824,25 +129806,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoi64vNV")] - public static - unsafe void GetVideoi64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int64*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124854,27 +129821,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] - public static - void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static @@ -124897,10 +129843,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) + void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124908,9 +129853,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -124941,7 +129887,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - unsafe void GetVideo(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) + unsafe void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124953,9 +129899,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoivNV")] public static - void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -124963,10 +129910,30 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int64* @params_ptr = &@params) + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] + public static + void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt64* @params_ptr = @params) { Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); - @params = *@params_ptr; } } #if DEBUG @@ -125016,10 +129983,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideoui64vNV")] public static - void GetVideoui64(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64[] @params) + void GetVideoui64(Int32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] out Int64 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125027,9 +129993,10 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt64* @params_ptr = @params) + fixed (Int64* @params_ptr = &@params) { Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt64*)@params_ptr); + @params = *@params_ptr; } } #if DEBUG @@ -125067,6 +130034,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] + public static + void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] public static @@ -125089,27 +130077,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] - public static - void GetVideo(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.NvPresentVideo)pname, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glGetVideouivNV")] public static @@ -125192,10 +130159,10 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static - bool IsProgram(UInt32 id) + bool IsProgram(Int32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125216,9 +130183,11 @@ namespace OpenTK.Graphics /// Specifies a potential program object. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static - bool IsProgram(Int32 id) + bool IsProgram(UInt32 id) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125259,6 +130228,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] + public static + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* program_ptr = &program) + { + Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, Byte[] program) @@ -125279,31 +130269,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* program_ptr = program) - { - Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] - public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, ref Byte program) + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125351,9 +130319,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glLoadProgramNV")] public static - void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 id, Int32 len, ref Byte program) + void LoadProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte[] program) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125361,7 +130330,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* program_ptr = &program) + fixed (Byte* program_ptr = program) { Delegates.glLoadProgramNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program_ptr); } @@ -125371,161 +130340,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] - public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) - where T8 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); - try - { - Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); - } - finally - { - points_ptr.Free(); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] public static void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) @@ -125573,6 +130387,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] public static @@ -125588,16 +130426,152 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] public static - unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params) + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -125623,9 +130597,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterfvNV")] public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single[] @params) + unsafe void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] + public static + void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125633,9 +130622,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* @params_ptr = @params) + fixed (Int32* @params_ptr = @params) { - Delegates.glMapParameterfvNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Single*)@params_ptr); + Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); } } #if DEBUG @@ -125678,26 +130667,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapParameterivNV")] - public static - void MapParameter(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glMapParameterivNV((OpenTK.Graphics.NvEvaluators)target, (OpenTK.Graphics.NvEvaluators)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord1hNV")] public static void MultiTexCoord1h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s) @@ -125741,6 +130710,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] + public static + void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] public static void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) @@ -125776,26 +130765,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord2hvNV")] - public static - void MultiTexCoord2h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hNV")] public static void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r) @@ -125812,7 +130781,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) + void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125820,7 +130789,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); } @@ -125847,7 +130816,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord3hvNV")] public static - void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) + void MultiTexCoord3h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -125855,7 +130824,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v_ptr); } @@ -125879,21 +130848,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] - public static - unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] public static void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half[] v) @@ -125914,6 +130868,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] + public static + unsafe void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.TextureUnit)target, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glMultiTexCoord4hvNV")] public static void MultiTexCoord4h(OpenTK.Graphics.TextureUnit target, ref OpenTK.Half v) @@ -125968,6 +130937,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] + public static + unsafe void Normal3h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glNormal3hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] public static void Normal3h(ref OpenTK.Half v) @@ -125988,21 +130972,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glNormal3hvNV")] - public static - unsafe void Normal3h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glNormal3hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glPauseTransformFeedbackNV")] public static void PauseTransformFeedback() @@ -126019,7 +130988,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -126042,7 +131011,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -126137,6 +131106,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] public static void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32 param) @@ -126165,6 +131135,37 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + public static + unsafe void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// + [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] public static void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32[] @params) @@ -126185,30 +131186,15 @@ namespace OpenTK.Graphics #endif } - - /// - /// Specify point parameters - /// - /// - /// - /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. - /// - /// - /// - /// - /// Specifies the value that pname will be set to. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameterivNV")] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] public static - unsafe void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32* @params) + void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.NvPresentVideo target3, Int32 fill3) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterivNV((OpenTK.Graphics.NvPointSprite)pname, (Int32*)@params); + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); #if DEBUG } #endif @@ -126229,15 +131215,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameDualFillNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] public static - void PresentFrameDualFill(Int32 video_slot, Int64 minPresentTime, Int32 beginPresentTimeId, Int32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, Int32 fill0, OpenTK.Graphics.NvPresentVideo target1, Int32 fill1, OpenTK.Graphics.NvPresentVideo target2, Int32 fill2, OpenTK.Graphics.NvPresentVideo target3, Int32 fill3) + void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.NvPresentVideo)target3, (UInt32)fill3); + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); #if DEBUG } #endif @@ -126258,23 +131245,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvPresentVideo", Version = "1.2", EntryPoint = "glPresentFrameKeyedNV")] - public static - void PresentFrameKeye(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.NvPresentVideo)type, (OpenTK.Graphics.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] public static - void PrimitiveRestartIndex(Int32 index) + void PrimitiveRestartIndex(UInt32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126286,10 +131259,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvPrimitiveRestart", Version = "1.2", EntryPoint = "glPrimitiveRestartIndexNV")] public static - void PrimitiveRestartIndex(UInt32 index) + void PrimitiveRestartIndex(Int32 index) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126315,6 +131287,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] + public static + unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static @@ -126356,21 +131364,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, ref Single @params) @@ -126394,7 +131387,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] public static - unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Single* @params) + unsafe void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126406,43 +131399,16 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersfvNV")] - public static - void ProgramBufferParameters(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) + unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); #if DEBUG } #endif @@ -126471,7 +131437,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params) + unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126486,13 +131452,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - unsafe void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, Int32 buffer, Int32 index, Int32 count, Int32* @params) + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -126521,7 +131493,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIivNV")] public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32[] @params) + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126529,7 +131501,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* @params_ptr = @params) + fixed (Int32* @params_ptr = &@params) { Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (Int32*)@params_ptr); } @@ -126539,6 +131511,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] + public static + void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] public static @@ -126575,31 +131568,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvParameterBufferObject", Version = "1.2", EntryPoint = "glProgramBufferParametersIuivNV")] - public static - void ProgramBufferParametersI(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.NvParameterBufferObject)target, (UInt32)buffer, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126611,9 +131582,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4iNV")] public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126646,36 +131618,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] public static void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32[] @params) @@ -126696,26 +131638,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] - public static - void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] public static @@ -126737,6 +131659,56 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4ivNV")] + public static + void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uiNV")] public static @@ -126773,6 +131745,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] + public static + unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] public static @@ -126794,21 +131781,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParameterI4uivNV")] - public static - unsafe void ProgramEnvParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] public static @@ -126841,7 +131813,28 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] + public static + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126859,10 +131852,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32[] @params) + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -126901,47 +131893,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4ivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, ref Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] - public static - void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = &@params) - { - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] public static @@ -126979,15 +131930,21 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramEnvParametersI4uivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + void ProgramEnvParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref UInt32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } #if DEBUG } #endif @@ -127008,24 +131965,23 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4iNV")] public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); #if DEBUG } #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127043,6 +131999,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static @@ -127099,9 +132070,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4ivNV")] public static - void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, ref Int32 @params) + void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127134,6 +132106,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] + public static + unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] public static @@ -127155,21 +132142,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] - public static - unsafe void ProgramLocalParameterI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParameterI4uivNV")] public static @@ -127191,6 +132163,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static @@ -127215,39 +132207,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) + unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); - } - } + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); #if DEBUG } #endif @@ -127291,13 +132257,19 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4ivNV")] public static - unsafe void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, Int32 index, Int32 count, Int32* @params) + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, ref Int32 @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params_ptr); + } + } #if DEBUG } #endif @@ -127318,27 +132290,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] - public static - void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* @params_ptr = @params) - { - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] public static @@ -127361,9 +132312,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvGpuProgram4", Version = "1.3", EntryPoint = "glProgramLocalParametersI4uivNV")] + public static + void ProgramLocalParametersI4(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127381,9 +132352,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dNV")] public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, Double x, Double y, Double z, Double w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127431,46 +132403,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Double* v_ptr = &v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Double* v_ptr = v) - { - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] public static @@ -127513,13 +132445,20 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + void ProgramNamedParameter4(UInt32 id, Int32 len, ref Byte name, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Double* v_ptr = &v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -127540,6 +132479,69 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Double* v_ptr = v) + { + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4dvNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] public static void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, Single x, Single y, Single z, Single w) @@ -127581,72 +132583,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(Int32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* name_ptr = &name) - fixed (Single* v_ptr = &v) - { - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] - public static - unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] public static @@ -127702,6 +132638,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + unsafe void ProgramNamedParameter4(UInt32 id, Int32 len, Byte* name, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] + public static + void ProgramNamedParameter4(Int32 id, Int32 len, ref Byte name, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* name_ptr = &name) + fixed (Single* v_ptr = &v) + { + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFragmentProgram", Version = "1.2", EntryPoint = "glProgramNamedParameter4fvNV")] public static @@ -127720,6 +132692,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4dNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] public static @@ -127735,23 +132721,10 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double x, Double y, Double z, Double w) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4dNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - #if DEBUG - } - #endif - } - + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double v) + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127769,10 +132742,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, ref Double v) + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127780,7 +132752,28 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) + { + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) { Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); } @@ -127820,10 +132813,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double[] v) + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -127831,27 +132823,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) - { - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4dvNV")] - public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glProgramParameter4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v_ptr); } @@ -127890,6 +132862,41 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] + public static + void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static @@ -127932,21 +132939,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] public static - void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single[] v) + unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v_ptr); - } - } + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); #if DEBUG } #endif @@ -127972,57 +132974,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameter4fvNV")] - public static - unsafe void ProgramParameter4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] public static @@ -128115,24 +133066,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4dvNV")] public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128140,9 +133076,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Double* v_ptr = &v) { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Double*)v_ptr); } } #if DEBUG @@ -128170,42 +133106,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] - public static - void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] public static void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single[] v) @@ -128226,6 +133126,78 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glProgramParameters4fvNV")] + public static + unsafe void ProgramParameters4(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (UInt32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvGeometryProgram4", Version = "2.0", EntryPoint = "glProgramVertexLimitNV")] public static void ProgramVertexLimit(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit) @@ -128254,6 +133226,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + unsafe void RequestResidentProgram(Int32 n, Int32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] + public static + unsafe void RequestResidentProgram(Int32 n, UInt32* programs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static void RequestResidentProgram(Int32 n, ref Int32 programs) @@ -128277,22 +133279,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - unsafe void RequestResidentProgram(Int32 n, UInt32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] - public static - void RequestResidentProgram(Int32 n, ref UInt32 programs) + void RequestResidentProgram(Int32 n, UInt32[] programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128300,7 +133287,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* programs_ptr = &programs) + fixed (UInt32* programs_ptr = programs) { Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); } @@ -128333,7 +133320,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] public static - void RequestResidentProgram(Int32 n, UInt32[] programs) + void RequestResidentProgram(Int32 n, ref UInt32 programs) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128341,7 +133328,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (UInt32* programs_ptr = programs) + fixed (UInt32* programs_ptr = &programs) { Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs_ptr); } @@ -128351,21 +133338,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glRequestResidentProgramsNV")] - public static - unsafe void RequestResidentProgram(Int32 n, Int32* programs) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvTransformFeedback2", Version = "", EntryPoint = "glResumeTransformFeedbackNV")] public static void ResumeTransformFeedback() @@ -128423,21 +133395,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] - public static - unsafe void SecondaryColor3h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] public static void SecondaryColor3h(ref OpenTK.Half v) @@ -128478,6 +133435,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glSecondaryColor3hvNV")] + public static + unsafe void SecondaryColor3h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSecondaryColor3hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvFence", Version = "1.2", EntryPoint = "glSetFenceNV")] public static @@ -128596,7 +133568,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] public static - void TexCoord2h(ref OpenTK.Half v) + void TexCoord2h(OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128604,7 +133576,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { Delegates.glTexCoord2hvNV((OpenTK.Half*)v_ptr); } @@ -128616,7 +133588,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord2hvNV")] public static - void TexCoord2h(OpenTK.Half[] v) + void TexCoord2h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128624,7 +133596,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glTexCoord2hvNV((OpenTK.Half*)v_ptr); } @@ -128665,7 +133637,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] public static - void TexCoord3h(OpenTK.Half[] v) + void TexCoord3h(ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128673,7 +133645,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { Delegates.glTexCoord3hvNV((OpenTK.Half*)v_ptr); } @@ -128685,7 +133657,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glTexCoord3hvNV")] public static - void TexCoord3h(ref OpenTK.Half v) + void TexCoord3h(OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128693,7 +133665,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (OpenTK.Half* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { Delegates.glTexCoord3hvNV((OpenTK.Half*)v_ptr); } @@ -128772,21 +133744,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] - public static - void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] public static void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, Int32 renderbuffer) @@ -128801,15 +133758,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvExplicitMultisample", Version = "", EntryPoint = "glTexRenderbufferNV")] public static - void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) + void TexRenderbuffer(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); + Delegates.glTexRenderbufferNV((OpenTK.Graphics.TextureTarget)target, (UInt32)renderbuffer); #if DEBUG } #endif @@ -128830,10 +133788,23 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glTrackMatrixNV")] + public static + void TrackMatrix(OpenTK.Graphics.AssemblyProgramTargetArb target, Int32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTrackMatrixNV((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128851,9 +133822,40 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + public static + void TransformFeedbackAttrib(UInt32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128861,7 +133863,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* attribs_ptr = attribs) + fixed (Int32* attribs_ptr = &attribs) { Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); } @@ -128894,7 +133896,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] public static - void TransformFeedbackAttrib(Int32 count, ref Int32 attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackAttrib(Int32 count, Int32[] attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -128902,7 +133904,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int32* attribs_ptr = &attribs) + fixed (Int32* attribs_ptr = attribs) { Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); } @@ -128913,30 +133915,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] + [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] public static - unsafe void TransformFeedbackAttrib(Int32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackAttribsNV")] - public static - unsafe void TransformFeedbackAttrib(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.NvTransformFeedback)bufferMode); + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.NvTransformFeedback)bufferMode); #if DEBUG } #endif @@ -128944,111 +133931,13 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] public static - void TransformFeedbackVaryings(Int32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) + void TransformFeedbackVaryings(Int32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32[] locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(Int32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - unsafe void TransformFeedbackVaryings(Int32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glTransformFeedbackVaryingsNV")] - public static - void TransformFeedbackVaryings(UInt32 program, Int32 count, ref Int32 locations, OpenTK.Graphics.NvTransformFeedback bufferMode) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* locations_ptr = &locations) - { - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations_ptr, (OpenTK.Graphics.NvTransformFeedback)bufferMode); - } - } + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.NvTransformFeedback)bufferMode); #if DEBUG } #endif @@ -129088,21 +133977,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] - public static - unsafe void Vertex2h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex2hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] public static void Vertex2h(ref OpenTK.Half v) @@ -129123,6 +133997,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex2hvNV")] + public static + unsafe void Vertex2h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex2hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hNV")] public static void Vertex3h(OpenTK.Half x, OpenTK.Half y, OpenTK.Half z) @@ -129137,21 +134026,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] public static - void Vertex3h(OpenTK.Half[] v) + unsafe void Vertex3h(OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertex3hvNV((OpenTK.Half*)v_ptr); - } - } + Delegates.glVertex3hvNV((OpenTK.Half*)v); #if DEBUG } #endif @@ -129177,16 +134061,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex3hvNV")] public static - unsafe void Vertex3h(OpenTK.Half* v) + void Vertex3h(OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertex3hvNV((OpenTK.Half*)v); + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertex3hvNV((OpenTK.Half*)v_ptr); + } + } #if DEBUG } #endif @@ -129206,6 +134095,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] + public static + unsafe void Vertex4h(OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertex4hvNV((OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] public static void Vertex4h(ref OpenTK.Half v) @@ -129246,24 +134150,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertex4hvNV")] - public static - unsafe void Vertex4h(OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertex4hvNV((OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) where T1 : struct { #if DEBUG @@ -129286,7 +134175,21 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static - void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + void VertexArrayRange(Int32 length, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) where T1 : struct { #if DEBUG @@ -129332,21 +134235,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static - void VertexArrayRange(Int32 length, IntPtr pointer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] - public static - void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) where T1 : struct { #if DEBUG @@ -129381,34 +134270,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] - public static - void VertexAttrib1(Int32 index, Double x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static @@ -129438,6 +134300,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] + public static + void VertexAttrib1(Int32 index, Double x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] public static @@ -129467,6 +134359,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dvNV")] public static @@ -129496,6 +134389,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] + public static + void VertexAttrib1(Int32 index, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] public static @@ -129525,34 +134448,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] - public static - void VertexAttrib1(Int32 index, Single x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static @@ -129582,6 +134478,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fvNV")] public static @@ -129597,21 +134494,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] - public static - void VertexAttrib1h(UInt32 index, OpenTK.Half x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Half)x); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] public static void VertexAttrib1h(Int32 index, OpenTK.Half x) @@ -129626,10 +134508,25 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hNV")] + public static + void VertexAttrib1h(UInt32 index, OpenTK.Half x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1hNV((UInt32)index, (OpenTK.Half)x); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] public static - unsafe void VertexAttrib1h(UInt32 index, OpenTK.Half* v) + unsafe void VertexAttrib1h(Int32 index, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129644,7 +134541,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib1hvNV")] public static - unsafe void VertexAttrib1h(Int32 index, OpenTK.Half* v) + unsafe void VertexAttrib1h(UInt32 index, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -129670,6 +134567,36 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] + public static + void VertexAttrib1(Int32 index, Int16 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] public static @@ -129699,63 +134626,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] - public static - void VertexAttrib1(Int32 index, Int16 x) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] - public static - unsafe void VertexAttrib1(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] public static @@ -129785,6 +134656,66 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1svNV")] + public static + unsafe void VertexAttrib1(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] + public static + void VertexAttrib2(Int32 index, Double x, Double y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] public static @@ -129814,68 +134745,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] - public static - void VertexAttrib2(Int32 index, Double x, Double y) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - void VertexAttrib2(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -129911,16 +134781,22 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - unsafe void VertexAttrib2(Int32 index, Double* v) + void VertexAttrib2(Int32 index, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); + } + } #if DEBUG } #endif @@ -129940,35 +134816,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -130004,9 +134852,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static - void VertexAttrib2(Int32 index, ref Double v) + void VertexAttrib2(Int32 index, Double[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130014,7 +134863,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Double* v_ptr = v) { Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v_ptr); } @@ -130038,6 +134887,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + unsafe void VertexAttrib2(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -130066,6 +134976,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static @@ -130095,98 +135006,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] - public static - void VertexAttrib2(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] - public static - unsafe void VertexAttrib2(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -130221,6 +135041,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + unsafe void VertexAttrib2(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -130256,6 +135137,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] + public static + void VertexAttrib2(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -130306,10 +135223,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] public static - void VertexAttrib2h(UInt32 index, ref OpenTK.Half v) + void VertexAttrib2h(Int32 index, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130327,29 +135243,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] public static - void VertexAttrib2h(Int32 index, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] - public static - void VertexAttrib2h(Int32 index, ref OpenTK.Half v) + void VertexAttrib2h(UInt32 index, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -130418,6 +135315,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib2hvNV")] + public static + void VertexAttrib2h(Int32 index, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttrib2hvNV((UInt32)index, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + /// /// Specifies the value of a generic vertex attribute @@ -130432,6 +135349,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -130460,6 +135378,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static @@ -130489,70 +135408,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - unsafe void VertexAttrib2(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] - public static - void VertexAttrib2(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -130587,6 +135443,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + unsafe void VertexAttrib2(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] + public static + unsafe void VertexAttrib2(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -130622,6 +135539,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -130656,16 +135574,23 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static - unsafe void VertexAttrib2(Int32 index, Int16* v) + void VertexAttrib2(UInt32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v_ptr); + } + } #if DEBUG } #endif @@ -130685,6 +135610,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -130713,6 +135639,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static @@ -130742,133 +135669,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(Int32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - void VertexAttrib3(UInt32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -130904,6 +135705,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -130938,6 +135740,138 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(UInt32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + void VertexAttrib3(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + unsafe void VertexAttrib3(Int32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -130966,6 +135900,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static @@ -130995,40 +135930,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -131064,6 +135966,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -131099,40 +136037,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] - public static - void VertexAttrib3(Int32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -131162,6 +136067,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -131177,6 +136083,41 @@ namespace OpenTK.Graphics #endif } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] + public static + void VertexAttrib3(Int32 index, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hNV")] public static @@ -131241,6 +136182,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + unsafe void VertexAttrib3h(Int32 index, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + public static + void VertexAttrib3h(UInt32 index, OpenTK.Half[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = v) + { + Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] public static void VertexAttrib3h(Int32 index, OpenTK.Half[] v) @@ -131282,37 +136259,30 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] - public static - void VertexAttrib3h(UInt32 index, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib3hvNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static - unsafe void VertexAttrib3h(Int32 index, OpenTK.Half* v) + void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib3hvNV((UInt32)index, (OpenTK.Half*)v); + Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); #if DEBUG } #endif @@ -131332,6 +136302,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static @@ -131361,161 +136332,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] - public static - void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - unsafe void VertexAttrib3(UInt32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - unsafe void VertexAttrib3(Int32 index, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(Int32 index, Int16[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] - public static - void VertexAttrib3(UInt32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -131550,6 +136367,67 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + unsafe void VertexAttrib3(UInt32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + unsafe void VertexAttrib3(Int32 index, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -131585,6 +136463,78 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] + public static + void VertexAttrib3(UInt32 index, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -131613,6 +136563,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static @@ -131642,74 +136593,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(Int32 index, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] - public static - void VertexAttrib4(Int32 index, Double[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = v) - { - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -131745,6 +136629,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(Int32 index, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -131780,6 +136700,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] + public static + void VertexAttrib4(Int32 index, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -131809,6 +136765,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -131838,6 +136795,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -131866,6 +136824,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static @@ -131895,70 +136854,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] - public static - void VertexAttrib4(UInt32 index, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -131993,6 +136889,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -132022,6 +136919,73 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] + public static + void VertexAttrib4(UInt32 index, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -132056,10 +137020,11 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static - void VertexAttrib4(UInt32 index, Single[] v) + void VertexAttrib4(UInt32 index, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132067,7 +137032,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (Single* v_ptr = &v) { Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v_ptr); } @@ -132077,9 +137042,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] public static - void VertexAttrib4h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) + void VertexAttrib4h(UInt32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132091,10 +137057,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hNV")] public static - void VertexAttrib4h(UInt32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) + void VertexAttrib4h(Int32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132126,21 +137091,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] - public static - unsafe void VertexAttrib4h(UInt32 index, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] public static @@ -132177,6 +137127,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] + public static + unsafe void VertexAttrib4h(UInt32 index, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4hvNV((UInt32)index, (OpenTK.Half*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttrib4hvNV")] public static @@ -132232,6 +137197,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -132260,6 +137226,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static @@ -132289,6 +137256,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -132324,9 +137292,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static - void VertexAttrib4(Int32 index, Int16[] v) + void VertexAttrib4(Int32 index, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132334,7 +137303,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); } @@ -132358,6 +137327,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -132393,6 +137363,42 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] + public static + void VertexAttrib4(Int32 index, Int16[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = v) + { + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -132422,40 +137428,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] - public static - void VertexAttrib4(Int32 index, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -132485,6 +137458,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) @@ -132513,6 +137487,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static @@ -132542,35 +137517,7 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] - public static - unsafe void VertexAttrib4(Int32 index, Byte* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - #if DEBUG - } - #endif - } - - /// - /// Specifies the value of a generic vertex attribute - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the new values to be used for the specified vertex attribute. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -132605,21 +137552,17 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - void VertexAttrib4(Int32 index, Byte[] v) + unsafe void VertexAttrib4(UInt32 index, Byte* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Byte* v_ptr = v) - { - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); - } - } + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); #if DEBUG } #endif @@ -132639,6 +137582,37 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] + public static + unsafe void VertexAttrib4(Int32 index, Byte* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + #if DEBUG + } + #endif + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -132674,10 +137648,10 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - void VertexAttrib4(UInt32 index, ref Byte v) + void VertexAttrib4(Int32 index, Byte[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -132685,7 +137659,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* v_ptr = &v) + fixed (Byte* v_ptr = v) { Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); } @@ -132709,16 +137683,23 @@ namespace OpenTK.Graphics /// Specifies the new values to be used for the specified vertex attribute. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static - unsafe void VertexAttrib4(UInt32 index, Byte* v) + void VertexAttrib4(UInt32 index, ref Byte v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + unsafe + { + fixed (Byte* v_ptr = &v) + { + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v_ptr); + } + } #if DEBUG } #endif @@ -132758,9 +137739,10 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) where T4 : struct { #if DEBUG @@ -132815,6 +137797,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static @@ -132873,6 +137856,173 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static @@ -132922,15 +138072,25 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } #if DEBUG } #endif @@ -132970,6 +138130,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static @@ -133028,120 +138189,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,,] pointer) @@ -133199,6 +138247,7 @@ namespace OpenTK.Graphics /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static @@ -133223,64 +138272,6 @@ namespace OpenTK.Graphics #endif } - - /// - /// Define an array of generic vertex attribute data - /// - /// - /// - /// Specifies the index of the generic vertex attribute to be modified. - /// - /// - /// - /// - /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. - /// - /// - /// - /// - /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. - /// - /// - /// - /// - /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. - /// - /// - /// - /// - /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. - /// - /// - /// - /// - /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] - public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, [In, Out] T4[,] pointer) - where T4 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); - } - finally - { - pointer_ptr.Free(); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1dvNV")] public static @@ -133393,36 +138384,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] - public static - unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] - public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static @@ -133485,6 +138446,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(Int32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] + public static + unsafe void VertexAttribs1(UInt32 index, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1fvNV")] public static void VertexAttribs1(Int32 index, Int32 count, ref Single v) @@ -133505,10 +138496,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static - void VertexAttribs1h(UInt32 index, Int32 n, ref OpenTK.Half v) + void VertexAttribs1h(Int32 index, Int32 n, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133526,21 +138516,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] - public static - unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static @@ -133556,21 +138531,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] public static - void VertexAttribs1h(Int32 index, Int32 n, ref OpenTK.Half v) + unsafe void VertexAttribs1h(Int32 index, Int32 n, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); #if DEBUG } #endif @@ -133617,6 +138587,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs1hvNV")] + public static + void VertexAttribs1h(UInt32 index, Int32 n, ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static void VertexAttribs1(Int32 index, Int32 count, ref Int16 v) @@ -133640,19 +138631,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static - void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) + unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); #if DEBUG } #endif @@ -133717,21 +138702,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs1svNV")] public static - unsafe void VertexAttribs1(UInt32 index, Int32 count, Int16* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, ref Double v) + void VertexAttribs1(UInt32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133739,9 +138710,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = &v) + fixed (Int16* v_ptr = &v) { - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } } #if DEBUG @@ -133752,37 +138723,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static - unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, Double[] v) + void VertexAttribs2(UInt32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133790,7 +138731,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Double* v_ptr = v) + fixed (Double* v_ptr = &v) { Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); } @@ -133823,7 +138764,57 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, ref Double v) + void VertexAttribs2(UInt32 index, Int32 count, Double[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = v) + { + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(Int32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + unsafe void VertexAttribs2(UInt32 index, Int32 count, Double* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2dvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133841,6 +138832,68 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] public static @@ -133892,9 +138945,9 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, Single[] v) + void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133902,9 +138955,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = v) + fixed (OpenTK.Half* v_ptr = &v) { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -133912,10 +138965,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - void VertexAttribs2(UInt32 index, Int32 count, ref Single v) + void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Half[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -133923,29 +138975,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* v_ptr = &v) + fixed (OpenTK.Half* v_ptr = v) { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2fvNV")] - public static - void VertexAttribs2(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); } } #if DEBUG @@ -133974,26 +139006,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Half v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static @@ -134026,28 +139038,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] public static - void VertexAttribs2h(Int32 index, Int32 n, OpenTK.Half[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = v) - { - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs2hvNV")] - public static - void VertexAttribs2h(UInt32 index, Int32 n, ref OpenTK.Half v) + void VertexAttribs2h(Int32 index, Int32 n, ref OpenTK.Half v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134100,27 +139091,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] - public static - void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* v_ptr = &v) - { - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] public static @@ -134178,9 +139148,29 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs2svNV")] + public static + void VertexAttribs2(UInt32 index, Int32 count, ref Int16 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* v_ptr = &v) + { + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, ref Double v) + void VertexAttribs3(Int32 index, Int32 count, ref Double v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134228,26 +139218,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, ref Double v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* v_ptr = &v) - { - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] public static @@ -134289,6 +139259,89 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3dvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, ref Double v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Double* v_ptr = &v) + { + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(Int32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] + public static + void VertexAttribs3(UInt32 index, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static @@ -134319,68 +139372,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(Int32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] - public static - void VertexAttribs3(UInt32 index, Int32 count, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = v) - { - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3fvNV")] public static void VertexAttribs3(Int32 index, Int32 count, ref Single v) @@ -134401,6 +139392,27 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + void VertexAttribs3h(UInt32 index, Int32 n, ref OpenTK.Half v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Half* v_ptr = &v) + { + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Half[] v) @@ -134445,19 +139457,28 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] public static - void VertexAttribs3h(UInt32 index, Int32 n, ref OpenTK.Half v) + unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Half* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (OpenTK.Half* v_ptr = &v) - { - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v_ptr); - } + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); + #if DEBUG } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] + public static + unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Half* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); #if DEBUG } #endif @@ -134483,40 +139504,10 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] - public static - unsafe void VertexAttribs3h(UInt32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs3hvNV")] - public static - unsafe void VertexAttribs3h(Int32 index, Int32 n, OpenTK.Half* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (OpenTK.Half*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) + void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134524,7 +139515,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = v) + fixed (Int16* v_ptr = &v) { Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } @@ -134557,7 +139548,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static - void VertexAttribs3(UInt32 index, Int32 count, ref Int16 v) + void VertexAttribs3(UInt32 index, Int32 count, Int16[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134565,7 +139556,7 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Int16* v_ptr = &v) + fixed (Int16* v_ptr = v) { Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v_ptr); } @@ -134575,6 +139566,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + public static + unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] public static @@ -134611,15 +139617,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs3svNV")] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] public static - unsafe void VertexAttribs3(Int32 index, Int32 count, Int16* v) + unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); #if DEBUG } #endif @@ -134646,21 +139652,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] - public static - unsafe void VertexAttribs4(Int32 index, Int32 count, Double* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4dvNV")] public static void VertexAttribs4(Int32 index, Int32 count, Double[] v) @@ -134739,7 +139730,49 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static - void VertexAttribs4(Int32 index, Int32 count, Single[] v) + void VertexAttribs4(Int32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] + public static + void VertexAttribs4(UInt32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134757,10 +139790,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static - void VertexAttribs4(UInt32 index, Int32 count, Single[] v) + void VertexAttribs4(Int32 index, Int32 count, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -134793,26 +139825,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(Int32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] public static @@ -134828,27 +139840,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribs4fvNV")] - public static - void VertexAttribs4(UInt32 index, Int32 count, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* v_ptr = &v) - { - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "NvHalfFloat", Version = "1.2", EntryPoint = "glVertexAttribs4hvNV")] public static void VertexAttribs4h(Int32 index, Int32 n, ref OpenTK.Half v) @@ -135232,6 +140223,7 @@ namespace OpenTK.Graphics /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. /// /// + [AutoGenerated(Category = "PgiMiscHints", Version = "1.1", EntryPoint = "glHintPGI")] public static void Hint(OpenTK.Graphics.PgiMiscHints target, Int32 mode) @@ -135269,79 +140261,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] - public static - void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] - public static - unsafe void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); - #if DEBUG - } - #endif - } - - - /// - /// Set color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameters are stored. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single[] @params) @@ -135381,6 +140301,82 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] + public static + unsafe void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32[] @params) @@ -135420,6 +140416,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Int32 @params) @@ -135459,6 +140456,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameters are stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static @@ -135508,63 +140506,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) @@ -135613,63 +140555,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] - public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) - where T5 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Define a color lookup table - /// - /// - /// - /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. - /// - /// - /// - /// - /// The number of entries in the color lookup table specified by data. - /// - /// - /// - /// - /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) @@ -135727,6 +140613,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) @@ -135751,6 +140638,122 @@ namespace OpenTK.Graphics } + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + /// /// Copy pixels into a color table /// @@ -135779,6 +140782,7 @@ namespace OpenTK.Graphics /// The width of the pixel rectangle. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glCopyColorTableSGI")] public static void CopyColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -135812,6 +140816,47 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] + public static + void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Single @params) @@ -135852,6 +140897,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static @@ -135886,45 +140932,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] - public static - void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - /// - /// Get color lookup table parameters - /// - /// - /// - /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. - /// - /// - /// - /// - /// A pointer to an array where the values of the parameter will be stored. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32[] @params) @@ -135964,6 +140972,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Int32 @params) @@ -136004,6 +141013,7 @@ namespace OpenTK.Graphics /// A pointer to an array where the values of the parameter will be stored. /// /// + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static @@ -136043,53 +141053,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) @@ -136128,53 +141092,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// - [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] - public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) - where T3 : struct - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); - try - { - Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); - } - finally - { - table_ptr.Free(); - } - #if DEBUG - } - #endif - } - - /// - /// Retrieve contents of a color lookup table - /// - /// - /// - /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. - /// - /// - /// - /// - /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. - /// - /// - /// - /// - /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. - /// - /// - /// - /// - /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. - /// - /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) @@ -136222,6 +141140,7 @@ namespace OpenTK.Graphics /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. /// /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) @@ -136245,20 +141164,121 @@ namespace OpenTK.Graphics #endif } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + #if DEBUG + } + #endif + } + } public static partial class Sgis { - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + unsafe + { + fixed (Single* points_ptr = points) + { + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + } + } #if DEBUG } #endif @@ -136284,9 +141304,24 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glDetailTexFuncSGIS")] public static - void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) + unsafe void DetailTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + public static + void FogFunc(Int32 n, Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136296,7 +141331,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = points) { - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points_ptr); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); } } #if DEBUG @@ -136339,9 +141374,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glFogFuncSGIS")] + [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - void FogFunc(Int32 n, Single[] points) + void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -136351,7 +141386,7 @@ namespace OpenTK.Graphics { fixed (Single* points_ptr = points) { - Delegates.glFogFuncSGIS((Int32)n, (Single*)points_ptr); + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); } } #if DEBUG @@ -136359,21 +141394,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] - public static - unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] out Single points) @@ -136395,21 +141415,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisDetailTexture", Version = "1.0", EntryPoint = "glGetDetailTexFuncSGIS")] public static - void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single[] points) + unsafe void GetDetailTexFunc(OpenTK.Graphics.TextureTarget target, [Out] Single* points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* points_ptr = points) - { - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points_ptr); - } - } + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Single*)points); #if DEBUG } #endif @@ -136435,21 +141450,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] - public static - unsafe void GetFogFunc([Out] Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFogFuncSGIS((Single*)points); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] public static void GetFogFunc([Out] out Single points) @@ -136471,6 +141471,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisFogFunction", Version = "1.1", EntryPoint = "glGetFogFuncSGIS")] + public static + unsafe void GetFogFunc([Out] Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFogFuncSGIS((Single*)points); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glGetPixelTexGenParameterfvSGIS")] public static void GetPixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single[] @params) @@ -136639,26 +141654,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] - public static - void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single[] weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = weights) - { - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] public static @@ -136695,6 +141690,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glGetTexFilterFuncSGIS")] + public static + void GetTexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single[] weights) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* weights_ptr = weights) + { + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Single*)weights_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisPixelTexture", Version = "1.0", EntryPoint = "glPixelTexGenParameterfSGIS")] public static void PixelTexGenParameter(OpenTK.Graphics.SgisPixelTexture pname, Single param) @@ -136807,6 +141822,7 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfSGIS")] public static void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single param) @@ -136835,21 +141851,17 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// + + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] public static - void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single[] @params) + unsafe void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params_ptr); - } - } + Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params); #if DEBUG } #endif @@ -136869,16 +141881,22 @@ namespace OpenTK.Graphics /// Specifies the value that pname will be set to. /// /// - [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfvSGIS")] public static - unsafe void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single* @params) + void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params); + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glPointParameterfvSGIS((OpenTK.Graphics.SgisPointParameters)pname, (Single*)@params_ptr); + } + } #if DEBUG } #endif @@ -136912,6 +141930,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] + public static + unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] public static void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single[] points) @@ -136932,21 +141965,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] - public static - unsafe void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)n, (Single*)points); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisSharpenTexture", Version = "1.0", EntryPoint = "glSharpenTexFuncSGIS")] public static void SharpenTexFunc(OpenTK.Graphics.TextureTarget target, Int32 n, ref Single points) @@ -136967,26 +141985,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] - public static - void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, ref Single weights) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* weights_ptr = &weights) - { - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single[] weights) @@ -137022,23 +142020,20 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + [AutoGenerated(Category = "SgisTextureFilter4", Version = "1.0", EntryPoint = "glTexFilterFuncSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) - where T10 : struct + void TexFilterFunc(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, ref Single weights) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); - try + unsafe { - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); - } - finally - { - pixels_ptr.Free(); + fixed (Single* weights_ptr = &weights) + { + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SgisTextureFilter4)filter, (Int32)n, (Single*)weights_ptr); + } } #if DEBUG } @@ -137068,6 +142063,20 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) @@ -137091,6 +142100,29 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) @@ -137114,20 +142146,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] - public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T12 pixels) @@ -137296,26 +142314,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] - public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Double* points_ptr = points) - { - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, ref Double points) @@ -137336,9 +142334,9 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3dSGIX")] public static - void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) + void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double[] points) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -137346,9 +142344,9 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* points_ptr = &points) + fixed (Double* points_ptr = points) { - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points_ptr); } } #if DEBUG @@ -137376,6 +142374,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] + public static + void DeformationMap3(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, ref Single points) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* points_ptr = &points) + { + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glDeformationMap3fSGIX")] public static @@ -137487,6 +142505,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] + public static + unsafe Int32 FinishAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] public static Int32 FinishAsync([Out] out Int32 markerp) @@ -137509,21 +142542,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glFinishAsyncSGIX")] - public static - unsafe Int32 FinishAsync([Out] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFlushRaster", Version = "1.0", EntryPoint = "glFlushRasterSGIX")] public static void FlushRaster() @@ -137566,6 +142584,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] + public static + unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] public static void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single[] @params) @@ -137586,21 +142619,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightfvSGIX")] - public static - unsafe void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightiSGIX")] public static void FragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) @@ -137664,6 +142682,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] public static void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single[] @params) @@ -137684,21 +142717,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelfvSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModeliSGIX")] public static void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param) @@ -137713,6 +142731,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] + public static + unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] public static void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32[] @params) @@ -137733,21 +142766,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentLightModelivSGIX")] - public static - unsafe void FragmentLightModel(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glFragmentMaterialfSGIX")] public static void FragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) @@ -137874,6 +142892,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] + public static + void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] out Single @params) @@ -137895,26 +142933,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] - public static - void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightfvSGIX")] public static @@ -137930,21 +142948,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] - public static - unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] out Int32 @params) @@ -137986,22 +142989,16 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentLightivSGIX")] public static - void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) + unsafe void GetFragmentLight(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.SgixFragmentLighting)light, (OpenTK.Graphics.SgixFragmentLighting)pname, (Int32*)@params); #if DEBUG } #endif @@ -138042,16 +143039,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialfvSGIX")] public static - unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } #if DEBUG } #endif @@ -138077,6 +143080,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] + public static + unsafe void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixFragmentLighting", Version = "1.0", EntryPoint = "glGetFragmentMaterialivSGIX")] public static void GetFragmentMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) @@ -138112,6 +143130,26 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static @@ -138127,27 +143165,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = &@params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static @@ -138185,6 +143202,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] + public static + void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] public static @@ -138206,84 +143244,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterfvSGIX")] - public static - void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = &@params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - @params = *@params_ptr; - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* @params_ptr = @params) - { - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] - public static - unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) @@ -138320,6 +143280,42 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + unsafe void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] public static void GetListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32[] @params) @@ -138340,9 +143336,31 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glGetListParameterivSGIX")] + public static + void GetListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) where T1 : struct { #if DEBUG @@ -138425,7 +143443,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) where T1 : struct { #if DEBUG @@ -138446,6 +143464,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] + public static + unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] public static void InstrumentsBuffer(Int32 size, [Out] out Int32 buffer) @@ -138467,21 +143500,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] - public static - unsafe void InstrumentsBuffer(Int32 size, [Out] Int32* buffer) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glInstrumentsBufferSGIX")] public static void InstrumentsBuffer(Int32 size, [Out] Int32[] buffer) @@ -138574,31 +143592,21 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] public static - unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); - #if DEBUG + unsafe + { + fixed (Single* @params_ptr = @params) + { + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); + } } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] - public static - unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); #if DEBUG } #endif @@ -138625,29 +143633,40 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single[] @params) + unsafe void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* @params_ptr = @params) - { - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params_ptr); - } - } + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); #if DEBUG } #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameterfvSGIX")] + public static + unsafe void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.ListParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] public static - void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138659,10 +143678,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixListPriority", Version = "1.0", EntryPoint = "glListParameteriSGIX")] public static - void ListParameter(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) + void ListParameter(Int32 list, OpenTK.Graphics.ListParameterName pname, Int32 param) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138745,10 +143763,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] public static - void LoadIdentityDeformationMap(UInt32 mask) + void LoadIdentityDeformationMap(Int32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138760,9 +143777,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixPolynomialFfd", Version = "1.0", EntryPoint = "glLoadIdentityDeformationMapSGIX")] public static - void LoadIdentityDeformationMap(Int32 mask) + void LoadIdentityDeformationMap(UInt32 mask) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -138788,6 +143806,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] + public static + unsafe Int32 PollAsync([Out] UInt32* markerp) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] public static @@ -138848,36 +143881,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixAsync", Version = "1.0", EntryPoint = "glPollAsyncSGIX")] - public static - unsafe Int32 PollAsync([Out] UInt32* markerp) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] - public static - unsafe Int32 PollInstruments([Out] Int32* marker_p) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] public static Int32 PollInstruments([Out] out Int32 marker_p) @@ -138900,6 +143903,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glPollInstrumentsSGIX")] + public static + unsafe Int32 PollInstruments([Out] Int32* marker_p) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glReadInstrumentsSGIX")] public static void ReadInstruments(Int32 marker) @@ -138914,6 +143932,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] + public static + unsafe void ReferencePlane(Double* equation) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReferencePlaneSGIX((Double*)equation); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] public static void ReferencePlane(ref Double equation) @@ -138954,21 +143987,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixReferencePlane", Version = "1.0", EntryPoint = "glReferencePlaneSGIX")] - public static - unsafe void ReferencePlane(Double* equation) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReferencePlaneSGIX((Double*)equation); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterfSGIX")] public static void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Single param) @@ -139032,6 +144050,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] + public static + unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] public static void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32[] @params) @@ -139052,21 +144085,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SgixSprite", Version = "1.0", EntryPoint = "glSpriteParameterivSGIX")] - public static - unsafe void SpriteParameter(OpenTK.Graphics.SgixSprite pname, Int32* @params) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.SgixSprite)pname, (Int32*)@params); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SgixInstruments", Version = "1.0", EntryPoint = "glStartInstrumentsSGIX")] public static void StartInstruments() @@ -139129,7 +144147,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] public static - void Color3fVertex3(ref Single c, ref Single v) + void Color3fVertex3(Single[] c, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139137,8 +144155,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); } @@ -139165,7 +144183,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor3fVertex3fvSUN")] public static - void Color3fVertex3(Single[] c, Single[] v) + void Color3fVertex3(ref Single c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139173,8 +144191,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) { Delegates.glColor3fVertex3fvSUN((Single*)c_ptr, (Single*)v_ptr); } @@ -139198,28 +144216,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] - public static - void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* c_ptr = &c) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] public static void Color4fNormal3fVertex3(Single[] c, Single[] n, Single[] v) @@ -139242,6 +144238,28 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] + public static + void Color4fNormal3fVertex3(ref Single c, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* c_ptr = &c) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4fNormal3fVertex3fvSUN")] public static @@ -139271,27 +144289,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] - public static - void Color4ubVertex2(Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] public static @@ -139328,6 +144325,27 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex2fvSUN")] + public static + void Color4ubVertex2(Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glColor4ubVertex2fvSUN((Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fSUN")] public static void Color4ubVertex3(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) @@ -139344,7 +144362,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] public static - void Color4ubVertex3(Byte[] c, Single[] v) + void Color4ubVertex3(ref Byte c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139352,8 +144370,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) { Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); } @@ -139380,7 +144398,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glColor4ubVertex3fvSUN")] public static - void Color4ubVertex3(ref Byte c, ref Single v) + void Color4ubVertex3(Byte[] c, Single[] v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139388,8 +144406,8 @@ namespace OpenTK.Graphics #endif unsafe { - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) { Delegates.glColor4ubVertex3fvSUN((Byte*)c_ptr, (Single*)v_ptr); } @@ -139513,10 +144531,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorusSUN")] public static - void GlobalAlphaFactor(UInt16 factor) + void GlobalAlphaFactor(Int16 factor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139528,9 +144545,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunGlobalAlpha", Version = "1.1", EntryPoint = "glGlobalAlphaFactorusSUN")] public static - void GlobalAlphaFactor(Int16 factor) + void GlobalAlphaFactor(UInt16 factor) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139675,7 +144693,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,] pointer) + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,,] pointer) where T2 : struct { #if DEBUG @@ -139698,7 +144716,7 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,,] pointer) + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,] pointer) where T2 : struct { #if DEBUG @@ -139733,21 +144751,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] - public static - unsafe void ReplacementCode(Byte* code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeubvSUN((Byte*)code); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] public static void ReplacementCode(Byte[] code) @@ -139769,15 +144772,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeubvSUN")] public static - void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) + unsafe void ReplacementCode(Byte* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + Delegates.glReplacementCodeubvSUN((Byte*)code); #if DEBUG } #endif @@ -139798,34 +144801,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN")] public static - unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) + void ReplacementCodeuiColor3fVertex3(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -139854,28 +144838,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] - public static - void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int32* rc_ptr = &rc) - fixed (Single* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static @@ -139895,6 +144857,47 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(Int32* rc, Single[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + void ReplacementCodeuiColor3fVertex3(ref Int32 rc, ref Single c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* rc_ptr = &rc) + fixed (Single* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] public static @@ -139910,6 +144913,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor3fVertex3(UInt32* rc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN")] public static @@ -139939,21 +144957,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static @@ -139981,7 +144984,47 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single* c, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -139996,18 +145039,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(Int32* rc, Single[] c, Single[] n, Single[] v) + unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single* c, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -140037,20 +145075,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] public static - unsafe void ReplacementCodeuiColor4fNormal3fVertex3(UInt32* rc, Single[] c, Single[] n, Single[] v) + void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -140071,15 +145104,42 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] public static - void ReplacementCodeuiColor4ubVertex3(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Byte* c_ptr = c) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); + } #if DEBUG } #endif @@ -140119,25 +145179,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiColor4ubVertex3(UInt32* rc, Byte[] c, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Byte* c_ptr = c) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] public static @@ -140175,29 +145216,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN")] - public static - void ReplacementCodeuiColor4ubVertex3(ref UInt32 rc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN")] public static @@ -140227,25 +145245,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static void ReplacementCodeuiNormal3fVertex3(ref Int32 rc, ref Single n, ref Single v) @@ -140271,30 +145270,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static - void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140309,7 +145285,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] public static - unsafe void ReplacementCodeuiNormal3fVertex3(UInt32* rc, Single* n, Single* v) + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140340,6 +145316,48 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiNormal3fVertex3(Int32* rc, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n_ptr, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiNormal3fVertex3(ref UInt32 rc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuiSUN")] public static void ReplacementCode(Int32 code) @@ -140369,20 +145387,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] - public static - void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] public static @@ -140398,31 +145402,15 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")] public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -140477,6 +145465,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(Int32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")] public static @@ -140548,6 +145566,30 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] + public static + void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* rc_ptr = &rc) + fixed (Single* tc_ptr = &tc) + fixed (Single* n_ptr = &n) + fixed (Single* v_ptr = &v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static @@ -140606,22 +145648,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] public static - void ReplacementCodeuiTexCoord2fNormal3fVertex3(ref UInt32 rc, ref Single tc, ref Single n, ref Single v) + unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (UInt32* rc_ptr = &rc) - fixed (Single* tc_ptr = &tc) - fixed (Single* n_ptr = &n) - fixed (Single* v_ptr = &v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc_ptr, (Single*)tc_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); #if DEBUG } #endif @@ -140650,25 +145683,9 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3(UInt32* rc, Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] public static - void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) + void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140680,9 +145697,10 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN")] public static - void ReplacementCodeuiTexCoord2fVertex3(Int32 rc, Single s, Single t, Single x, Single y, Single z) + void ReplacementCodeuiTexCoord2fVertex3(UInt32 rc, Single s, Single t, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140716,6 +145734,36 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static @@ -140754,21 +145802,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(UInt32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] public static @@ -140792,36 +145825,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiTexCoord2fVertex3(Int32* rc, Single* tc, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] - public static - void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] public static void ReplacementCodeuiVertex3(Int32 rc, Single x, Single y, Single z) @@ -140837,18 +145840,15 @@ namespace OpenTK.Graphics } [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fSUN")] public static - unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) + void ReplacementCodeuiVertex3(UInt32 rc, Single x, Single y, Single z) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); #if DEBUG } #endif @@ -140905,24 +145905,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] - public static - unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - fixed (Single* v_ptr = v) - { - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); - } - #if DEBUG - } - #endif - } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] public static @@ -140945,10 +145927,67 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(Int32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glReplacementCodeuiVertex3fvSUN")] + public static + unsafe void ReplacementCodeuiVertex3(UInt32* rc, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + fixed (Single* v_ptr = v) + { + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v_ptr); + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] public static - unsafe void ReplacementCode(UInt32* code) + void ReplacementCode(UInt32[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* code_ptr = code) + { + Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] + public static + unsafe void ReplacementCode(Int32* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140963,7 +146002,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] public static - unsafe void ReplacementCode(Int32* code) + unsafe void ReplacementCode(UInt32* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -140995,27 +146034,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeuivSUN")] - public static - void ReplacementCode(UInt32[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (UInt32* code_ptr = code) - { - Delegates.glReplacementCodeuivSUN((UInt32*)code_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusSUN")] public static void ReplacementCode(Int16 code) @@ -141048,7 +146066,7 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] public static - unsafe void ReplacementCode(UInt16* code) + unsafe void ReplacementCode(Int16* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141060,10 +146078,30 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] + public static + void ReplacementCode(Int16[] code) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int16* code_ptr = code) + { + Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); + } + } + #if DEBUG + } + #endif + } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] public static - unsafe void ReplacementCode(Int16* code) + unsafe void ReplacementCode(UInt16* code) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -141096,26 +146134,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodeusvSUN")] - public static - void ReplacementCode(Int16[] code) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Int16* code_ptr = code) - { - Delegates.glReplacementCodeusvSUN((UInt16*)code_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fSUN")] public static void TexCoord2fColor3fVertex3(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) @@ -141130,6 +146148,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] public static void TexCoord2fColor3fVertex3(ref Single tc, ref Single c, ref Single v) @@ -141174,21 +146207,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor3fVertex3(Single* tc, Single* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN")] public static void TexCoord2fColor4fNormal3fVertex3(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -141203,44 +146221,6 @@ namespace OpenTK.Graphics #endif } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = tc) - fixed (Single* c_ptr = c) - fixed (Single* n_ptr = n) - fixed (Single* v_ptr = v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] public static void TexCoord2fColor4fNormal3fVertex3(ref Single tc, ref Single c, ref Single n, ref Single v) @@ -141264,6 +146244,44 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4fNormal3fVertex3(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN")] + public static + void TexCoord2fColor4fNormal3fVertex3(Single[] tc, Single[] c, Single[] n, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = tc) + fixed (Single* c_ptr = c) + fixed (Single* n_ptr = n) + fixed (Single* v_ptr = v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc_ptr, (Single*)c_ptr, (Single*)n_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fSUN")] public static void TexCoord2fColor4ubVertex3(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) @@ -141278,43 +146296,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); - #if DEBUG - } - #endif - } - - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] - public static - void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Byte* c_ptr = &c) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); - } - } - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] public static void TexCoord2fColor4ubVertex3(Single[] tc, Byte[] c, Single[] v) @@ -141337,6 +146318,43 @@ namespace OpenTK.Graphics #endif } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + void TexCoord2fColor4ubVertex3(ref Single tc, ref Byte c, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Byte* c_ptr = &c) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc_ptr, (Byte*)c_ptr, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN")] + public static + unsafe void TexCoord2fColor4ubVertex3(Single* tc, Byte* c, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fSUN")] public static void TexCoord2fNormal3fVertex3(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) @@ -141351,6 +146369,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] + public static + unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] public static void TexCoord2fNormal3fVertex3(Single[] tc, Single[] n, Single[] v) @@ -141373,21 +146406,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] - public static - unsafe void TexCoord2fNormal3fVertex3(Single* tc, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN")] public static void TexCoord2fNormal3fVertex3(ref Single tc, ref Single n, ref Single v) @@ -141495,6 +146513,21 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] + public static + unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + #if DEBUG + } + #endif + } + [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] public static void TexCoord4fColor4fNormal3fVertex4(ref Single tc, ref Single c, ref Single n, ref Single v) @@ -141518,21 +146551,6 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] - public static - unsafe void TexCoord4fColor4fNormal3fVertex4(Single* tc, Single* c, Single* n, Single* v) - { - #if DEBUG - using (new ErrorHelper(GraphicsContext.CurrentContext)) - { - #endif - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - #if DEBUG - } - #endif - } - [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN")] public static void TexCoord4fColor4fNormal3fVertex4(Single[] tc, Single[] c, Single[] n, Single[] v) @@ -141570,16 +146588,22 @@ namespace OpenTK.Graphics #endif } - [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] public static - unsafe void TexCoord4fVertex4(Single* tc, Single* v) + void TexCoord4fVertex4(ref Single tc, ref Single v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + unsafe + { + fixed (Single* tc_ptr = &tc) + fixed (Single* v_ptr = &v) + { + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); + } + } #if DEBUG } #endif @@ -141606,22 +146630,16 @@ namespace OpenTK.Graphics #endif } + [System.CLSCompliant(false)] [AutoGenerated(Category = "SunVertex", Version = "1.1", EntryPoint = "glTexCoord4fVertex4fvSUN")] public static - void TexCoord4fVertex4(ref Single tc, ref Single v) + unsafe void TexCoord4fVertex4(Single* tc, Single* v) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - unsafe - { - fixed (Single* tc_ptr = &tc) - fixed (Single* v_ptr = &v) - { - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc_ptr, (Single*)v_ptr); - } - } + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); #if DEBUG } #endif diff --git a/Source/OpenTK/Graphics/GL/GLCore.cs b/Source/OpenTK/Graphics/GL/GLCore.cs index a572ea21..6713b2f5 100644 --- a/Source/OpenTK/Graphics/GL/GLCore.cs +++ b/Source/OpenTK/Graphics/GL/GLCore.cs @@ -42,18 +42,57 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccum", ExactSpelling = true)] internal extern static void Accum(OpenTK.Graphics.AccumOp op, Single value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveStencilFaceEXT", ExactSpelling = true)] + internal extern static void ActiveStencilFaceEXT(OpenTK.Graphics.ExtStencilTwoSide face); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] internal extern static void ActiveTexture(OpenTK.Graphics.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTextureARB", ExactSpelling = true)] + internal extern static void ActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveVaryingNV", ExactSpelling = true)] + internal extern static void ActiveVaryingNV(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp1ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp2ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFragmentOp3ATI", ExactSpelling = true)] + internal extern static void AlphaFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)] internal extern static void AlphaFunc(OpenTK.Graphics.AlphaFunction func, Single @ref); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glApplyTextureEXT", ExactSpelling = true)] + internal extern static void ApplyTextureEXT(OpenTK.Graphics.ExtLightTexture mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreProgramsResidentNV", ExactSpelling = true)] + internal extern static unsafe bool AreProgramsResidentNV(Int32 n, UInt32* programs, [Out] bool* residences); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResident", ExactSpelling = true)] internal extern static unsafe bool AreTexturesResident(Int32 n, UInt32* textures, [Out] bool* residences); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAreTexturesResidentEXT", ExactSpelling = true)] + internal extern static unsafe bool AreTexturesResidentEXT(Int32 n, UInt32* textures, [Out] bool* residences); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElement", ExactSpelling = true)] internal extern static void ArrayElement(Int32 i); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayElementEXT", ExactSpelling = true)] + internal extern static void ArrayElementEXT(Int32 i); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glArrayObjectATI", ExactSpelling = true)] + internal extern static void ArrayObjectATI(OpenTK.Graphics.EnableCap array, Int32 size, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAsyncMarkerSGIX", ExactSpelling = true)] + internal extern static void AsyncMarkerSGIX(UInt32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachObjectARB", ExactSpelling = true)] + internal extern static void AttachObjectARB(UInt32 containerObj, UInt32 obj); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] internal extern static void AttachShader(UInt32 program, UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -63,69 +102,246 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)] internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.ConditionalRenderType mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRenderNV", ExactSpelling = true)] + internal extern static void BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.NvConditionalRender mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginFragmentShaderATI", ExactSpelling = true)] + internal extern static void BeginFragmentShaderATI(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginOcclusionQueryNV", ExactSpelling = true)] + internal extern static void BeginOcclusionQueryNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)] internal extern static void BeginPerfMonitorAMD(UInt32 monitor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] internal extern static void BeginQuery(OpenTK.Graphics.QueryTarget target, UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQueryARB", ExactSpelling = true)] + internal extern static void BeginQueryARB(OpenTK.Graphics.ArbOcclusionQuery target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] internal extern static void BeginTransformFeedback(OpenTK.Graphics.BeginFeedbackMode primitiveMode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackEXT", ExactSpelling = true)] + internal extern static void BeginTransformFeedbackEXT(OpenTK.Graphics.ExtTransformFeedback primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedbackNV", ExactSpelling = true)] + internal extern static void BeginTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginVertexShaderEXT", ExactSpelling = true)] + internal extern static void BeginVertexShaderEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocationARB", ExactSpelling = true)] + internal extern static void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] internal extern static void BindBuffer(OpenTK.Graphics.BufferTarget target, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferARB", ExactSpelling = true)] + internal extern static void BindBufferARB(OpenTK.Graphics.BufferTargetArb target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] internal extern static void BindBufferBase(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseEXT", ExactSpelling = true)] + internal extern static void BindBufferBaseEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseNV", ExactSpelling = true)] + internal extern static void BindBufferBaseNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetEXT", ExactSpelling = true)] + internal extern static void BindBufferOffsetEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferOffsetNV", ExactSpelling = true)] + internal extern static void BindBufferOffsetNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] internal extern static void BindBufferRange(OpenTK.Graphics.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeEXT", ExactSpelling = true)] + internal extern static void BindBufferRangeEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeNV", ExactSpelling = true)] + internal extern static void BindBufferRangeNV(OpenTK.Graphics.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocationEXT", ExactSpelling = true)] + internal extern static void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragmentShaderATI", ExactSpelling = true)] + internal extern static void BindFragmentShaderATI(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] internal extern static void BindFramebuffer(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferEXT", ExactSpelling = true)] + internal extern static void BindFramebufferEXT(OpenTK.Graphics.FramebufferTarget target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindLightParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindLightParameterEXT(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMaterialParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindMaterialParameterEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindMultiTextureEXT", ExactSpelling = true)] + internal extern static void BindMultiTextureEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindParameterEXT(OpenTK.Graphics.ExtVertexShader value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramARB", ExactSpelling = true)] + internal extern static void BindProgramARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramNV", ExactSpelling = true)] + internal extern static void BindProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] internal extern static void BindRenderbuffer(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferEXT", ExactSpelling = true)] + internal extern static void BindRenderbufferEXT(OpenTK.Graphics.RenderbufferTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexGenParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindTexGenParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] internal extern static void BindTexture(OpenTK.Graphics.TextureTarget target, UInt32 texture); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureEXT", ExactSpelling = true)] + internal extern static void BindTextureEXT(OpenTK.Graphics.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTextureUnitParameterEXT", ExactSpelling = true)] + internal extern static Int32 BindTextureUnitParameterEXT(OpenTK.Graphics.TextureUnit unit, OpenTK.Graphics.ExtVertexShader value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedbackNV", ExactSpelling = true)] + internal extern static void BindTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] internal extern static void BindVertexArray(UInt32 array); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayAPPLE", ExactSpelling = true)] + internal extern static void BindVertexArrayAPPLE(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexShaderEXT", ExactSpelling = true)] + internal extern static void BindVertexShaderEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bEXT", ExactSpelling = true)] + internal extern static void Binormal3bEXT(SByte bx, SByte by, SByte bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3bvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dEXT", ExactSpelling = true)] + internal extern static void Binormal3dEXT(Double bx, Double by, Double bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3dvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fEXT", ExactSpelling = true)] + internal extern static void Binormal3fEXT(Single bx, Single by, Single bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3fvEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3iEXT", ExactSpelling = true)] + internal extern static void Binormal3iEXT(Int32 bx, Int32 by, Int32 bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3ivEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3sEXT", ExactSpelling = true)] + internal extern static void Binormal3sEXT(Int16 bx, Int16 by, Int16 bz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormal3svEXT", ExactSpelling = true)] + internal extern static unsafe void Binormal3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBinormalPointerEXT", ExactSpelling = true)] + internal extern static void BinormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmap", ExactSpelling = true)] internal extern static unsafe void Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorEXT", ExactSpelling = true)] + internal extern static void BlendColorEXT(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] internal extern static void BlendEquation(OpenTK.Graphics.BlendEquationMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)] + internal extern static void BlendEquationEXT(OpenTK.Graphics.ExtBlendMinmax mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationi", ExactSpelling = true)] + internal extern static void BlendEquationi(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationIndexedAMD", ExactSpelling = true)] + internal extern static void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] internal extern static void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateEXT", ExactSpelling = true)] + internal extern static void BlendEquationSeparateEXT(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparatei", ExactSpelling = true)] + internal extern static void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateIndexedAMD", ExactSpelling = true)] + internal extern static void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] internal extern static void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunci", ExactSpelling = true)] + internal extern static void BlendFunci(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncIndexedAMD", ExactSpelling = true)] + internal extern static void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] internal extern static void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateEXT", ExactSpelling = true)] + internal extern static void BlendFuncSeparateEXT(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparatei", ExactSpelling = true)] + internal extern static void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateIndexedAMD", ExactSpelling = true)] + internal extern static void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateINGR", ExactSpelling = true)] + internal extern static void BlendFuncSeparateINGR(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebufferEXT", ExactSpelling = true)] + internal extern static void BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.ExtFramebufferBlit filter); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] internal extern static void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageHint usage); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferDataARB", ExactSpelling = true)] + internal extern static void BufferDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferParameteriAPPLE", ExactSpelling = true)] + internal extern static void BufferParameteriAPPLE(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterApple pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] internal extern static void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubDataARB", ExactSpelling = true)] + internal extern static void BufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCallList", ExactSpelling = true)] internal extern static void CallList(UInt32 list); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -135,9 +351,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] internal extern static OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.FramebufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusEXT", ExactSpelling = true)] + internal extern static OpenTK.Graphics.FramebufferErrorCode CheckFramebufferStatusEXT(OpenTK.Graphics.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckNamedFramebufferStatusEXT", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ExtDirectStateAccess CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] internal extern static void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColorARB", ExactSpelling = true)] + internal extern static void ClampColorARB(OpenTK.Graphics.ArbColorBufferFloat target, OpenTK.Graphics.ArbColorBufferFloat clamp); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] internal extern static void Clear(OpenTK.Graphics.ClearBufferMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -159,9 +384,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIiEXT", ExactSpelling = true)] + internal extern static void ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColorIuiEXT", ExactSpelling = true)] + internal extern static void ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepth", ExactSpelling = true)] internal extern static void ClearDepth(Double depth); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthdNV", ExactSpelling = true)] + internal extern static void ClearDepthdNV(Double depth); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearIndex", ExactSpelling = true)] internal extern static void ClearIndex(Single c); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -171,6 +405,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)] internal extern static void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTextureARB", ExactSpelling = true)] + internal extern static void ClientActiveTextureARB(OpenTK.Graphics.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveVertexStreamATI", ExactSpelling = true)] + internal extern static void ClientActiveVertexStreamATI(OpenTK.Graphics.AtiVertexStreams stream); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientAttribDefaultEXT", ExactSpelling = true)] + internal extern static void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlane", ExactSpelling = true)] internal extern static unsafe void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -192,6 +438,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fv", ExactSpelling = true)] internal extern static unsafe void Color3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color3fVertex3fvSUN(Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hNV", ExactSpelling = true)] + internal extern static void Color3hNV(OpenTK.Half red, OpenTK.Half green, OpenTK.Half blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3hvNV", ExactSpelling = true)] + internal extern static unsafe void Color3hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3i", ExactSpelling = true)] internal extern static void Color3i(Int32 red, Int32 green, Int32 blue); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -237,9 +495,21 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)] internal extern static void Color4f(Single red, Single green, Single blue, Single alpha); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4fv", ExactSpelling = true)] internal extern static unsafe void Color4fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hNV", ExactSpelling = true)] + internal extern static void Color4hNV(OpenTK.Half red, OpenTK.Half green, OpenTK.Half blue, OpenTK.Half alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4hvNV", ExactSpelling = true)] + internal extern static unsafe void Color4hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4i", ExactSpelling = true)] internal extern static void Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -258,6 +528,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubv", ExactSpelling = true)] internal extern static unsafe void Color4ubv(Byte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fSUN", ExactSpelling = true)] + internal extern static void Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex2fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4ubVertex2fvSUN(Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Color4ubVertex3fvSUN(Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4ui", ExactSpelling = true)] internal extern static void Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -270,141 +552,411 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4usv", ExactSpelling = true)] internal extern static unsafe void Color4usv(UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp1ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp1ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp2ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp2ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorFragmentOp3ATI", ExactSpelling = true)] + internal extern static void ColorFragmentOp3ATI(OpenTK.Graphics.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaski", ExactSpelling = true)] internal extern static void ColorMaski(UInt32 index, bool r, bool g, bool b, bool a); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaskIndexedEXT", ExactSpelling = true)] + internal extern static void ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMaterial", ExactSpelling = true)] internal extern static void ColorMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ColorMaterialParameter mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)] internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerEXT", ExactSpelling = true)] + internal extern static void ColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointerListIBM", ExactSpelling = true)] + internal extern static void ColorPointerListIBM(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointervINTEL", ExactSpelling = true)] + internal extern static void ColorPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTable", ExactSpelling = true)] internal extern static void ColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorSubTableEXT", ExactSpelling = true)] + internal extern static void ColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTable", ExactSpelling = true)] internal extern static void ColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableEXT", ExactSpelling = true)] + internal extern static void ColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfv", ExactSpelling = true)] internal extern static unsafe void ColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterfvSGI", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameteriv", ExactSpelling = true)] internal extern static unsafe void ColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.ColorTableParameterPName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableParameterivSGI", ExactSpelling = true)] + internal extern static unsafe void ColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorTableSGI", ExactSpelling = true)] + internal extern static void ColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerInputNV", ExactSpelling = true)] + internal extern static void CombinerInputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerOutputNV", ExactSpelling = true)] + internal extern static void CombinerOutputNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners abOutput, OpenTK.Graphics.NvRegisterCombiners cdOutput, OpenTK.Graphics.NvRegisterCombiners sumOutput, OpenTK.Graphics.NvRegisterCombiners scale, OpenTK.Graphics.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfNV", ExactSpelling = true)] + internal extern static void CombinerParameterfNV(OpenTK.Graphics.NvRegisterCombiners pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void CombinerParameterfvNV(OpenTK.Graphics.NvRegisterCombiners pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameteriNV", ExactSpelling = true)] + internal extern static void CombinerParameteriNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerParameterivNV", ExactSpelling = true)] + internal extern static unsafe void CombinerParameterivNV(OpenTK.Graphics.NvRegisterCombiners pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCombinerStageParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void CombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] internal extern static void CompileShader(UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShaderARB", ExactSpelling = true)] + internal extern static void CompileShaderARB(UInt32 shaderObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1D", ExactSpelling = true)] internal extern static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage1DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] internal extern static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] internal extern static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DARB", ExactSpelling = true)] + internal extern static void CompressedTexImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1D", ExactSpelling = true)] internal extern static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage1DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage1DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DARB", ExactSpelling = true)] + internal extern static void CompressedTexSubImage3DARB(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr bits); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1D", ExactSpelling = true)] internal extern static void ConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter1DEXT", ExactSpelling = true)] + internal extern static void ConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2D", ExactSpelling = true)] internal extern static void ConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionFilter2DEXT", ExactSpelling = true)] + internal extern static void ConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterf", ExactSpelling = true)] internal extern static void ConvolutionParameterf(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfEXT", ExactSpelling = true)] + internal extern static void ConvolutionParameterfEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfv", ExactSpelling = true)] internal extern static unsafe void ConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteri", ExactSpelling = true)] internal extern static void ConvolutionParameteri(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32 @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriEXT", ExactSpelling = true)] + internal extern static void ConvolutionParameteriEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameteriv", ExactSpelling = true)] internal extern static unsafe void ConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.ConvolutionParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void ConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] internal extern static void CopyBufferSubData(OpenTK.Graphics.BufferTarget readTarget, OpenTK.Graphics.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTable", ExactSpelling = true)] internal extern static void CopyColorSubTable(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorSubTableEXT", ExactSpelling = true)] + internal extern static void CopyColorSubTableEXT(OpenTK.Graphics.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTable", ExactSpelling = true)] internal extern static void CopyColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyColorTableSGI", ExactSpelling = true)] + internal extern static void CopyColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1D", ExactSpelling = true)] internal extern static void CopyConvolutionFilter1D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter1DEXT", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter1DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2D", ExactSpelling = true)] internal extern static void CopyConvolutionFilter2D(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyConvolutionFilter2DEXT", ExactSpelling = true)] + internal extern static void CopyConvolutionFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyMultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyPixels", ExactSpelling = true)] internal extern static void CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelCopyType type); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1D", ExactSpelling = true)] internal extern static void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTexImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] internal extern static void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTexImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1D", ExactSpelling = true)] internal extern static void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] internal extern static void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] internal extern static void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyTexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] internal extern static Int32 CreateProgram(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgramObjectARB", ExactSpelling = true)] + internal extern static Int32 CreateProgramObjectARB(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] internal extern static Int32 CreateShader(OpenTK.Graphics.ShaderType type); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderObjectARB", ExactSpelling = true)] + internal extern static Int32 CreateShaderObjectARB(OpenTK.Graphics.ArbShaderObjects shaderType); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] internal extern static void CullFace(OpenTK.Graphics.CullFaceMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterdvEXT", ExactSpelling = true)] + internal extern static unsafe void CullParameterdvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void CullParameterfvEXT(OpenTK.Graphics.ExtCullVertex pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixARB", ExactSpelling = true)] + internal extern static void CurrentPaletteMatrixARB(Int32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3dSGIX", ExactSpelling = true)] + internal extern static unsafe void DeformationMap3dSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformationMap3fSGIX", ExactSpelling = true)] + internal extern static unsafe void DeformationMap3fSGIX(OpenTK.Graphics.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeformSGIX", ExactSpelling = true)] + internal extern static void DeformSGIX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteAsyncMarkersSGIX", ExactSpelling = true)] + internal extern static void DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffersARB", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffersARB(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesAPPLE", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesAPPLE(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFencesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFragmentShaderATI", ExactSpelling = true)] + internal extern static void DeleteFragmentShaderATI(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffersEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteLists", ExactSpelling = true)] internal extern static void DeleteLists(UInt32 list, Int32 range); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteObjectARB", ExactSpelling = true)] + internal extern static void DeleteObjectARB(UInt32 obj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteOcclusionQueriesNV", ExactSpelling = true)] + internal extern static unsafe void DeleteOcclusionQueriesNV(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)] internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] internal extern static void DeleteProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsARB", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramsARB(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramsNV", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramsNV(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueriesARB", ExactSpelling = true)] + internal extern static unsafe void DeleteQueriesARB(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] internal extern static void DeleteShader(UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] + internal extern static void DeleteSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void DeleteTexturesEXT(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacksNV", ExactSpelling = true)] + internal extern static unsafe void DeleteTransformFeedbacksNV(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysAPPLE", ExactSpelling = true)] + internal extern static unsafe void DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexShaderEXT", ExactSpelling = true)] + internal extern static void DeleteVertexShaderEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsdNV", ExactSpelling = true)] + internal extern static void DepthBoundsdNV(Double zmin, Double zmax); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthBoundsEXT", ExactSpelling = true)] + internal extern static void DepthBoundsEXT(Double zmin, Double zmax); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] internal extern static void DepthFunc(OpenTK.Graphics.DepthFunction func); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -414,84 +966,207 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRange", ExactSpelling = true)] internal extern static void DepthRange(Double near, Double far); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangedNV", ExactSpelling = true)] + internal extern static void DepthRangedNV(Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachObjectARB", ExactSpelling = true)] + internal extern static void DetachObjectARB(UInt32 containerObj, UInt32 attachedObj); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] internal extern static void DetachShader(UInt32 program, UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetailTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void DetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] internal extern static void Disable(OpenTK.Graphics.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)] internal extern static void DisableClientState(OpenTK.Graphics.EnableCap array); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientStateIndexedEXT", ExactSpelling = true)] + internal extern static void DisableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisablei", ExactSpelling = true)] internal extern static void Disablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableIndexedEXT", ExactSpelling = true)] + internal extern static void DisableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVariantClientStateEXT", ExactSpelling = true)] + internal extern static void DisableVariantClientStateEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribAPPLE", ExactSpelling = true)] + internal extern static void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] internal extern static void DisableVertexAttribArray(UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArrayARB", ExactSpelling = true)] + internal extern static void DisableVertexAttribArrayARB(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] internal extern static void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)] + internal extern static void DrawArraysEXT(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] internal extern static void DrawArraysInstanced(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedARB", ExactSpelling = true)] + internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] + internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffer", ExactSpelling = true)] internal extern static void DrawBuffer(OpenTK.Graphics.DrawBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.DrawBuffersEnum* bufs); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersARB", ExactSpelling = true)] + internal extern static unsafe void DrawBuffersARB(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffersATI", ExactSpelling = true)] + internal extern static unsafe void DrawBuffersATI(Int32 n, OpenTK.Graphics.AtiDrawBuffers* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayAPPLE", ExactSpelling = true)] + internal extern static void DrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementArrayATI", ExactSpelling = true)] + internal extern static void DrawElementArrayATI(OpenTK.Graphics.BeginMode mode, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] internal extern static void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] + internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] internal extern static void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)] + internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] + internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] + internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawMeshArraysSUN", ExactSpelling = true)] + internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count, Int32 width); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawPixels", ExactSpelling = true)] internal extern static void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayAPPLE", ExactSpelling = true)] + internal extern static void DrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementArrayATI", ExactSpelling = true)] + internal extern static void DrawRangeElementArrayATI(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] internal extern static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] + internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)] + internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTransformFeedbackNV", ExactSpelling = true)] + internal extern static void DrawTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlag", ExactSpelling = true)] internal extern static void EdgeFlag(bool flag); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointer", ExactSpelling = true)] internal extern static void EdgeFlagPointer(Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerEXT", ExactSpelling = true)] + internal extern static unsafe void EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagPointerListIBM", ExactSpelling = true)] + internal extern static unsafe void EdgeFlagPointerListIBM(Int32 stride, bool* pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEdgeFlagv", ExactSpelling = true)] internal extern static unsafe void EdgeFlagv(bool* flag); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerAPPLE", ExactSpelling = true)] + internal extern static void ElementPointerAPPLE(OpenTK.Graphics.AppleElementArray type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glElementPointerATI", ExactSpelling = true)] + internal extern static void ElementPointerATI(OpenTK.Graphics.AtiElementArray type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] internal extern static void Enable(OpenTK.Graphics.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)] internal extern static void EnableClientState(OpenTK.Graphics.EnableCap array); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientStateIndexedEXT", ExactSpelling = true)] + internal extern static void EnableClientStateIndexedEXT(OpenTK.Graphics.EnableCap array, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnablei", ExactSpelling = true)] internal extern static void Enablei(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableIndexedEXT", ExactSpelling = true)] + internal extern static void EnableIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVariantClientStateEXT", ExactSpelling = true)] + internal extern static void EnableVariantClientStateEXT(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribAPPLE", ExactSpelling = true)] + internal extern static void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] internal extern static void EnableVertexAttribArray(UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArrayARB", ExactSpelling = true)] + internal extern static void EnableVertexAttribArrayARB(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnd", ExactSpelling = true)] internal extern static void End(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRender", ExactSpelling = true)] internal extern static void EndConditionalRender(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndConditionalRenderNV", ExactSpelling = true)] + internal extern static void EndConditionalRenderNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndFragmentShaderATI", ExactSpelling = true)] + internal extern static void EndFragmentShaderATI(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndList", ExactSpelling = true)] internal extern static void EndList(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndOcclusionQueryNV", ExactSpelling = true)] + internal extern static void EndOcclusionQueryNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)] internal extern static void EndPerfMonitorAMD(UInt32 monitor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] internal extern static void EndQuery(OpenTK.Graphics.QueryTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQueryARB", ExactSpelling = true)] + internal extern static void EndQueryARB(OpenTK.Graphics.ArbOcclusionQuery target); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] internal extern static void EndTransformFeedback(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackEXT", ExactSpelling = true)] + internal extern static void EndTransformFeedbackEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedbackNV", ExactSpelling = true)] + internal extern static void EndTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndVertexShaderEXT", ExactSpelling = true)] + internal extern static void EndVertexShaderEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1d", ExactSpelling = true)] internal extern static void EvalCoord1d(Double u); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -516,6 +1191,9 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2fv", ExactSpelling = true)] internal extern static unsafe void EvalCoord2fv(Single* u); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMapsNV", ExactSpelling = true)] + internal extern static void EvalMapsNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalMesh1", ExactSpelling = true)] internal extern static void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -528,36 +1206,105 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalPoint2", ExactSpelling = true)] internal extern static void EvalPoint2(Int32 i, Int32 j); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExecuteProgramNV", ExactSpelling = true)] + internal extern static unsafe void ExecuteProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtractComponentEXT", ExactSpelling = true)] + internal extern static void ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBuffer", ExactSpelling = true)] internal extern static unsafe void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] + internal extern static IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinalCombinerInputNV", ExactSpelling = true)] + internal extern static void FinalCombinerInputNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] internal extern static void Finish(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishAsyncSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 FinishAsyncSGIX([Out] UInt32* markerp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceAPPLE", ExactSpelling = true)] + internal extern static void FinishFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishFenceNV", ExactSpelling = true)] + internal extern static void FinishFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishObjectAPPLE", ExactSpelling = true)] + internal extern static void FinishObjectAPPLE(OpenTK.Graphics.AppleFence @object, Int32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinishTextureSUNX", ExactSpelling = true)] + internal extern static void FinishTextureSUNX(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] internal extern static void Flush(); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] internal extern static void FlushMappedBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeAPPLE", ExactSpelling = true)] + internal extern static void FlushMappedBufferRangeAPPLE(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushPixelDataRangeNV", ExactSpelling = true)] + internal extern static void FlushPixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushRasterSGIX", ExactSpelling = true)] + internal extern static void FlushRasterSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeAPPLE", ExactSpelling = true)] + internal extern static void FlushVertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushVertexArrayRangeNV", ExactSpelling = true)] + internal extern static void FlushVertexArrayRangeNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordd", ExactSpelling = true)] internal extern static void FogCoordd(Double coord); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddEXT", ExactSpelling = true)] + internal extern static void FogCoorddEXT(Double coord); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddv", ExactSpelling = true)] internal extern static unsafe void FogCoorddv(Double* coord); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoorddvEXT", ExactSpelling = true)] + internal extern static unsafe void FogCoorddvEXT(Double* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordf", ExactSpelling = true)] internal extern static void FogCoordf(Single coord); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfEXT", ExactSpelling = true)] + internal extern static void FogCoordfEXT(Single coord); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfv", ExactSpelling = true)] internal extern static unsafe void FogCoordfv(Single* coord); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordfvEXT", ExactSpelling = true)] + internal extern static unsafe void FogCoordfvEXT(Single* coord); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhNV", ExactSpelling = true)] + internal extern static void FogCoordhNV(OpenTK.Half fog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordhvNV", ExactSpelling = true)] + internal extern static unsafe void FogCoordhvNV(OpenTK.Half* fog); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointer", ExactSpelling = true)] internal extern static void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerEXT", ExactSpelling = true)] + internal extern static void FogCoordPointerEXT(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogCoordPointerListIBM", ExactSpelling = true)] + internal extern static void FogCoordPointerListIBM(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)] internal extern static void Fogf(OpenTK.Graphics.FogParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void FogFuncSGIS(Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)] internal extern static unsafe void Fogfv(OpenTK.Graphics.FogParameter pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -567,60 +1314,216 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogiv", ExactSpelling = true)] internal extern static unsafe void Fogiv(OpenTK.Graphics.FogParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentColorMaterialSGIX", ExactSpelling = true)] + internal extern static void FragmentColorMaterialSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfSGIX", ExactSpelling = true)] + internal extern static void FragmentLightfSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightiSGIX", ExactSpelling = true)] + internal extern static void FragmentLightiSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfSGIX", ExactSpelling = true)] + internal extern static void FragmentLightModelfSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightModelfvSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModeliSGIX", ExactSpelling = true)] + internal extern static void FragmentLightModeliSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentLightModelivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentLightModelivSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfSGIX", ExactSpelling = true)] + internal extern static void FragmentMaterialfSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialfvSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialiSGIX", ExactSpelling = true)] + internal extern static void FragmentMaterialiSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFragmentMaterialivSGIX", ExactSpelling = true)] + internal extern static unsafe void FragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBufferEXT", ExactSpelling = true)] + internal extern static void FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.DrawBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferDrawBuffersEXT", ExactSpelling = true)] + internal extern static unsafe void FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.DrawBufferMode* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferReadBufferEXT", ExactSpelling = true)] + internal extern static void FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.ReadBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferEXT", ExactSpelling = true)] + internal extern static void FramebufferRenderbufferEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture", ExactSpelling = true)] + internal extern static void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1D", ExactSpelling = true)] internal extern static void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture1DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture1DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] internal extern static void FramebufferTexture2D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture2DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3D", ExactSpelling = true)] internal extern static void FramebufferTexture3D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DEXT", ExactSpelling = true)] + internal extern static void FramebufferTexture3DEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureARB", ExactSpelling = true)] + internal extern static void FramebufferTextureARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFace", ExactSpelling = true)] + internal extern static void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceARB", ExactSpelling = true)] + internal extern static void FramebufferTextureFaceARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureFaceEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureFaceEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] internal extern static void FramebufferTextureLayer(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerARB", ExactSpelling = true)] + internal extern static void FramebufferTextureLayerARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayerEXT", ExactSpelling = true)] + internal extern static void FramebufferTextureLayerEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameTerminatorGREMEDY", ExactSpelling = true)] + internal extern static void FrameTerminatorGREMEDY(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrameZoomSGIX", ExactSpelling = true)] + internal extern static void FrameZoomSGIX(Int32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFreeObjectBufferATI", ExactSpelling = true)] + internal extern static void FreeObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] internal extern static void FrontFace(OpenTK.Graphics.FrontFaceDirection mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustum", ExactSpelling = true)] internal extern static void Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenAsyncMarkersSGIX", ExactSpelling = true)] + internal extern static Int32 GenAsyncMarkersSGIX(Int32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] internal extern static unsafe void GenBuffers(Int32 n, [Out] UInt32* buffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffersARB", ExactSpelling = true)] + internal extern static unsafe void GenBuffersARB(Int32 n, [Out] UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] internal extern static void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateMipmapEXT(OpenTK.Graphics.GenerateMipmapTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMultiTexMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateMultiTexMipmapEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateTextureMipmapEXT", ExactSpelling = true)] + internal extern static void GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesAPPLE", ExactSpelling = true)] + internal extern static unsafe void GenFencesAPPLE(Int32 n, [Out] UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)] + internal extern static unsafe void GenFencesNV(Int32 n, [Out] UInt32* fences); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFragmentShadersATI", ExactSpelling = true)] + internal extern static Int32 GenFragmentShadersATI(UInt32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] internal extern static unsafe void GenFramebuffers(Int32 n, [Out] UInt32* framebuffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersEXT", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffersEXT(Int32 n, [Out] UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenLists", ExactSpelling = true)] internal extern static Int32 GenLists(Int32 range); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenOcclusionQueriesNV", ExactSpelling = true)] + internal extern static unsafe void GenOcclusionQueriesNV(Int32 n, [Out] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)] internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsARB", ExactSpelling = true)] + internal extern static unsafe void GenProgramsARB(Int32 n, [Out] UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramsNV", ExactSpelling = true)] + internal extern static unsafe void GenProgramsNV(Int32 n, [Out] UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] internal extern static unsafe void GenQueries(Int32 n, [Out] UInt32* ids); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueriesARB", ExactSpelling = true)] + internal extern static unsafe void GenQueriesARB(Int32 n, [Out] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] internal extern static unsafe void GenRenderbuffers(Int32 n, [Out] UInt32* renderbuffers); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersEXT", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffersEXT(Int32 n, [Out] UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSymbolsEXT", ExactSpelling = true)] + internal extern static Int32 GenSymbolsEXT(OpenTK.Graphics.ExtVertexShader datatype, OpenTK.Graphics.ExtVertexShader storagetype, OpenTK.Graphics.ExtVertexShader range, UInt32 components); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] internal extern static unsafe void GenTextures(Int32 n, [Out] UInt32* textures); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void GenTexturesEXT(Int32 n, [Out] UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacksNV", ExactSpelling = true)] + internal extern static unsafe void GenTransformFeedbacksNV(Int32 n, [Out] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] internal extern static unsafe void GenVertexArrays(Int32 n, [Out] UInt32* arrays); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysAPPLE", ExactSpelling = true)] + internal extern static unsafe void GenVertexArraysAPPLE(Int32 n, [Out] UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexShadersEXT", ExactSpelling = true)] + internal extern static Int32 GenVertexShadersEXT(UInt32 range); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttribARB", ExactSpelling = true)] + internal extern static unsafe void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveUniformType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformARB", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -633,87 +1536,276 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ArbUniformBufferObject pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveVaryingNV", ExactSpelling = true)] + internal extern static unsafe void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetArrayObjectfvATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetArrayObjectivATI(OpenTK.Graphics.EnableCap array, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedObjectsARB", ExactSpelling = true)] + internal extern static unsafe void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] internal extern static Int32 GetAttribLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocationARB", ExactSpelling = true)] + internal extern static Int32 GetAttribLocationARB(UInt32 programObj, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] bool* data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetBooleanIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] internal extern static unsafe void GetBooleanv(OpenTK.Graphics.GetPName pname, [Out] bool* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameterivARB", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameterivARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferParameterNameArb pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] internal extern static void GetBufferPointerv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervARB", ExactSpelling = true)] + internal extern static void GetBufferPointervARB(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [Out] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubData", ExactSpelling = true)] internal extern static void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [Out] IntPtr data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferSubDataARB", ExactSpelling = true)] + internal extern static void GetBufferSubDataARB(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlane", ExactSpelling = true)] internal extern static unsafe void GetClipPlane(OpenTK.Graphics.ClipPlaneName plane, [Out] Double* equation); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTable", ExactSpelling = true)] internal extern static void GetColorTable(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableEXT", ExactSpelling = true)] + internal extern static void GetColorTableEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfv", ExactSpelling = true)] internal extern static unsafe void GetColorTableParameterfv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterfvEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterfvSGI", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterfvSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameteriv", ExactSpelling = true)] internal extern static unsafe void GetColorTableParameteriv(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterivEXT(OpenTK.Graphics.ColorTableTarget target, OpenTK.Graphics.GetColorTableParameterPName pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableParameterivSGI", ExactSpelling = true)] + internal extern static unsafe void GetColorTableParameterivSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetColorTableSGI", ExactSpelling = true)] + internal extern static void GetColorTableSGI(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerInputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerOutputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerOutputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerOutputParameterivNV(OpenTK.Graphics.NvRegisterCombiners stage, OpenTK.Graphics.NvRegisterCombiners portion, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCombinerStageParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetCombinerStageParameterfvNV(OpenTK.Graphics.NvRegisterCombiners2 stage, OpenTK.Graphics.NvRegisterCombiners2 pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedMultiTexImageEXT", ExactSpelling = true)] + internal extern static void GetCompressedMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImage", ExactSpelling = true)] internal extern static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTexImageARB", ExactSpelling = true)] + internal extern static void GetCompressedTexImageARB(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetCompressedTextureImageEXT", ExactSpelling = true)] + internal extern static void GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [Out] IntPtr img); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilter", ExactSpelling = true)] internal extern static void GetConvolutionFilter(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionFilterEXT", ExactSpelling = true)] + internal extern static void GetConvolutionFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfv", ExactSpelling = true)] internal extern static unsafe void GetConvolutionParameterfv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameterfvEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameteriv", ExactSpelling = true)] internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.ConvolutionTarget target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetConvolutionParameterivEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDetailTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetDetailTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoubleIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetDoubleIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDoublev", ExactSpelling = true)] internal extern static unsafe void GetDoublev(OpenTK.Graphics.GetPName pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] internal extern static OpenTK.Graphics.ErrorCode GetError(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)] + internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.NvFence pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFinalCombinerInputParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetFinalCombinerInputParameterivNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetFloatIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] internal extern static unsafe void GetFloatv(OpenTK.Graphics.GetPName pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFogFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetFogFuncSGIS([Out] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] internal extern static Int32 GetFragDataLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocationEXT", ExactSpelling = true)] + internal extern static Int32 GetFragDataLocationEXT(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentLightfvSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentLightivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentLightivSGIX(OpenTK.Graphics.SgixFragmentLighting light, OpenTK.Graphics.SgixFragmentLighting pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentMaterialfvSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragmentMaterialivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetFragmentMaterialivSGIX(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHandleARB", ExactSpelling = true)] + internal extern static Int32 GetHandleARB(OpenTK.Graphics.ArbShaderObjects pname); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogram", ExactSpelling = true)] internal extern static void GetHistogram(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramEXT", ExactSpelling = true)] + internal extern static void GetHistogramEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfv", ExactSpelling = true)] internal extern static unsafe void GetHistogramParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameteriv", ExactSpelling = true)] internal extern static unsafe void GetHistogramParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetHistogramParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterfvHP", ExactSpelling = true)] + internal extern static unsafe void GetImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetImageTransformParameterivHP", ExactSpelling = true)] + internal extern static unsafe void GetImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInfoLogARB", ExactSpelling = true)] + internal extern static unsafe void GetInfoLogARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInstrumentsSGIX", ExactSpelling = true)] + internal extern static Int32 GetInstrumentsSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerIndexedvEXT", ExactSpelling = true)] + internal extern static unsafe void GetIntegerIndexedvEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index, [Out] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] internal extern static unsafe void GetIntegerv(OpenTK.Graphics.GetPName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInvariantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)] internal extern static unsafe void GetLightfv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightiv", ExactSpelling = true)] internal extern static unsafe void GetLightiv(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetListParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLocalConstantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetMapAttribParameterfvNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapAttribParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetMapAttribParameterivNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapControlPointsNV", ExactSpelling = true)] + internal extern static void GetMapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [Out] IntPtr points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapdv", ExactSpelling = true)] internal extern static unsafe void GetMapdv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -723,6 +1815,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapiv", ExactSpelling = true)] internal extern static unsafe void GetMapiv(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetMapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapParameterivNV", ExactSpelling = true)] + internal extern static unsafe void GetMapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)] internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -732,12 +1830,117 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmax", ExactSpelling = true)] internal extern static void GetMinmax(OpenTK.Graphics.Version12Deprecated target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxEXT", ExactSpelling = true)] + internal extern static void GetMinmaxEXT(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfv", ExactSpelling = true)] internal extern static unsafe void GetMinmaxParameterfv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameterfvEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameteriv", ExactSpelling = true)] internal extern static unsafe void GetMinmaxParameteriv(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.Version12Deprecated pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMinmaxParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMinmaxParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] + internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefvNV", ExactSpelling = true)] + internal extern static unsafe void GetMultisamplefvNV(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexEnvivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGendvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexGenivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexImageEXT", ExactSpelling = true)] + internal extern static void GetMultiTexImageEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexLevelParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexLevelParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultiTexParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetMultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferPointervEXT", ExactSpelling = true)] + internal extern static void GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedBufferSubDataEXT", ExactSpelling = true)] + internal extern static void GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [Out] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedFramebufferAttachmentParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterdvEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramLocalParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedProgramStringEXT", ExactSpelling = true)] + internal extern static void GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [Out] IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetNamedRenderbufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferfvATI", ExactSpelling = true)] + internal extern static unsafe void GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectBufferivATI", ExactSpelling = true)] + internal extern static unsafe void GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivAPPLE", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterivAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectParameterivARB", ExactSpelling = true)] + internal extern static unsafe void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryivNV", ExactSpelling = true)] + internal extern static unsafe void GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetOcclusionQueryuivNV", ExactSpelling = true)] + internal extern static unsafe void GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.NvOcclusionQuery pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)] internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -765,33 +1968,114 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapusv", ExactSpelling = true)] internal extern static unsafe void GetPixelMapusv(OpenTK.Graphics.PixelMap map, [Out] UInt16* values); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelTexGenParameterivSGIS", ExactSpelling = true)] + internal extern static unsafe void GetPixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerIndexedvEXT", ExactSpelling = true)] + internal extern static void GetPointerIndexedvEXT(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [Out] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)] internal extern static void GetPointerv(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointervEXT", ExactSpelling = true)] + internal extern static void GetPointervEXT(OpenTK.Graphics.GetPointervPName pname, [Out] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPolygonStipple", ExactSpelling = true)] internal extern static unsafe void GetPolygonStipple([Out] Byte* mask); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterdvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramEnvParameterIuivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramEnvParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramivARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramivNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterdvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterdvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterfvARB(OpenTK.Graphics.ArbVertexProgram target, UInt32 index, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterIivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramLocalParameterIuivNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramLocalParameterIuivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterdvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramNamedParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterdvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramParameterdvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramParameterfvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringARB", ExactSpelling = true)] + internal extern static void GetProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramStringNV", ExactSpelling = true)] + internal extern static unsafe void GetProgramStringNV(UInt32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Byte* program); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] internal extern static unsafe void GetQueryiv(OpenTK.Graphics.QueryTarget target, OpenTK.Graphics.GetQueryParam pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryivARB(OpenTK.Graphics.ArbOcclusionQuery target, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjecti64vEXT", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectiv", ExactSpelling = true)] internal extern static unsafe void GetQueryObjectiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectui64vEXT", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ExtTimerQuery pname, [Out] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuivARB", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameterivEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferParameterName pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilter", ExactSpelling = true)] internal extern static void GetSeparableFilter(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSeparableFilterEXT", ExactSpelling = true)] + internal extern static void GetSeparableFilterEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder infoLog); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -801,18 +2085,36 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder source); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSourceARB", ExactSpelling = true)] + internal extern static unsafe void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder source); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSharpenTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetSharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, [Out] Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] internal extern static IntPtr GetString(OpenTK.Graphics.StringName name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] internal extern static IntPtr GetStringi(OpenTK.Graphics.StringName name, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] + internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterfvATI", ExactSpelling = true)] + internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterivATI", ExactSpelling = true)] + internal extern static unsafe void GetTexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)] internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)] internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexFilterFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void GetTexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, [Out] Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGendv", ExactSpelling = true)] internal extern static unsafe void GetTexGendv(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -837,57 +2139,228 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIiv", ExactSpelling = true)] internal extern static unsafe void GetTexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuiv", ExactSpelling = true)] internal extern static unsafe void GetTexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterPointervAPPLE", ExactSpelling = true)] + internal extern static void GetTexParameterPointervAPPLE(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureImageEXT", ExactSpelling = true)] + internal extern static void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureLevelParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTextureParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTrackMatrixivNV", ExactSpelling = true)] + internal extern static unsafe void GetTrackMatrixivNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ActiveAttribType* type, [Out] System.Text.StringBuilder name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingEXT", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVaryingNV", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [Out] Int32* location); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] internal extern static Int32 GetUniformBlockIndex(UInt32 program, String uniformBlockName); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBufferSizeEXT", ExactSpelling = true)] + internal extern static Int32 GetUniformBufferSizeEXT(UInt32 program, Int32 location); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfvARB", ExactSpelling = true)] + internal extern static unsafe void GetUniformfvARB(UInt32 programObj, Int32 location, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [Out] UInt32* uniformIndices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformivARB", ExactSpelling = true)] + internal extern static unsafe void GetUniformivARB(UInt32 programObj, Int32 location, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] internal extern static Int32 GetUniformLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocationARB", ExactSpelling = true)] + internal extern static Int32 GetUniformLocationARB(UInt32 programObj, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformOffsetEXT", ExactSpelling = true)] + internal extern static IntPtr GetUniformOffsetEXT(UInt32 program, Int32 location); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantBooleanvEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantFloatvEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Single* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantIntegervEXT", ExactSpelling = true)] + internal extern static unsafe void GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVariantPointervEXT", ExactSpelling = true)] + internal extern static void GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [Out] IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVaryingLocationNV", ExactSpelling = true)] + internal extern static Int32 GetVaryingLocationNV(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectfvATI", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribArrayObjectivATI", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.AtiVertexAttribArrayObject pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdv", ExactSpelling = true)] internal extern static unsafe void GetVertexAttribdv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribdvNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfvNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIivEXT", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuivEXT", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.NvVertexProgram4 pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivARB", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribivNV", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.VertexAttribPointerType pname, [Out] IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervARB", ExactSpelling = true)] + internal extern static void GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [Out] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointervNV", ExactSpelling = true)] + internal extern static void GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoi64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideoui64vNV", ExactSpelling = true)] + internal extern static unsafe void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVideouivNV", ExactSpelling = true)] + internal extern static unsafe void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorbSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorbSUN(SByte factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactordSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactordSUN(Double factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorfSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorfSUN(Single factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoriSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactoriSUN(Int32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorsSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorsSUN(Int16 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorubSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorubSUN(Byte factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactoruiSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactoruiSUN(UInt32 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGlobalAlphaFactorusSUN", ExactSpelling = true)] + internal extern static void GlobalAlphaFactorusSUN(UInt16 factor); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] internal extern static void Hint(OpenTK.Graphics.HintTarget target, OpenTK.Graphics.HintMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHintPGI", ExactSpelling = true)] + internal extern static void HintPGI(OpenTK.Graphics.PgiMiscHints target, Int32 mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogram", ExactSpelling = true)] internal extern static void Histogram(OpenTK.Graphics.Version12Deprecated target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHistogramEXT", ExactSpelling = true)] + internal extern static void HistogramEXT(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIglooInterfaceSGIX", ExactSpelling = true)] + internal extern static void IglooInterfaceSGIX(OpenTK.Graphics.All pname, IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfHP", ExactSpelling = true)] + internal extern static void ImageTransformParameterfHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterfvHP", ExactSpelling = true)] + internal extern static unsafe void ImageTransformParameterfvHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameteriHP", ExactSpelling = true)] + internal extern static void ImageTransformParameteriHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glImageTransformParameterivHP", ExactSpelling = true)] + internal extern static unsafe void ImageTransformParameterivHP(OpenTK.Graphics.HpImageTransform target, OpenTK.Graphics.HpImageTransform pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexd", ExactSpelling = true)] internal extern static void Indexd(Double c); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -897,6 +2370,9 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexf", ExactSpelling = true)] internal extern static void Indexf(Single c); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexFuncEXT", ExactSpelling = true)] + internal extern static void IndexFuncEXT(OpenTK.Graphics.ExtIndexFunc func, Single @ref); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexfv", ExactSpelling = true)] internal extern static unsafe void Indexfv(Single* c); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -909,9 +2385,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMask", ExactSpelling = true)] internal extern static void IndexMask(UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexMaterialEXT", ExactSpelling = true)] + internal extern static void IndexMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.ExtIndexMaterial mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointer", ExactSpelling = true)] internal extern static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerEXT", ExactSpelling = true)] + internal extern static void IndexPointerEXT(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexPointerListIBM", ExactSpelling = true)] + internal extern static void IndexPointerListIBM(OpenTK.Graphics.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexs", ExactSpelling = true)] internal extern static void Indexs(Int16 c); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -927,42 +2412,105 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInitNames", ExactSpelling = true)] internal extern static void InitNames(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInsertComponentEXT", ExactSpelling = true)] + internal extern static void InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInstrumentsBufferSGIX", ExactSpelling = true)] + internal extern static unsafe void InstrumentsBufferSGIX(Int32 size, [Out] Int32* buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInterleavedArrays", ExactSpelling = true)] internal extern static void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsAsyncMarkerSGIX", ExactSpelling = true)] + internal extern static bool IsAsyncMarkerSGIX(UInt32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] internal extern static bool IsBuffer(UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBufferARB", ExactSpelling = true)] + internal extern static bool IsBufferARB(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] internal extern static bool IsEnabled(OpenTK.Graphics.EnableCap cap); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledi", ExactSpelling = true)] internal extern static bool IsEnabledi(OpenTK.Graphics.IndexedEnableCap target, UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabledIndexedEXT", ExactSpelling = true)] + internal extern static bool IsEnabledIndexedEXT(OpenTK.Graphics.ExtDrawBuffers2 target, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceAPPLE", ExactSpelling = true)] + internal extern static bool IsFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)] + internal extern static bool IsFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] internal extern static bool IsFramebuffer(UInt32 framebuffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebufferEXT", ExactSpelling = true)] + internal extern static bool IsFramebufferEXT(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsList", ExactSpelling = true)] internal extern static bool IsList(UInt32 list); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsObjectBufferATI", ExactSpelling = true)] + internal extern static bool IsObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsOcclusionQueryNV", ExactSpelling = true)] + internal extern static bool IsOcclusionQueryNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] internal extern static bool IsProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramARB", ExactSpelling = true)] + internal extern static bool IsProgramARB(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramNV", ExactSpelling = true)] + internal extern static bool IsProgramNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] internal extern static bool IsQuery(UInt32 id); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQueryARB", ExactSpelling = true)] + internal extern static bool IsQueryARB(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] internal extern static bool IsRenderbuffer(UInt32 renderbuffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferEXT", ExactSpelling = true)] + internal extern static bool IsRenderbufferEXT(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] internal extern static bool IsShader(UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] + internal extern static bool IsSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] internal extern static bool IsTexture(UInt32 texture); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTextureEXT", ExactSpelling = true)] + internal extern static bool IsTextureEXT(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedbackNV", ExactSpelling = true)] + internal extern static bool IsTransformFeedbackNV(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVariantEnabledEXT", ExactSpelling = true)] + internal extern static bool IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader cap); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] internal extern static bool IsVertexArray(UInt32 array); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayAPPLE", ExactSpelling = true)] + internal extern static bool IsVertexArrayAPPLE(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexAttribEnabledAPPLE", ExactSpelling = true)] + internal extern static bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightEnviSGIX", ExactSpelling = true)] + internal extern static void LightEnviSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)] internal extern static void Lightf(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -996,12 +2544,30 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] internal extern static void LinkProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgramARB", ExactSpelling = true)] + internal extern static void LinkProgramARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListBase", ExactSpelling = true)] internal extern static void ListBase(UInt32 @base); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfSGIX", ExactSpelling = true)] + internal extern static void ListParameterfSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameteriSGIX", ExactSpelling = true)] + internal extern static void ListParameteriSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glListParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void ListParameterivSGIX(UInt32 list, OpenTK.Graphics.ListParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentity", ExactSpelling = true)] internal extern static void LoadIdentity(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadIdentityDeformationMapSGIX", ExactSpelling = true)] + internal extern static void LoadIdentityDeformationMapSGIX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadMatrixd", ExactSpelling = true)] internal extern static unsafe void LoadMatrixd(Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1011,12 +2577,24 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadName", ExactSpelling = true)] internal extern static void LoadName(UInt32 name); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadProgramNV", ExactSpelling = true)] + internal extern static unsafe void LoadProgramNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixd", ExactSpelling = true)] internal extern static unsafe void LoadTransposeMatrixd(Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixdARB", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixdARB(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixf", ExactSpelling = true)] internal extern static unsafe void LoadTransposeMatrixf(Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixfARB", ExactSpelling = true)] + internal extern static unsafe void LoadTransposeMatrixfARB(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLockArraysEXT", ExactSpelling = true)] + internal extern static void LockArraysEXT(Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)] internal extern static void LogicOp(OpenTK.Graphics.LogicOp opcode); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1035,9 +2613,15 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBuffer", ExactSpelling = true)] internal extern static unsafe IntPtr MapBuffer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferAccess access); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferARB", ExactSpelling = true)] + internal extern static unsafe IntPtr MapBufferARB(OpenTK.Graphics.BufferTargetArb target, OpenTK.Graphics.ArbVertexBufferObject access); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.BufferAccessMask access); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapControlPointsNV", ExactSpelling = true)] + internal extern static void MapControlPointsNV(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1d", ExactSpelling = true)] internal extern static void MapGrid1d(Int32 un, Double u1, Double u2); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1050,6 +2634,30 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2f", ExactSpelling = true)] internal extern static void MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapNamedBufferEXT", ExactSpelling = true)] + internal extern static unsafe IntPtr MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapObjectBufferATI", ExactSpelling = true)] + internal extern static unsafe IntPtr MapObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterfvNV", ExactSpelling = true)] + internal extern static unsafe void MapParameterfvNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapParameterivNV", ExactSpelling = true)] + internal extern static unsafe void MapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1dAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib1fAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2dAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapVertexAttrib2fAPPLE", ExactSpelling = true)] + internal extern static unsafe void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)] internal extern static void Materialf(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1062,114 +2670,405 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialiv", ExactSpelling = true)] internal extern static unsafe void Materialiv(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixFrustumEXT", ExactSpelling = true)] + internal extern static void MatrixFrustumEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerARB", ExactSpelling = true)] + internal extern static void MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexubvARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexubvARB(Int32 size, Byte* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexuivARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexuivARB(Int32 size, UInt32* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexusvARB", ExactSpelling = true)] + internal extern static unsafe void MatrixIndexusvARB(Int32 size, UInt16* indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoaddEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoaddEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadfEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadIdentityEXT", ExactSpelling = true)] + internal extern static void MatrixLoadIdentityEXT(OpenTK.Graphics.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposedEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixLoadTransposefEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixLoadTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)] internal extern static void MatrixMode(OpenTK.Graphics.MatrixMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultdEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultdEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultfEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultfEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposedEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultTransposedEXT(OpenTK.Graphics.MatrixMode mode, Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMultTransposefEXT", ExactSpelling = true)] + internal extern static unsafe void MatrixMultTransposefEXT(OpenTK.Graphics.MatrixMode mode, Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixOrthoEXT", ExactSpelling = true)] + internal extern static void MatrixOrthoEXT(OpenTK.Graphics.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPopEXT", ExactSpelling = true)] + internal extern static void MatrixPopEXT(OpenTK.Graphics.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixPushEXT", ExactSpelling = true)] + internal extern static void MatrixPushEXT(OpenTK.Graphics.MatrixMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatedEXT", ExactSpelling = true)] + internal extern static void MatrixRotatedEXT(OpenTK.Graphics.MatrixMode mode, Double angle, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixRotatefEXT", ExactSpelling = true)] + internal extern static void MatrixRotatefEXT(OpenTK.Graphics.MatrixMode mode, Single angle, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScaledEXT", ExactSpelling = true)] + internal extern static void MatrixScaledEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixScalefEXT", ExactSpelling = true)] + internal extern static void MatrixScalefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatedEXT", ExactSpelling = true)] + internal extern static void MatrixTranslatedEXT(OpenTK.Graphics.MatrixMode mode, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixTranslatefEXT", ExactSpelling = true)] + internal extern static void MatrixTranslatefEXT(OpenTK.Graphics.MatrixMode mode, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmax", ExactSpelling = true)] internal extern static void Minmax(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinmaxEXT", ExactSpelling = true)] + internal extern static void MinmaxEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMinSampleShading", ExactSpelling = true)] + internal extern static void MinSampleShading(Single value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)] internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementArrayAPPLE", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)] internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] + internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawRangeElementArrayAPPLE", ExactSpelling = true)] + internal extern static unsafe void MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawArraysIBM", ExactSpelling = true)] + internal extern static unsafe void MultiModeDrawArraysIBM(OpenTK.Graphics.BeginMode* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiModeDrawElementsIBM", ExactSpelling = true)] + internal extern static unsafe void MultiModeDrawElementsIBM(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexBufferEXT", ExactSpelling = true)] + internal extern static void MultiTexBufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1d", ExactSpelling = true)] internal extern static void MultiTexCoord1d(OpenTK.Graphics.TextureUnit target, Double s); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1dARB(OpenTK.Graphics.TextureUnit target, Double s); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord1dv(OpenTK.Graphics.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1f", ExactSpelling = true)] internal extern static void MultiTexCoord1f(OpenTK.Graphics.TextureUnit target, Single s); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1fARB(OpenTK.Graphics.TextureUnit target, Single s); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord1fv(OpenTK.Graphics.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord1hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1i", ExactSpelling = true)] internal extern static void MultiTexCoord1i(OpenTK.Graphics.TextureUnit target, Int32 s); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1iARB(OpenTK.Graphics.TextureUnit target, Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1iv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord1iv(OpenTK.Graphics.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1s", ExactSpelling = true)] internal extern static void MultiTexCoord1s(OpenTK.Graphics.TextureUnit target, Int16 s); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord1sARB(OpenTK.Graphics.TextureUnit target, Int16 s); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1sv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord1sv(OpenTK.Graphics.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord1svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2d", ExactSpelling = true)] internal extern static void MultiTexCoord2d(OpenTK.Graphics.TextureUnit target, Double s, Double t); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord2dv(OpenTK.Graphics.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2f", ExactSpelling = true)] internal extern static void MultiTexCoord2f(OpenTK.Graphics.TextureUnit target, Single s, Single t); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord2fv(OpenTK.Graphics.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord2hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2i", ExactSpelling = true)] internal extern static void MultiTexCoord2i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2iv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord2iv(OpenTK.Graphics.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2s", ExactSpelling = true)] internal extern static void MultiTexCoord2s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord2sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2sv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord2sv(OpenTK.Graphics.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord2svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3d", ExactSpelling = true)] internal extern static void MultiTexCoord3d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord3dv(OpenTK.Graphics.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3f", ExactSpelling = true)] internal extern static void MultiTexCoord3f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord3fv(OpenTK.Graphics.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord3hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3i", ExactSpelling = true)] internal extern static void MultiTexCoord3i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3iv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord3iv(OpenTK.Graphics.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3s", ExactSpelling = true)] internal extern static void MultiTexCoord3s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord3sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3sv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord3sv(OpenTK.Graphics.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord3svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4d", ExactSpelling = true)] internal extern static void MultiTexCoord4d(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4dARB(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord4dv(OpenTK.Graphics.TextureUnit target, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4dvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4dvARB(OpenTK.Graphics.TextureUnit target, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)] internal extern static void MultiTexCoord4f(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4fARB(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord4fv(OpenTK.Graphics.TextureUnit target, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4fvARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4fvARB(OpenTK.Graphics.TextureUnit target, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hNV", ExactSpelling = true)] + internal extern static void MultiTexCoord4hNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4hvNV", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4hvNV(OpenTK.Graphics.TextureUnit target, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4i", ExactSpelling = true)] internal extern static void MultiTexCoord4i(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4iARB(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4iv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord4iv(OpenTK.Graphics.TextureUnit target, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4ivARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4ivARB(OpenTK.Graphics.TextureUnit target, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4s", ExactSpelling = true)] internal extern static void MultiTexCoord4s(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sARB", ExactSpelling = true)] + internal extern static void MultiTexCoord4sARB(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4sv", ExactSpelling = true)] internal extern static unsafe void MultiTexCoord4sv(OpenTK.Graphics.TextureUnit target, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4svARB", ExactSpelling = true)] + internal extern static unsafe void MultiTexCoord4svARB(OpenTK.Graphics.TextureUnit target, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoordPointerEXT", ExactSpelling = true)] + internal extern static void MultiTexCoordPointerEXT(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfEXT", ExactSpelling = true)] + internal extern static void MultiTexEnvfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexEnvfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnviEXT", ExactSpelling = true)] + internal extern static void MultiTexEnviEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexEnvivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexEnvivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendEXT", ExactSpelling = true)] + internal extern static void MultiTexGendEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGendvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGendvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfEXT", ExactSpelling = true)] + internal extern static void MultiTexGenfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGenfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGeniEXT", ExactSpelling = true)] + internal extern static void MultiTexGeniEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexGenivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexGenivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage1DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage2DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexImage3DEXT", ExactSpelling = true)] + internal extern static void MultiTexImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfEXT", ExactSpelling = true)] + internal extern static void MultiTexParameterfEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterfvEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameteriEXT", ExactSpelling = true)] + internal extern static void MultiTexParameteriEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterIivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterIuivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void MultiTexParameterivEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexRenderbufferEXT", ExactSpelling = true)] + internal extern static void MultiTexRenderbufferEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage1DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage2DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void MultiTexSubImage3DEXT(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixd", ExactSpelling = true)] internal extern static unsafe void MultMatrixd(Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1179,12 +3078,93 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixd", ExactSpelling = true)] internal extern static unsafe void MultTransposeMatrixd(Double* m); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixdARB", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixdARB(Double* m); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixf", ExactSpelling = true)] internal extern static unsafe void MultTransposeMatrixf(Single* m); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixfARB", ExactSpelling = true)] + internal extern static unsafe void MultTransposeMatrixfARB(Single* m); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferDataEXT", ExactSpelling = true)] + internal extern static void NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.ExtDirectStateAccess usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedBufferSubDataEXT", ExactSpelling = true)] + internal extern static void NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferRenderbufferEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture1DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture2DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTexture3DEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureFaceEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedFramebufferTextureLayerEXT", ExactSpelling = true)] + internal extern static void NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4dvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameter4fvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4iEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uiEXT", ExactSpelling = true)] + internal extern static void NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameterI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramLocalParametersI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedProgramStringEXT", ExactSpelling = true)] + internal extern static void NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleCoverageEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNamedRenderbufferStorageMultisampleEXT", ExactSpelling = true)] + internal extern static void NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewList", ExactSpelling = true)] internal extern static void NewList(UInt32 list, OpenTK.Graphics.ListMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNewObjectBufferATI", ExactSpelling = true)] + internal extern static Int32 NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject usage); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3b", ExactSpelling = true)] internal extern static void Normal3b(SByte nx, SByte ny, SByte nz); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1203,6 +3183,18 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fv", ExactSpelling = true)] internal extern static unsafe void Normal3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void Normal3fVertex3fvSUN(Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hNV", ExactSpelling = true)] + internal extern static void Normal3hNV(OpenTK.Half nx, OpenTK.Half ny, OpenTK.Half nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3hvNV", ExactSpelling = true)] + internal extern static unsafe void Normal3hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3i", ExactSpelling = true)] internal extern static void Normal3i(Int32 nx, Int32 ny, Int32 nz); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1218,12 +3210,66 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)] internal extern static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerEXT", ExactSpelling = true)] + internal extern static void NormalPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointerListIBM", ExactSpelling = true)] + internal extern static void NormalPointerListIBM(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointervINTEL", ExactSpelling = true)] + internal extern static void NormalPointervINTEL(OpenTK.Graphics.NormalPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bATI", ExactSpelling = true)] + internal extern static void NormalStream3bATI(OpenTK.Graphics.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3bvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3bvATI(OpenTK.Graphics.AtiVertexStreams stream, SByte* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dATI", ExactSpelling = true)] + internal extern static void NormalStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double nx, Double ny, Double nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3dvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fATI", ExactSpelling = true)] + internal extern static void NormalStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single nx, Single ny, Single nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3fvATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3iATI", ExactSpelling = true)] + internal extern static void NormalStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3ivATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3sATI", ExactSpelling = true)] + internal extern static void NormalStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalStream3svATI", ExactSpelling = true)] + internal extern static unsafe void NormalStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPurgeableAPPLE", ExactSpelling = true)] + internal extern static IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectUnpurgeableAPPLE", ExactSpelling = true)] + internal extern static IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrtho", ExactSpelling = true)] internal extern static void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassTexCoordATI", ExactSpelling = true)] + internal extern static void PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.AtiFragmentShader swizzle); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThrough", ExactSpelling = true)] internal extern static void PassThrough(Single token); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedbackNV", ExactSpelling = true)] + internal extern static void PauseTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelDataRangeNV", ExactSpelling = true)] + internal extern static void PixelDataRangeNV(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [Out] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapfv", ExactSpelling = true)] internal extern static unsafe void PixelMapfv(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single* values); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1239,36 +3285,102 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] internal extern static void PixelStorei(OpenTK.Graphics.PixelStoreParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfSGIS", ExactSpelling = true)] + internal extern static void PixelTexGenParameterfSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void PixelTexGenParameterfvSGIS(OpenTK.Graphics.SgisPixelTexture pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameteriSGIS", ExactSpelling = true)] + internal extern static void PixelTexGenParameteriSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenParameterivSGIS", ExactSpelling = true)] + internal extern static unsafe void PixelTexGenParameterivSGIS(OpenTK.Graphics.SgisPixelTexture pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTexGenSGIX", ExactSpelling = true)] + internal extern static void PixelTexGenSGIX(OpenTK.Graphics.SgixPixelTexture mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferf", ExactSpelling = true)] internal extern static void PixelTransferf(OpenTK.Graphics.PixelTransferParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferi", ExactSpelling = true)] internal extern static void PixelTransferi(OpenTK.Graphics.PixelTransferParameter pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfEXT", ExactSpelling = true)] + internal extern static void PixelTransformParameterfEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void PixelTransformParameterfvEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameteriEXT", ExactSpelling = true)] + internal extern static void PixelTransformParameteriEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransformParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void PixelTransformParameterivEXT(OpenTK.Graphics.ExtPixelTransform target, OpenTK.Graphics.ExtPixelTransform pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoom", ExactSpelling = true)] internal extern static void PixelZoom(Single xfactor, Single yfactor); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesfATI", ExactSpelling = true)] + internal extern static void PNTrianglesfATI(OpenTK.Graphics.AtiPnTriangles pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPNTrianglesiATI", ExactSpelling = true)] + internal extern static void PNTrianglesiATI(OpenTK.Graphics.AtiPnTriangles pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)] internal extern static void PointParameterf(OpenTK.Graphics.PointParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfARB", ExactSpelling = true)] + internal extern static void PointParameterfARB(OpenTK.Graphics.ArbPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfEXT", ExactSpelling = true)] + internal extern static void PointParameterfEXT(OpenTK.Graphics.ExtPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfSGIS", ExactSpelling = true)] + internal extern static void PointParameterfSGIS(OpenTK.Graphics.SgisPointParameters pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)] internal extern static unsafe void PointParameterfv(OpenTK.Graphics.PointParameterName pname, Single* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvARB", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvARB(OpenTK.Graphics.ArbPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvEXT(OpenTK.Graphics.ExtPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfvSGIS", ExactSpelling = true)] + internal extern static unsafe void PointParameterfvSGIS(OpenTK.Graphics.SgisPointParameters pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteri", ExactSpelling = true)] internal extern static void PointParameteri(OpenTK.Graphics.PointParameterName pname, Int32 param); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriNV", ExactSpelling = true)] + internal extern static void PointParameteriNV(OpenTK.Graphics.NvPointSprite pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameteriv", ExactSpelling = true)] internal extern static unsafe void PointParameteriv(OpenTK.Graphics.PointParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterivNV", ExactSpelling = true)] + internal extern static unsafe void PointParameterivNV(OpenTK.Graphics.NvPointSprite pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)] internal extern static void PointSize(Single size); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollAsyncSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 PollAsyncSGIX([Out] UInt32* markerp); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPollInstrumentsSGIX", ExactSpelling = true)] + internal extern static unsafe Int32 PollInstrumentsSGIX([Out] Int32* marker_p); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonMode", ExactSpelling = true)] internal extern static void PolygonMode(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.PolygonMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] internal extern static void PolygonOffset(Single factor, Single units); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffsetEXT", ExactSpelling = true)] + internal extern static void PolygonOffsetEXT(Single factor, Single bias); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonStipple", ExactSpelling = true)] internal extern static unsafe void PolygonStipple(Byte* mask); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1284,18 +3396,261 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopName", ExactSpelling = true)] internal extern static void PopName(); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameDualFillNV", ExactSpelling = true)] + internal extern static void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPresentFrameKeyedNV", ExactSpelling = true)] + internal extern static void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndex", ExactSpelling = true)] internal extern static void PrimitiveRestartIndex(UInt32 index); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartIndexNV", ExactSpelling = true)] + internal extern static void PrimitiveRestartIndexNV(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrimitiveRestartNV", ExactSpelling = true)] + internal extern static void PrimitiveRestartNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTextures", ExactSpelling = true)] internal extern static unsafe void PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesEXT", ExactSpelling = true)] + internal extern static unsafe void PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersfvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersfvNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersIivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBufferParametersIuivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramBufferParametersIuivNV(OpenTK.Graphics.NvParameterBufferObject target, UInt32 buffer, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dARB", ExactSpelling = true)] + internal extern static void ProgramEnvParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4dvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fARB", ExactSpelling = true)] + internal extern static void ProgramEnvParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameter4fvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4iNV", ExactSpelling = true)] + internal extern static void ProgramEnvParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uiNV", ExactSpelling = true)] + internal extern static void ProgramEnvParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameterI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramEnvParametersI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramEnvParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dARB", ExactSpelling = true)] + internal extern static void ProgramLocalParameter4dARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4dvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameter4dvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fARB", ExactSpelling = true)] + internal extern static void ProgramLocalParameter4fARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameter4fvARB", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameter4fvARB(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4iNV", ExactSpelling = true)] + internal extern static void ProgramLocalParameterI4iNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameterI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uiNV", ExactSpelling = true)] + internal extern static void ProgramLocalParameterI4uiNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameterI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameterI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParameters4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParameters4fvEXT(OpenTK.Graphics.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4ivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParametersI4ivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramLocalParametersI4uivNV", ExactSpelling = true)] + internal extern static unsafe void ProgramLocalParametersI4uivNV(OpenTK.Graphics.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramNamedParameter4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dNV", ExactSpelling = true)] + internal extern static void ProgramParameter4dNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameter4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fNV", ExactSpelling = true)] + internal extern static void ProgramParameter4fNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameter4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameter4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] + internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriARB", ExactSpelling = true)] + internal extern static void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteriEXT", ExactSpelling = true)] + internal extern static void ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ExtGeometryShader4 pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4dvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameters4dvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameters4fvNV", ExactSpelling = true)] + internal extern static unsafe void ProgramParameters4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, UInt32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramStringARB", ExactSpelling = true)] + internal extern static void ProgramStringARB(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.ArbVertexProgram format, Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiEXT", ExactSpelling = true)] + internal extern static void ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uivEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fvEXT", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramVertexLimitNV", ExactSpelling = true)] + internal extern static void ProgramVertexLimitNV(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertex", ExactSpelling = true)] + internal extern static void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProvokingVertexEXT", ExactSpelling = true)] + internal extern static void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushAttrib", ExactSpelling = true)] internal extern static void PushAttrib(OpenTK.Graphics.AttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttrib", ExactSpelling = true)] internal extern static void PushClientAttrib(OpenTK.Graphics.ClientAttribMask mask); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushClientAttribDefaultEXT", ExactSpelling = true)] + internal extern static void PushClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)] internal extern static void PushMatrix(); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1377,6 +3732,9 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] internal extern static void ReadBuffer(OpenTK.Graphics.ReadBufferMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadInstrumentsSGIX", ExactSpelling = true)] + internal extern static void ReadInstrumentsSGIX(Int32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1404,21 +3762,117 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectsv", ExactSpelling = true)] internal extern static unsafe void Rectsv(Int16* v1, Int16* v2); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReferencePlaneSGIX", ExactSpelling = true)] + internal extern static unsafe void ReferencePlaneSGIX(Double* equation); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] internal extern static void RenderbufferStorage(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageEXT", ExactSpelling = true)] + internal extern static void RenderbufferStorageEXT(OpenTK.Graphics.RenderbufferTarget target, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.RenderbufferStorage internalformat, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleCoverageNV", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ExtFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ExtFramebufferMultisample internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderMode", ExactSpelling = true)] internal extern static Int32 RenderMode(OpenTK.Graphics.RenderingMode mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodePointerSUN", ExactSpelling = true)] + internal extern static void ReplacementCodePointerSUN(OpenTK.Graphics.SunTriangleList type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeubSUN(Byte code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeubvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeubvSUN(Byte* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiSUN(UInt32 code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiTexCoord2fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuiVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeuivSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeuivSUN(UInt32* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusSUN", ExactSpelling = true)] + internal extern static void ReplacementCodeusSUN(UInt16 code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReplacementCodeusvSUN", ExactSpelling = true)] + internal extern static unsafe void ReplacementCodeusvSUN(UInt16* code); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRequestResidentProgramsNV", ExactSpelling = true)] + internal extern static unsafe void RequestResidentProgramsNV(Int32 n, UInt32* programs); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogram", ExactSpelling = true)] internal extern static void ResetHistogram(OpenTK.Graphics.Version12Deprecated target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetHistogramEXT", ExactSpelling = true)] + internal extern static void ResetHistogramEXT(OpenTK.Graphics.ExtHistogram target); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmax", ExactSpelling = true)] internal extern static void ResetMinmax(OpenTK.Graphics.Version12Deprecated target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResetMinmaxEXT", ExactSpelling = true)] + internal extern static void ResetMinmaxEXT(OpenTK.Graphics.ExtHistogram target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResizeBuffersMESA", CharSet = CharSet.Auto)] + internal extern static void ResizeBuffersMESA(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedbackNV", ExactSpelling = true)] + internal extern static void ResumeTransformFeedbackNV(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotated", ExactSpelling = true)] internal extern static void Rotated(Double angle, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1428,6 +3882,30 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] internal extern static void SampleCoverage(Single value, bool invert); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageARB", ExactSpelling = true)] + internal extern static void SampleCoverageARB(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMapATI", ExactSpelling = true)] + internal extern static void SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.AtiFragmentShader swizzle); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskEXT", ExactSpelling = true)] + internal extern static void SampleMaskEXT(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaski", ExactSpelling = true)] + internal extern static void SampleMaski(UInt32 index, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskIndexedNV", ExactSpelling = true)] + internal extern static void SampleMaskIndexedNV(UInt32 index, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaskSGIS", ExactSpelling = true)] + internal extern static void SampleMaskSGIS(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternEXT", ExactSpelling = true)] + internal extern static void SamplePatternEXT(OpenTK.Graphics.ExtMultisample pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplePatternSGIS", ExactSpelling = true)] + internal extern static void SamplePatternSGIS(OpenTK.Graphics.SgisMultisample pattern); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScaled", ExactSpelling = true)] internal extern static void Scaled(Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1440,54 +3918,114 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3b", ExactSpelling = true)] internal extern static void SecondaryColor3b(SByte red, SByte green, SByte blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3bEXT(SByte red, SByte green, SByte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3bv(SByte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3bvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3d", ExactSpelling = true)] internal extern static void SecondaryColor3d(Double red, Double green, Double blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3dEXT(Double red, Double green, Double blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3dv(Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3dvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3f", ExactSpelling = true)] internal extern static void SecondaryColor3f(Single red, Single green, Single blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3fEXT(Single red, Single green, Single blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3fvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hNV", ExactSpelling = true)] + internal extern static void SecondaryColor3hNV(OpenTK.Half red, OpenTK.Half green, OpenTK.Half blue); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3hvNV", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3i", ExactSpelling = true)] internal extern static void SecondaryColor3i(Int32 red, Int32 green, Int32 blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3iv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3iv(Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ivEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3s", ExactSpelling = true)] internal extern static void SecondaryColor3s(Int16 red, Int16 green, Int16 blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3sv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3svEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ub", ExactSpelling = true)] internal extern static void SecondaryColor3ub(Byte red, Byte green, Byte blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3ubEXT(Byte red, Byte green, Byte blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3ubv(Byte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ubvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3ubvEXT(Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3ui", ExactSpelling = true)] internal extern static void SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uiv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3uiv(UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3uivEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3uivEXT(UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3us", ExactSpelling = true)] internal extern static void SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usEXT", ExactSpelling = true)] + internal extern static void SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usv", ExactSpelling = true)] internal extern static unsafe void SecondaryColor3usv(UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColor3usvEXT", ExactSpelling = true)] + internal extern static unsafe void SecondaryColor3usvEXT(UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointer", ExactSpelling = true)] internal extern static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerEXT", ExactSpelling = true)] + internal extern static void SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSecondaryColorPointerListIBM", ExactSpelling = true)] + internal extern static void SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectBuffer", ExactSpelling = true)] internal extern static unsafe void SelectBuffer(Int32 size, [Out] UInt32* buffer); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1497,18 +4035,72 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2D", ExactSpelling = true)] internal extern static void SeparableFilter2D(OpenTK.Graphics.Version12Deprecated target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSeparableFilter2DEXT", ExactSpelling = true)] + internal extern static void SeparableFilter2DEXT(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceAPPLE", ExactSpelling = true)] + internal extern static void SetFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)] + internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.NvFence condition); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFragmentShaderConstantATI", ExactSpelling = true)] + internal extern static unsafe void SetFragmentShaderConstantATI(UInt32 dst, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetInvariantEXT", ExactSpelling = true)] + internal extern static void SetInvariantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetLocalConstantEXT", ExactSpelling = true)] + internal extern static void SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)] internal extern static void ShadeModel(OpenTK.Graphics.ShadingModel mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp1EXT", ExactSpelling = true)] + internal extern static void ShaderOp1EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp2EXT", ExactSpelling = true)] + internal extern static void ShaderOp2EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderOp3EXT", ExactSpelling = true)] + internal extern static void ShaderOp3EXT(OpenTK.Graphics.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSourceARB", ExactSpelling = true)] + internal extern static unsafe void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSharpenTexFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void SharpenTexFuncSGIS(OpenTK.Graphics.TextureTarget target, Int32 n, Single* points); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfSGIX", ExactSpelling = true)] + internal extern static void SpriteParameterfSGIX(OpenTK.Graphics.SgixSprite pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterfvSGIX", ExactSpelling = true)] + internal extern static unsafe void SpriteParameterfvSGIX(OpenTK.Graphics.SgixSprite pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameteriSGIX", ExactSpelling = true)] + internal extern static void SpriteParameteriSGIX(OpenTK.Graphics.SgixSprite pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSpriteParameterivSGIX", ExactSpelling = true)] + internal extern static unsafe void SpriteParameterivSGIX(OpenTK.Graphics.SgixSprite pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartInstrumentsSGIX", ExactSpelling = true)] + internal extern static void StartInstrumentsSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilClearTagEXT", ExactSpelling = true)] + internal extern static void StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] internal extern static void StencilFunc(OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] internal extern static void StencilFuncSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilFunction func, Int32 @ref, UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparateATI", ExactSpelling = true)] + internal extern static void StencilFuncSeparateATI(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] internal extern static void StencilMask(UInt32 mask); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1521,15 +4113,87 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] internal extern static void StencilOpSeparate(OpenTK.Graphics.StencilFace face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparateATI", ExactSpelling = true)] + internal extern static void StencilOpSeparateATI(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStopInstrumentsSGIX", ExactSpelling = true)] + internal extern static void StopInstrumentsSGIX(Int32 marker); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStringMarkerGREMEDY", ExactSpelling = true)] + internal extern static void StringMarkerGREMEDY(Int32 len, IntPtr @string); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSwizzleEXT", ExactSpelling = true)] + internal extern static void SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTagSampleBufferSGIX", ExactSpelling = true)] + internal extern static void TagSampleBufferSGIX(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bEXT", ExactSpelling = true)] + internal extern static void Tangent3bEXT(SByte tx, SByte ty, SByte tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3bvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3bvEXT(SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dEXT", ExactSpelling = true)] + internal extern static void Tangent3dEXT(Double tx, Double ty, Double tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3dvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3dvEXT(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fEXT", ExactSpelling = true)] + internal extern static void Tangent3fEXT(Single tx, Single ty, Single tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3fvEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3fvEXT(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3iEXT", ExactSpelling = true)] + internal extern static void Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3ivEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3ivEXT(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3sEXT", ExactSpelling = true)] + internal extern static void Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangent3svEXT", ExactSpelling = true)] + internal extern static unsafe void Tangent3svEXT(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTangentPointerEXT", ExactSpelling = true)] + internal extern static void TangentPointerEXT(OpenTK.Graphics.NormalPointerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTbufferMask3DFX", ExactSpelling = true)] + internal extern static void TbufferMask3DFX(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationFactorAMD", ExactSpelling = true)] internal extern static void TessellationFactorAMD(Single factor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationModeAMD", ExactSpelling = true)] internal extern static void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceAPPLE", ExactSpelling = true)] + internal extern static bool TestFenceAPPLE(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)] + internal extern static bool TestFenceNV(UInt32 fence); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestObjectAPPLE", ExactSpelling = true)] + internal extern static bool TestObjectAPPLE(OpenTK.Graphics.AppleFence @object, UInt32 name); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)] internal extern static void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferARB", ExactSpelling = true)] + internal extern static void TexBufferARB(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBufferEXT", ExactSpelling = true)] + internal extern static void TexBufferEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtTextureBufferObject internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterfvATI", ExactSpelling = true)] + internal extern static unsafe void TexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBumpParameterivATI", ExactSpelling = true)] + internal extern static unsafe void TexBumpParameterivATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)] internal extern static void TexCoord1d(Double s); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1542,6 +4206,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1fv", ExactSpelling = true)] internal extern static unsafe void TexCoord1fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hNV", ExactSpelling = true)] + internal extern static void TexCoord1hNV(OpenTK.Half s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord1hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1i", ExactSpelling = true)] internal extern static void TexCoord1i(Int32 s); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1563,9 +4233,45 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2f", ExactSpelling = true)] internal extern static void TexCoord2f(Single s, Single t); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fColor4ubVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fNormal3fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fv", ExactSpelling = true)] internal extern static unsafe void TexCoord2fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fSUN", ExactSpelling = true)] + internal extern static void TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2fVertex3fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord2fVertex3fvSUN(Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hNV", ExactSpelling = true)] + internal extern static void TexCoord2hNV(OpenTK.Half s, OpenTK.Half t); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord2hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2i", ExactSpelling = true)] internal extern static void TexCoord2i(Int32 s, Int32 t); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1590,6 +4296,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3fv", ExactSpelling = true)] internal extern static unsafe void TexCoord3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hNV", ExactSpelling = true)] + internal extern static void TexCoord3hNV(OpenTK.Half s, OpenTK.Half t, OpenTK.Half r); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord3hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3i", ExactSpelling = true)] internal extern static void TexCoord3i(Int32 s, Int32 t, Int32 r); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1611,9 +4323,27 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4f", ExactSpelling = true)] internal extern static void TexCoord4f(Single s, Single t, Single r, Single q); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fSUN", ExactSpelling = true)] + internal extern static void TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fColor4fNormal3fVertex4fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fv", ExactSpelling = true)] internal extern static unsafe void TexCoord4fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fSUN", ExactSpelling = true)] + internal extern static void TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4fVertex4fvSUN", ExactSpelling = true)] + internal extern static unsafe void TexCoord4fVertex4fvSUN(Single* tc, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hNV", ExactSpelling = true)] + internal extern static void TexCoord4hNV(OpenTK.Half s, OpenTK.Half t, OpenTK.Half r, OpenTK.Half q); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4hvNV", ExactSpelling = true)] + internal extern static unsafe void TexCoord4hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4i", ExactSpelling = true)] internal extern static void TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1629,6 +4359,15 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)] internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerEXT", ExactSpelling = true)] + internal extern static void TexCoordPointerEXT(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointerListIBM", ExactSpelling = true)] + internal extern static void TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointervINTEL", ExactSpelling = true)] + internal extern static void TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)] internal extern static void TexEnvf(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1641,6 +4380,9 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)] internal extern static unsafe void TexEnviv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexFilterFuncSGIS", ExactSpelling = true)] + internal extern static unsafe void TexFilterFuncSGIS(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SgisTextureFilter4 filter, Int32 n, Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGend", ExactSpelling = true)] internal extern static void TexGend(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Double param); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1665,9 +4407,21 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] internal extern static void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2DMultisample", ExactSpelling = true)] + internal extern static void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] internal extern static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DEXT", ExactSpelling = true)] + internal extern static void TexImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DMultisample", ExactSpelling = true)] + internal extern static void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage4DSGIS", ExactSpelling = true)] + internal extern static void TexImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] internal extern static void TexParameterf(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1680,24 +4434,114 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIiv", ExactSpelling = true)] internal extern static unsafe void TexParameterIiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void TexParameterIivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuiv", ExactSpelling = true)] internal extern static unsafe void TexParameterIuiv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void TexParameterIuivEXT(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] internal extern static unsafe void TexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexRenderbufferNV", ExactSpelling = true)] + internal extern static void TexRenderbufferNV(OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1D", ExactSpelling = true)] internal extern static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage1DEXT", ExactSpelling = true)] + internal extern static void TexSubImage1DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] internal extern static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2DEXT", ExactSpelling = true)] + internal extern static void TexSubImage2DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] internal extern static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DEXT", ExactSpelling = true)] + internal extern static void TexSubImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage4DSGIS", ExactSpelling = true)] + internal extern static void TexSubImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureBufferEXT", ExactSpelling = true)] + internal extern static void TextureBufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ExtDirectStateAccess internalformat, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureColorMaskSGIS", ExactSpelling = true)] + internal extern static void TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage1DEXT", ExactSpelling = true)] + internal extern static void TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage2DEXT", ExactSpelling = true)] + internal extern static void TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureImage3DEXT", ExactSpelling = true)] + internal extern static void TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureLightEXT", ExactSpelling = true)] + internal extern static void TextureLightEXT(OpenTK.Graphics.ExtLightTexture pname); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureMaterialEXT", ExactSpelling = true)] + internal extern static void TextureMaterialEXT(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureNormalEXT", ExactSpelling = true)] + internal extern static void TextureNormalEXT(OpenTK.Graphics.ExtTexturePerturbNormal mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfEXT", ExactSpelling = true)] + internal extern static void TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterfvEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameteriEXT", ExactSpelling = true)] + internal extern static void TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterIuivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureParameterivEXT", ExactSpelling = true)] + internal extern static unsafe void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRangeAPPLE", ExactSpelling = true)] + internal extern static void TextureRangeAPPLE(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureRenderbufferEXT", ExactSpelling = true)] + internal extern static void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage1DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage2DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureSubImage3DEXT", ExactSpelling = true)] + internal extern static void TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTrackMatrixNV", ExactSpelling = true)] + internal extern static void TrackMatrixNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.NvVertexProgram matrix, OpenTK.Graphics.NvVertexProgram transform); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackAttribsNV", ExactSpelling = true)] + internal extern static unsafe void TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.NvTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.TransformFeedbackMode bufferMode); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsEXT", ExactSpelling = true)] + internal extern static void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryingsNV", ExactSpelling = true)] + internal extern static void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslated", ExactSpelling = true)] internal extern static void Translated(Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1707,81 +4551,159 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] internal extern static void Uniform1f(Int32 location, Single v0); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fARB", ExactSpelling = true)] + internal extern static void Uniform1fARB(Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform1fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] internal extern static void Uniform1i(Int32 location, Int32 v0); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iARB", ExactSpelling = true)] + internal extern static void Uniform1iARB(Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform1ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] internal extern static void Uniform1ui(Int32 location, UInt32 v0); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiEXT", ExactSpelling = true)] + internal extern static void Uniform1uiEXT(Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform1uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] internal extern static void Uniform2f(Int32 location, Single v0, Single v1); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fARB", ExactSpelling = true)] + internal extern static void Uniform2fARB(Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform2fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] internal extern static void Uniform2i(Int32 location, Int32 v0, Int32 v1); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iARB", ExactSpelling = true)] + internal extern static void Uniform2iARB(Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform2ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiEXT", ExactSpelling = true)] + internal extern static void Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform2uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] internal extern static void Uniform3f(Int32 location, Single v0, Single v1, Single v2); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fARB", ExactSpelling = true)] + internal extern static void Uniform3fARB(Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform3fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] internal extern static void Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iARB", ExactSpelling = true)] + internal extern static void Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform3ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiEXT", ExactSpelling = true)] + internal extern static void Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform3uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] internal extern static void Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fARB", ExactSpelling = true)] + internal extern static void Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fvARB", ExactSpelling = true)] + internal extern static unsafe void Uniform4fvARB(Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] internal extern static void Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iARB", ExactSpelling = true)] + internal extern static void Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ivARB", ExactSpelling = true)] + internal extern static unsafe void Uniform4ivARB(Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiEXT", ExactSpelling = true)] + internal extern static void Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uivEXT", ExactSpelling = true)] + internal extern static unsafe void Uniform4uivEXT(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBufferEXT", ExactSpelling = true)] + internal extern static void UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1791,6 +4713,9 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1800,21 +4725,75 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fvARB", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnlockArraysEXT", ExactSpelling = true)] + internal extern static void UnlockArraysEXT(); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] internal extern static bool UnmapBuffer(OpenTK.Graphics.BufferTarget target); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferARB", ExactSpelling = true)] + internal extern static bool UnmapBufferARB(OpenTK.Graphics.BufferTargetArb target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapNamedBufferEXT", ExactSpelling = true)] + internal extern static bool UnmapNamedBufferEXT(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapObjectBufferATI", ExactSpelling = true)] + internal extern static void UnmapObjectBufferATI(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUpdateObjectBufferATI", ExactSpelling = true)] + internal extern static void UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.AtiVertexArrayObject preserve); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] internal extern static void UseProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramObjectARB", ExactSpelling = true)] + internal extern static void UseProgramObjectARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] internal extern static void ValidateProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramARB", ExactSpelling = true)] + internal extern static void ValidateProgramARB(UInt32 programObj); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantArrayObjectATI", ExactSpelling = true)] + internal extern static void VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantbvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantbvEXT(UInt32 id, SByte* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantdvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantdvEXT(UInt32 id, Double* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantfvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantfvEXT(UInt32 id, Single* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantivEXT", ExactSpelling = true)] + internal extern static unsafe void VariantivEXT(UInt32 id, Int32* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantPointerEXT", ExactSpelling = true)] + internal extern static void VariantPointerEXT(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, IntPtr addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantsvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantsvEXT(UInt32 id, Int16* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantubvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantubvEXT(UInt32 id, Byte* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantuivEXT", ExactSpelling = true)] + internal extern static unsafe void VariantuivEXT(UInt32 id, UInt32* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVariantusvEXT", ExactSpelling = true)] + internal extern static unsafe void VariantusvEXT(UInt32 id, UInt16* addr); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2d", ExactSpelling = true)] internal extern static void Vertex2d(Double x, Double y); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1827,6 +4806,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2fv", ExactSpelling = true)] internal extern static unsafe void Vertex2fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hNV", ExactSpelling = true)] + internal extern static void Vertex2hNV(OpenTK.Half x, OpenTK.Half y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex2hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2i", ExactSpelling = true)] internal extern static void Vertex2i(Int32 x, Int32 y); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1851,6 +4836,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3fv", ExactSpelling = true)] internal extern static unsafe void Vertex3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hNV", ExactSpelling = true)] + internal extern static void Vertex3hNV(OpenTK.Half x, OpenTK.Half y, OpenTK.Half z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex3hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3i", ExactSpelling = true)] internal extern static void Vertex3i(Int32 x, Int32 y, Int32 z); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1875,6 +4866,12 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4fv", ExactSpelling = true)] internal extern static unsafe void Vertex4fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hNV", ExactSpelling = true)] + internal extern static void Vertex4hNV(OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4hvNV", ExactSpelling = true)] + internal extern static unsafe void Vertex4hvNV(OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4i", ExactSpelling = true)] internal extern static void Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1887,233 +4884,860 @@ namespace OpenTK.Graphics [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4sv", ExactSpelling = true)] internal extern static unsafe void Vertex4sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayParameteriAPPLE", ExactSpelling = true)] + internal extern static void VertexArrayParameteriAPPLE(OpenTK.Graphics.AppleVertexArrayRange pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeAPPLE", ExactSpelling = true)] + internal extern static void VertexArrayRangeAPPLE(Int32 length, [Out] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexArrayRangeNV", ExactSpelling = true)] + internal extern static void VertexArrayRangeNV(Int32 length, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1d", ExactSpelling = true)] internal extern static void VertexAttrib1d(UInt32 index, Double x); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dARB", ExactSpelling = true)] + internal extern static void VertexAttrib1dARB(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dNV", ExactSpelling = true)] + internal extern static void VertexAttrib1dNV(UInt32 index, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib1dv(UInt32 index, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] internal extern static void VertexAttrib1f(UInt32 index, Single x); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fARB", ExactSpelling = true)] + internal extern static void VertexAttrib1fARB(UInt32 index, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fNV", ExactSpelling = true)] + internal extern static void VertexAttrib1fNV(UInt32 index, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib1fv(UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hNV", ExactSpelling = true)] + internal extern static void VertexAttrib1hNV(UInt32 index, OpenTK.Half x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1hvNV(UInt32 index, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1s", ExactSpelling = true)] internal extern static void VertexAttrib1s(UInt32 index, Int16 x); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sARB", ExactSpelling = true)] + internal extern static void VertexAttrib1sARB(UInt32 index, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sNV", ExactSpelling = true)] + internal extern static void VertexAttrib1sNV(UInt32 index, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1sv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib1sv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2d", ExactSpelling = true)] internal extern static void VertexAttrib2d(UInt32 index, Double x, Double y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dARB", ExactSpelling = true)] + internal extern static void VertexAttrib2dARB(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dNV", ExactSpelling = true)] + internal extern static void VertexAttrib2dNV(UInt32 index, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib2dv(UInt32 index, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] internal extern static void VertexAttrib2f(UInt32 index, Single x, Single y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fARB", ExactSpelling = true)] + internal extern static void VertexAttrib2fARB(UInt32 index, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fNV", ExactSpelling = true)] + internal extern static void VertexAttrib2fNV(UInt32 index, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib2fv(UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hNV", ExactSpelling = true)] + internal extern static void VertexAttrib2hNV(UInt32 index, OpenTK.Half x, OpenTK.Half y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2hvNV(UInt32 index, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2s", ExactSpelling = true)] internal extern static void VertexAttrib2s(UInt32 index, Int16 x, Int16 y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sARB", ExactSpelling = true)] + internal extern static void VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sNV", ExactSpelling = true)] + internal extern static void VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2sv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib2sv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3d", ExactSpelling = true)] internal extern static void VertexAttrib3d(UInt32 index, Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dARB", ExactSpelling = true)] + internal extern static void VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dNV", ExactSpelling = true)] + internal extern static void VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib3dv(UInt32 index, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] internal extern static void VertexAttrib3f(UInt32 index, Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fARB", ExactSpelling = true)] + internal extern static void VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fNV", ExactSpelling = true)] + internal extern static void VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib3fv(UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hNV", ExactSpelling = true)] + internal extern static void VertexAttrib3hNV(UInt32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3hvNV(UInt32 index, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3s", ExactSpelling = true)] internal extern static void VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sARB", ExactSpelling = true)] + internal extern static void VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sNV", ExactSpelling = true)] + internal extern static void VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3sv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib3sv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4bv(UInt32 index, SByte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4bvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4bvARB(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4d", ExactSpelling = true)] internal extern static void VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dARB", ExactSpelling = true)] + internal extern static void VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dNV", ExactSpelling = true)] + internal extern static void VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4dv(UInt32 index, Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4dvARB(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4dvNV(UInt32 index, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] internal extern static void VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fARB", ExactSpelling = true)] + internal extern static void VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fNV", ExactSpelling = true)] + internal extern static void VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4fv(UInt32 index, Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fvARB(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fvNV(UInt32 index, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hNV", ExactSpelling = true)] + internal extern static void VertexAttrib4hNV(UInt32 index, OpenTK.Half x, OpenTK.Half y, OpenTK.Half z, OpenTK.Half w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4hvNV(UInt32 index, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4iv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4iv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ivARB(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nbv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Nbv(UInt32 index, SByte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NbvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NbvARB(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Niv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Niv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NivARB(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nsv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Nsv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NsvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NsvARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nub", ExactSpelling = true)] internal extern static void VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubARB", ExactSpelling = true)] + internal extern static void VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nubv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Nubv(UInt32 index, Byte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NubvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NubvARB(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nuiv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Nuiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NuivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NuivARB(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4Nusv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4Nusv(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4NusvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4NusvARB(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4s", ExactSpelling = true)] internal extern static void VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sARB", ExactSpelling = true)] + internal extern static void VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sNV", ExactSpelling = true)] + internal extern static void VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4sv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4sv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4svARB(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4svNV(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubNV", ExactSpelling = true)] + internal extern static void VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4ubv(UInt32 index, Byte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ubvARB(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4ubvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4ubvNV(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uiv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4uiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4uivARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4uivARB(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usv", ExactSpelling = true)] internal extern static unsafe void VertexAttrib4usv(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4usvARB", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4usvARB(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribArrayObjectATI", ExactSpelling = true)] + internal extern static void VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.AtiVertexAttribArrayObject type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisorARB", ExactSpelling = true)] + internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1i", ExactSpelling = true)] internal extern static void VertexAttribI1i(UInt32 index, Int32 x); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI1iEXT(UInt32 index, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1iv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI1iv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1ui", ExactSpelling = true)] internal extern static void VertexAttribI1ui(UInt32 index, UInt32 x); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI1uiEXT(UInt32 index, UInt32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uiv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI1uiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI1uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI1uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2i", ExactSpelling = true)] internal extern static void VertexAttribI2i(UInt32 index, Int32 x, Int32 y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2iv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI2iv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2ui", ExactSpelling = true)] internal extern static void VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uiv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI2uiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI2uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI2uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3i", ExactSpelling = true)] internal extern static void VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3iv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI3iv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3ui", ExactSpelling = true)] internal extern static void VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uiv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI3uiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI3uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI3uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4bv(UInt32 index, SByte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4bvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4bvEXT(UInt32 index, SByte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iEXT", ExactSpelling = true)] + internal extern static void VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4ivEXT(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4sv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4sv(UInt32 index, Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4svEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4svEXT(UInt32 index, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4ubv(UInt32 index, Byte* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ubvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4ubvEXT(UInt32 index, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiEXT", ExactSpelling = true)] + internal extern static void VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uivEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4uivEXT(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usv", ExactSpelling = true)] internal extern static unsafe void VertexAttribI4usv(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4usvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribParameter type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)] + internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] internal extern static void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerARB", ExactSpelling = true)] + internal extern static void VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointerNV", ExactSpelling = true)] + internal extern static void VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.VertexAttribParameterArb type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1hvNV(UInt32 index, Int32 n, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs1svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2hvNV(UInt32 index, Int32 n, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs2svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3hvNV(UInt32 index, Int32 n, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs3svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4dvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4fvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4hvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4hvNV(UInt32 index, Int32 n, OpenTK.Half* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4svNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribs4ubvNV", ExactSpelling = true)] + internal extern static unsafe void VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendARB", ExactSpelling = true)] + internal extern static void VertexBlendARB(Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnvfATI", ExactSpelling = true)] + internal extern static void VertexBlendEnvfATI(OpenTK.Graphics.AtiVertexStreams pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBlendEnviATI", ExactSpelling = true)] + internal extern static void VertexBlendEnviATI(OpenTK.Graphics.AtiVertexStreams pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)] internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerEXT", ExactSpelling = true)] + internal extern static void VertexPointerEXT(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointerListIBM", ExactSpelling = true)] + internal extern static void VertexPointerListIBM(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointervINTEL", ExactSpelling = true)] + internal extern static void VertexPointervINTEL(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dATI", ExactSpelling = true)] + internal extern static void VertexStream1dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fATI", ExactSpelling = true)] + internal extern static void VertexStream1fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1iATI", ExactSpelling = true)] + internal extern static void VertexStream1iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1sATI", ExactSpelling = true)] + internal extern static void VertexStream1sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream1svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream1svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dATI", ExactSpelling = true)] + internal extern static void VertexStream2dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fATI", ExactSpelling = true)] + internal extern static void VertexStream2fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2iATI", ExactSpelling = true)] + internal extern static void VertexStream2iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2sATI", ExactSpelling = true)] + internal extern static void VertexStream2sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream2svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream2svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dATI", ExactSpelling = true)] + internal extern static void VertexStream3dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fATI", ExactSpelling = true)] + internal extern static void VertexStream3fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3iATI", ExactSpelling = true)] + internal extern static void VertexStream3iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3sATI", ExactSpelling = true)] + internal extern static void VertexStream3sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream3svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dATI", ExactSpelling = true)] + internal extern static void VertexStream4dATI(OpenTK.Graphics.AtiVertexStreams stream, Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4dvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4dvATI(OpenTK.Graphics.AtiVertexStreams stream, Double* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fATI", ExactSpelling = true)] + internal extern static void VertexStream4fATI(OpenTK.Graphics.AtiVertexStreams stream, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4fvATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4fvATI(OpenTK.Graphics.AtiVertexStreams stream, Single* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4iATI", ExactSpelling = true)] + internal extern static void VertexStream4iATI(OpenTK.Graphics.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4ivATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4ivATI(OpenTK.Graphics.AtiVertexStreams stream, Int32* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4sATI", ExactSpelling = true)] + internal extern static void VertexStream4sATI(OpenTK.Graphics.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexStream4svATI", ExactSpelling = true)] + internal extern static unsafe void VertexStream4svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfEXT", ExactSpelling = true)] + internal extern static void VertexWeightfEXT(Single weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightfvEXT", ExactSpelling = true)] + internal extern static unsafe void VertexWeightfvEXT(Single* weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthNV", ExactSpelling = true)] + internal extern static void VertexWeighthNV(OpenTK.Half weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeighthvNV", ExactSpelling = true)] + internal extern static unsafe void VertexWeighthvNV(OpenTK.Half* weight); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexWeightPointerEXT", ExactSpelling = true)] + internal extern static void VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] + internal extern static void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightbvARB", ExactSpelling = true)] + internal extern static unsafe void WeightbvARB(Int32 size, SByte* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightdvARB", ExactSpelling = true)] + internal extern static unsafe void WeightdvARB(Int32 size, Double* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightfvARB", ExactSpelling = true)] + internal extern static unsafe void WeightfvARB(Int32 size, Single* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightivARB", ExactSpelling = true)] + internal extern static unsafe void WeightivARB(Int32 size, Int32* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerARB", ExactSpelling = true)] + internal extern static void WeightPointerARB(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightsvARB", ExactSpelling = true)] + internal extern static unsafe void WeightsvARB(Int32 size, Int16* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightubvARB", ExactSpelling = true)] + internal extern static unsafe void WeightubvARB(Int32 size, Byte* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightuivARB", ExactSpelling = true)] + internal extern static unsafe void WeightuivARB(Int32 size, UInt32* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightusvARB", ExactSpelling = true)] + internal extern static unsafe void WeightusvARB(Int32 size, UInt16* weights); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2d", ExactSpelling = true)] internal extern static void WindowPos2d(Double x, Double y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dARB", ExactSpelling = true)] + internal extern static void WindowPos2dARB(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2dMESA(Double x, Double y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dv", ExactSpelling = true)] internal extern static unsafe void WindowPos2dv(Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2dvARB(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2f", ExactSpelling = true)] internal extern static void WindowPos2f(Single x, Single y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fARB", ExactSpelling = true)] + internal extern static void WindowPos2fARB(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2fMESA(Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fv", ExactSpelling = true)] internal extern static unsafe void WindowPos2fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2fvARB(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2i", ExactSpelling = true)] internal extern static void WindowPos2i(Int32 x, Int32 y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iARB", ExactSpelling = true)] + internal extern static void WindowPos2iARB(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2iMESA(Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2iv", ExactSpelling = true)] internal extern static unsafe void WindowPos2iv(Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2ivARB(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2s", ExactSpelling = true)] internal extern static void WindowPos2s(Int16 x, Int16 y); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sARB", ExactSpelling = true)] + internal extern static void WindowPos2sARB(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos2sMESA(Int16 x, Int16 y); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2sv", ExactSpelling = true)] internal extern static unsafe void WindowPos2sv(Int16* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos2svARB(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos2svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos2svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3d", ExactSpelling = true)] internal extern static void WindowPos3d(Double x, Double y, Double z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dARB", ExactSpelling = true)] + internal extern static void WindowPos3dARB(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3dMESA(Double x, Double y, Double z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dv", ExactSpelling = true)] internal extern static unsafe void WindowPos3dv(Double* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3dvARB(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3f", ExactSpelling = true)] internal extern static void WindowPos3f(Single x, Single y, Single z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fARB", ExactSpelling = true)] + internal extern static void WindowPos3fARB(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3fMESA(Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fv", ExactSpelling = true)] internal extern static unsafe void WindowPos3fv(Single* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3fvARB(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3i", ExactSpelling = true)] internal extern static void WindowPos3i(Int32 x, Int32 y, Int32 z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iARB", ExactSpelling = true)] + internal extern static void WindowPos3iARB(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3iMESA(Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3iv", ExactSpelling = true)] internal extern static unsafe void WindowPos3iv(Int32* v); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3ivARB(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3s", ExactSpelling = true)] internal extern static void WindowPos3s(Int16 x, Int16 y, Int16 z); [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sARB", ExactSpelling = true)] + internal extern static void WindowPos3sARB(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos3sMESA(Int16 x, Int16 y, Int16 z); + [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3sv", ExactSpelling = true)] internal extern static unsafe void WindowPos3sv(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svARB", ExactSpelling = true)] + internal extern static unsafe void WindowPos3svARB(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos3svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos3svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4dMESA(Double x, Double y, Double z, Double w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4dvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4dvMESA(Double* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4fMESA(Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4fvMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4fvMESA(Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4iMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4ivMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4ivMESA(Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4sMESA", CharSet = CharSet.Auto)] + internal extern static void WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWindowPos4svMESA", CharSet = CharSet.Auto)] + internal extern static unsafe void WindowPos4svMESA(Int16* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWriteMaskEXT", ExactSpelling = true)] + internal extern static void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.ExtVertexShader outX, OpenTK.Graphics.ExtVertexShader outY, OpenTK.Graphics.ExtVertexShader outZ, OpenTK.Graphics.ExtVertexShader outW); } } } diff --git a/Source/OpenTK/Graphics/GL/GLDelegates.cs b/Source/OpenTK/Graphics/GL/GLDelegates.cs index 2150fcfd..5045cf57 100644 --- a/Source/OpenTK/Graphics/GL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/GL/GLDelegates.cs @@ -278,21 +278,45 @@ namespace OpenTK.Graphics internal delegate void BlendEquationEXT(OpenTK.Graphics.ExtBlendMinmax mode); internal static BlendEquationEXT glBlendEquationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationi(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend mode); + internal static BlendEquationi glBlendEquationi; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend mode); + internal static BlendEquationIndexedAMD glBlendEquationIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendEquationSeparate(OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); internal static BlendEquationSeparate glBlendEquationSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendEquationSeparateEXT(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha); internal static BlendEquationSeparateEXT glBlendEquationSeparateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.BlendEquationMode modeRGB, OpenTK.Graphics.BlendEquationMode modeAlpha); + internal static BlendEquationSeparatei glBlendEquationSeparatei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.AmdDrawBuffersBlend modeAlpha); + internal static BlendEquationSeparateIndexedAMD glBlendEquationSeparateIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendFunc(OpenTK.Graphics.BlendingFactorSrc sfactor, OpenTK.Graphics.BlendingFactorDest dfactor); internal static BlendFunc glBlendFunc; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFunci(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend src, OpenTK.Graphics.ArbDrawBuffersBlend dst); + internal static BlendFunci glBlendFunci; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend src, OpenTK.Graphics.AmdDrawBuffersBlend dst); + internal static BlendFuncIndexedAMD glBlendFuncIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendFuncSeparate(OpenTK.Graphics.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.BlendingFactorDest dfactorRGB, OpenTK.Graphics.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.BlendingFactorDest dfactorAlpha); internal static BlendFuncSeparate glBlendFuncSeparate; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendFuncSeparateEXT(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha); internal static BlendFuncSeparateEXT glBlendFuncSeparateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.ArbDrawBuffersBlend dstAlpha); + internal static BlendFuncSeparatei glBlendFuncSeparatei; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.AmdDrawBuffersBlend dstAlpha); + internal static BlendFuncSeparateIndexedAMD glBlendFuncSeparateIndexedAMD; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void BlendFuncSeparateINGR(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha); internal static BlendFuncSeparateINGR glBlendFuncSeparateINGR; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -389,6 +413,9 @@ namespace OpenTK.Graphics internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); internal static ClientAttribDefaultEXT glClientAttribDefaultEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate OpenTK.Graphics.ArbSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal static ClientWaitSync glClientWaitSync; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void ClipPlane(OpenTK.Graphics.ClipPlaneName plane, Double* equation); internal unsafe static ClipPlane glClipPlane; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -902,6 +929,9 @@ namespace OpenTK.Graphics internal delegate void DeleteShader(UInt32 shader); internal static DeleteShader glDeleteShader; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DeleteSync(IntPtr sync); + internal static DeleteSync glDeleteSync; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures); internal unsafe static DeleteTextures glDeleteTextures; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -965,6 +995,9 @@ namespace OpenTK.Graphics internal delegate void DisableVariantClientStateEXT(UInt32 id); internal static DisableVariantClientStateEXT glDisableVariantClientStateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal static DisableVertexAttribAPPLE glDisableVertexAttribAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DisableVertexAttribArray(UInt32 index); internal static DisableVertexAttribArray glDisableVertexAttribArray; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1007,12 +1040,18 @@ namespace OpenTK.Graphics internal delegate void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); internal static DrawElements glDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal static DrawElementsBaseVertex glDrawElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawElementsInstanced(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstanced glDrawElementsInstanced; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstancedARB glDrawElementsInstancedARB; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 basevertex); + internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1031,6 +1070,9 @@ namespace OpenTK.Graphics internal delegate void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); internal static DrawRangeElements glDrawRangeElements; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices); internal static DrawRangeElementsEXT glDrawRangeElementsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1076,6 +1118,9 @@ namespace OpenTK.Graphics internal delegate void EnableVariantClientStateEXT(UInt32 id); internal static EnableVariantClientStateEXT glEnableVariantClientStateEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal static EnableVertexAttribAPPLE glEnableVertexAttribAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void EnableVertexAttribArray(UInt32 index); internal static EnableVertexAttribArray glEnableVertexAttribArray; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1169,6 +1214,9 @@ namespace OpenTK.Graphics internal unsafe delegate void FeedbackBuffer(Int32 size, OpenTK.Graphics.FeedbackType type, [Out] Single* buffer); internal unsafe static FeedbackBuffer glFeedbackBuffer; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr FenceSync(OpenTK.Graphics.ArbSync condition, UInt32 flags); + internal static FenceSync glFenceSync; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FinalCombinerInputNV(OpenTK.Graphics.NvRegisterCombiners variable, OpenTK.Graphics.NvRegisterCombiners input, OpenTK.Graphics.NvRegisterCombiners mapping, OpenTK.Graphics.NvRegisterCombiners componentUsage); internal static FinalCombinerInputNV glFinalCombinerInputNV; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1319,6 +1367,9 @@ namespace OpenTK.Graphics internal delegate void FramebufferRenderbufferEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); internal static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTexture(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level); + internal static FramebufferTexture glFramebufferTexture; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FramebufferTexture1D(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.TextureTarget textarget, UInt32 texture, Int32 level); internal static FramebufferTexture1D glFramebufferTexture1D; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1343,6 +1394,9 @@ namespace OpenTK.Graphics internal delegate void FramebufferTextureEXT(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level); internal static FramebufferTextureEXT glFramebufferTextureEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void FramebufferTextureFace(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 attachment, UInt32 texture, Int32 level, OpenTK.Graphics.Version32 face); + internal static FramebufferTextureFace glFramebufferTextureFace; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void FramebufferTextureFaceARB(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.TextureTarget face); internal static FramebufferTextureFaceARB glFramebufferTextureFaceARB; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1511,6 +1565,9 @@ namespace OpenTK.Graphics internal unsafe delegate void GetBooleanv(OpenTK.Graphics.GetPName pname, [Out] bool* @params); internal unsafe static GetBooleanv glGetBooleanv; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetBufferParameteri64v(OpenTK.Graphics.Version32 target, OpenTK.Graphics.Version32 pname, [Out] Int64* @params); + internal unsafe static GetBufferParameteri64v glGetBufferParameteri64v; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferParameterName pname, [Out] Int32* @params); internal unsafe static GetBufferParameteriv glGetBufferParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1694,6 +1751,12 @@ namespace OpenTK.Graphics internal delegate Int32 GetInstrumentsSGIX(); internal static GetInstrumentsSGIX glGetInstrumentsSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.Version32 target, UInt32 index, [Out] Int64* data); + internal unsafe static GetInteger64i_v glGetInteger64i_v; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ArbSync pname, [Out] Int64* @params); + internal unsafe static GetInteger64v glGetInteger64v; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.GetIndexedPName target, UInt32 index, [Out] Int32* data); internal unsafe static GetIntegeri_v glGetIntegeri_v; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1781,6 +1844,9 @@ namespace OpenTK.Graphics internal unsafe delegate void GetMinmaxParameterivEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32* @params); internal unsafe static GetMinmaxParameterivEXT glGetMinmaxParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetMultisamplefv(OpenTK.Graphics.ArbTextureMultisample pname, UInt32 index, [Out] Single* val); + internal unsafe static GetMultisamplefv glGetMultisamplefv; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetMultisamplefvNV(OpenTK.Graphics.NvExplicitMultisample pname, UInt32 index, [Out] Single* val); internal unsafe static GetMultisamplefvNV glGetMultisamplefvNV; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -1862,6 +1928,9 @@ namespace OpenTK.Graphics internal unsafe delegate void GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Single* @params); internal unsafe static GetObjectParameterfvARB glGetObjectParameterfvARB; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetObjectParameterivAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable pname, [Out] Int32* @params); + internal unsafe static GetObjectParameterivAPPLE glGetObjectParameterivAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.ArbShaderObjects pname, [Out] Int32* @params); internal unsafe static GetObjectParameterivARB glGetObjectParameterivARB; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2027,6 +2096,9 @@ namespace OpenTK.Graphics internal delegate IntPtr GetStringi(OpenTK.Graphics.StringName name, UInt32 index); internal static GetStringi glGetStringi; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ArbSync pname, Int32 bufSize, [Out] Int32* length, [Out] Int32* values); + internal unsafe static GetSynciv glGetSynciv; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.AtiEnvmapBumpmap pname, [Out] Single* param); internal unsafe static GetTexBumpParameterfvATI glGetTexBumpParameterfvATI; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2078,6 +2150,9 @@ namespace OpenTK.Graphics internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32* @params); internal unsafe static GetTexParameteriv glGetTexParameteriv; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void GetTexParameterPointervAPPLE(OpenTK.Graphics.AppleTextureRange target, OpenTK.Graphics.AppleTextureRange pname, [Out] IntPtr @params); + internal static GetTexParameterPointervAPPLE glGetTexParameterPointervAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr pixels); internal static GetTextureImageEXT glGetTextureImageEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2408,6 +2483,9 @@ namespace OpenTK.Graphics internal delegate bool IsShader(UInt32 shader); internal static IsShader glIsShader; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsSync(IntPtr sync); + internal static IsSync glIsSync; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate bool IsTexture(UInt32 texture); internal static IsTexture glIsTexture; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2426,6 +2504,9 @@ namespace OpenTK.Graphics internal delegate bool IsVertexArrayAPPLE(UInt32 array); internal static IsVertexArrayAPPLE glIsVertexArrayAPPLE; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate bool IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.AppleVertexProgramEvaluators pname); + internal static IsVertexAttribEnabledAPPLE glIsVertexAttribEnabledAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void LightEnviSGIX(OpenTK.Graphics.SgixFragmentLighting pname, Int32 param); internal static LightEnviSGIX glLightEnviSGIX; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2564,6 +2645,18 @@ namespace OpenTK.Graphics internal unsafe delegate void MapParameterivNV(OpenTK.Graphics.NvEvaluators target, OpenTK.Graphics.NvEvaluators pname, Int32* @params); internal unsafe static MapParameterivNV glMapParameterivNV; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points); + internal unsafe static MapVertexAttrib1dAPPLE glMapVertexAttrib1dAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points); + internal unsafe static MapVertexAttrib1fAPPLE glMapVertexAttrib1fAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points); + internal unsafe static MapVertexAttrib2dAPPLE glMapVertexAttrib2dAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points); + internal unsafe static MapVertexAttrib2fAPPLE glMapVertexAttrib2fAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Materialf(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param); internal static Materialf glMaterialf; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2654,6 +2747,9 @@ namespace OpenTK.Graphics internal delegate void MinmaxEXT(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink); internal static MinmaxEXT glMinmaxEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void MinSampleShading(Single value); + internal static MinSampleShading glMinSampleShading; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32* first, [Out] Int32* count, Int32 primcount); internal unsafe static MultiDrawArrays glMultiDrawArrays; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -2666,6 +2762,9 @@ namespace OpenTK.Graphics internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); internal unsafe static MultiDrawElements glMultiDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] + internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.ArbDrawElementsBaseVertex mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount, Int32* basevertex); + internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount); internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -3149,6 +3248,12 @@ namespace OpenTK.Graphics internal unsafe delegate void NormalStream3svATI(OpenTK.Graphics.AtiVertexStreams stream, Int16* coords); internal unsafe static NormalStream3svATI glNormalStream3svATI; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr ObjectPurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal static ObjectPurgeableAPPLE glObjectPurgeableAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate IntPtr ObjectUnpurgeableAPPLE(OpenTK.Graphics.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.AppleObjectPurgeable option); + internal static ObjectUnpurgeableAPPLE glObjectUnpurgeableAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar); internal static Ortho glOrtho; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -3410,6 +3515,9 @@ namespace OpenTK.Graphics internal unsafe delegate void ProgramParameter4fvNV(OpenTK.Graphics.AssemblyProgramTargetArb target, UInt32 index, Single* v); internal unsafe static ProgramParameter4fvNV glProgramParameter4fvNV; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProgramParameteri(UInt32 program, OpenTK.Graphics.Version32 pname, Int32 value); + internal static ProgramParameteri glProgramParameteri; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ProgramParameteriARB(UInt32 program, OpenTK.Graphics.ArbGeometryShader4 pname, Int32 value); internal static ProgramParameteriARB glProgramParameteriARB; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -3527,6 +3635,9 @@ namespace OpenTK.Graphics internal delegate void ProgramVertexLimitNV(OpenTK.Graphics.NvGeometryProgram4 target, Int32 limit); internal static ProgramVertexLimitNV glProgramVertexLimitNV; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void ProvokingVertex(OpenTK.Graphics.ArbProvokingVertex mode); + internal static ProvokingVertex glProvokingVertex; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode); internal static ProvokingVertexEXT glProvokingVertexEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -3779,6 +3890,9 @@ namespace OpenTK.Graphics internal delegate void SampleMaskEXT(Single value, bool invert); internal static SampleMaskEXT glSampleMaskEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void SampleMaski(UInt32 index, UInt32 mask); + internal static SampleMaski glSampleMaski; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void SampleMaskIndexedNV(UInt32 index, UInt32 mask); internal static SampleMaskIndexedNV glSampleMaskIndexedNV; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -4292,12 +4406,18 @@ namespace OpenTK.Graphics internal delegate void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); internal static TexImage2D glTexImage2D; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage2DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + internal static TexImage2DMultisample glTexImage2DMultisample; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); internal static TexImage3D glTexImage3D; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TexImage3DEXT(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); internal static TexImage3DEXT glTexImage3DEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TexImage3DMultisample(OpenTK.Graphics.ArbTextureMultisample target, Int32 samples, Int32 internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations); + internal static TexImage3DMultisample glTexImage3DMultisample; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TexImage4DSGIS(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels); internal static TexImage4DSGIS glTexImage4DSGIS; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -4391,6 +4511,9 @@ namespace OpenTK.Graphics internal unsafe delegate void TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32* @params); internal unsafe static TextureParameterivEXT glTextureParameterivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void TextureRangeAPPLE(OpenTK.Graphics.AppleTextureRange target, Int32 length, IntPtr pointer); + internal static TextureRangeAPPLE glTextureRangeAPPLE; + [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.TextureTarget target, UInt32 renderbuffer); internal static TextureRenderbufferEXT glTextureRenderbufferEXT; [System.Security.SuppressUnmanagedCodeSecurity()] @@ -4415,8 +4538,8 @@ namespace OpenTK.Graphics internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode); internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode); - internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; + internal delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.NvTransformFeedback bufferMode); + internal static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Translated(Double x, Double y, Double z); internal static Translated glTranslated; @@ -5414,6 +5537,9 @@ namespace OpenTK.Graphics internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); internal static Viewport glViewport; [System.Security.SuppressUnmanagedCodeSecurity()] + internal delegate void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + internal static WaitSync glWaitSync; + [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void WeightbvARB(Int32 size, SByte* weights); internal unsafe static WeightbvARB glWeightbvARB; [System.Security.SuppressUnmanagedCodeSecurity()] diff --git a/Source/OpenTK/Graphics/GL/GLEnums.cs b/Source/OpenTK/Graphics/GL/GLEnums.cs index 1b296c30..24a5b058 100644 --- a/Source/OpenTK/Graphics/GL/GLEnums.cs +++ b/Source/OpenTK/Graphics/GL/GLEnums.cs @@ -110,12 +110,15 @@ namespace OpenTK.Graphics Zero = ((int)0), Points = ((int)0X0000), ClientPixelStoreBit = ((int)0X00000001), + ContextCoreProfileBit = ((int)0X00000001), CurrentBit = ((int)0X00000001), Gl2XBitAti = ((int)0X00000001), RedBitAti = ((int)0X00000001), + SyncFlushCommandsBit = ((int)0X00000001), TextureDeformationBitSgix = ((int)0X00000001), ClientVertexArrayBit = ((int)0X00000002), CompBitAti = ((int)0X00000002), + ContextCompatibilityProfileBit = ((int)0X00000002), GeometryDeformationBitSgix = ((int)0X00000002), Gl4XBitAti = ((int)0X00000002), GreenBitAti = ((int)0X00000002), @@ -169,12 +172,16 @@ namespace OpenTK.Graphics IndexBitPgi = ((int)0X00080000), ScissorBit = ((int)0X00080000), Polygon = ((int)0X0009), + LinesAdjacency = ((int)0X000a), LinesAdjacencyArb = ((int)0X000a), LinesAdjacencyExt = ((int)0X000a), + LineStripAdjacency = ((int)0X000b), LineStripAdjacencyArb = ((int)0X000b), LineStripAdjacencyExt = ((int)0X000b), + TrianglesAdjacency = ((int)0X000c), TrianglesAdjacencyArb = ((int)0X000c), TrianglesAdjacencyExt = ((int)0X000c), + TriangleStripAdjacency = ((int)0X000d), TriangleStripAdjacencyArb = ((int)0X000d), TriangleStripAdjacencyExt = ((int)0X000d), MapFlushExplicitBit = ((int)0X0010), @@ -501,6 +508,7 @@ namespace OpenTK.Graphics Gl4Bytes = ((int)0X1409), Double = ((int)0X140a), DoubleExt = ((int)0X140a), + HalfApple = ((int)0X140b), HalfFloat = ((int)0X140b), HalfFloatArb = ((int)0X140b), HalfFloatNv = ((int)0X140b), @@ -647,6 +655,8 @@ namespace OpenTK.Graphics ClipPlane4 = ((int)0X3004), ClipDistance5 = ((int)0X3005), ClipPlane5 = ((int)0X3005), + ClipDistance6 = ((int)0X3006), + ClipDistance7 = ((int)0X3007), Light0 = ((int)0X4000), Texcoord3BitPgi = ((int)0X40000000), Light1 = ((int)0X4001), @@ -1859,13 +1869,18 @@ namespace OpenTK.Graphics LightModelSpecularVectorApple = ((int)0X85b0), TransformHintApple = ((int)0X85b1), UnpackClientStorageApple = ((int)0X85b2), + BufferObjectApple = ((int)0X85b3), VertexArrayBinding = ((int)0X85b5), VertexArrayBindingApple = ((int)0X85b5), + TextureRangeLengthApple = ((int)0X85b7), + TextureRangePointerApple = ((int)0X85b8), Ycbcr422Apple = ((int)0X85b9), UnsignedShort88Apple = ((int)0X85ba), UnsignedShort88Mesa = ((int)0X85ba), UnsignedShort88RevApple = ((int)0X85bb), UnsignedShort88RevMesa = ((int)0X85bb), + TextureStorageHintApple = ((int)0X85bc), + StoragePrivateApple = ((int)0X85bd), StorageCachedApple = ((int)0X85be), StorageSharedApple = ((int)0X85bf), ReplacementCodeArraySun = ((int)0X85c0), @@ -1932,6 +1947,7 @@ namespace OpenTK.Graphics CurrentMatrixStackDepthNv = ((int)0X8640), CurrentMatrixArb = ((int)0X8641), CurrentMatrixNv = ((int)0X8641), + ProgramPointSize = ((int)0X8642), ProgramPointSizeArb = ((int)0X8642), ProgramPointSizeExt = ((int)0X8642), VertexProgramPointSize = ((int)0X8642), @@ -1955,6 +1971,7 @@ namespace OpenTK.Graphics OffsetTextureRectangleNv = ((int)0X864c), OffsetTextureRectangleScaleNv = ((int)0X864d), DotProductTextureRectangleNv = ((int)0X864e), + DepthClamp = ((int)0X864f), DepthClampNv = ((int)0X864f), VertexAttribArray0Nv = ((int)0X8650), VertexAttribArray1Nv = ((int)0X8651), @@ -2357,31 +2374,43 @@ namespace OpenTK.Graphics MaxProgramNativeTexIndirectionsArb = ((int)0X8810), Rgba32f = ((int)0X8814), Rgba32fArb = ((int)0X8814), + RgbaFloat32Apple = ((int)0X8814), RgbaFloat32Ati = ((int)0X8814), Rgb32f = ((int)0X8815), Rgb32fArb = ((int)0X8815), + RgbFloat32Apple = ((int)0X8815), RgbFloat32Ati = ((int)0X8815), Alpha32fArb = ((int)0X8816), + AlphaFloat32Apple = ((int)0X8816), AlphaFloat32Ati = ((int)0X8816), Intensity32fArb = ((int)0X8817), + IntensityFloat32Apple = ((int)0X8817), IntensityFloat32Ati = ((int)0X8817), Luminance32fArb = ((int)0X8818), + LuminanceFloat32Apple = ((int)0X8818), LuminanceFloat32Ati = ((int)0X8818), LuminanceAlpha32fArb = ((int)0X8819), + LuminanceAlphaFloat32Apple = ((int)0X8819), LuminanceAlphaFloat32Ati = ((int)0X8819), Rgba16f = ((int)0X881a), Rgba16fArb = ((int)0X881a), + RgbaFloat16Apple = ((int)0X881a), RgbaFloat16Ati = ((int)0X881a), Rgb16f = ((int)0X881b), Rgb16fArb = ((int)0X881b), + RgbFloat16Apple = ((int)0X881b), RgbFloat16Ati = ((int)0X881b), Alpha16fArb = ((int)0X881c), + AlphaFloat16Apple = ((int)0X881c), AlphaFloat16Ati = ((int)0X881c), Intensity16fArb = ((int)0X881d), + IntensityFloat16Apple = ((int)0X881d), IntensityFloat16Ati = ((int)0X881d), Luminance16fArb = ((int)0X881e), + LuminanceFloat16Apple = ((int)0X881e), LuminanceFloat16Ati = ((int)0X881e), LuminanceAlpha16fArb = ((int)0X881f), + LuminanceAlphaFloat16Apple = ((int)0X881f), LuminanceAlphaFloat16Ati = ((int)0X881f), RgbaFloatMode = ((int)0X8820), RgbaFloatModeArb = ((int)0X8820), @@ -2462,6 +2491,7 @@ namespace OpenTK.Graphics CompareRefToTexture = ((int)0X884e), CompareRToTexture = ((int)0X884e), CompareRToTextureArb = ((int)0X884e), + TextureCubeMapSeamless = ((int)0X884f), OffsetProjectiveTexture2DNv = ((int)0X8850), OffsetProjectiveTexture2DScaleNv = ((int)0X8851), OffsetProjectiveTextureRectangleNv = ((int)0X8852), @@ -2756,6 +2786,9 @@ namespace OpenTK.Graphics MirrorClampToBorderExt = ((int)0X8912), SamplesPassed = ((int)0X8914), SamplesPassedArb = ((int)0X8914), + GeometryVerticesOut = ((int)0X8916), + GeometryInputType = ((int)0X8917), + GeometryOutputType = ((int)0X8918), ClampVertexColor = ((int)0X891a), ClampVertexColorArb = ((int)0X891a), ClampFragmentColor = ((int)0X891b), @@ -2865,11 +2898,30 @@ namespace OpenTK.Graphics ResampleZeroFillOml = ((int)0X8987), ResampleAverageOml = ((int)0X8988), ResampleDecimateOml = ((int)0X8989), + VertexAttribMap1Apple = ((int)0X8a00), + VertexAttribMap2Apple = ((int)0X8a01), + VertexAttribMap1SizeApple = ((int)0X8a02), + VertexAttribMap1CoeffApple = ((int)0X8a03), + VertexAttribMap1OrderApple = ((int)0X8a04), + VertexAttribMap1DomainApple = ((int)0X8a05), + VertexAttribMap2SizeApple = ((int)0X8a06), + VertexAttribMap2CoeffApple = ((int)0X8a07), + VertexAttribMap2OrderApple = ((int)0X8a08), + VertexAttribMap2DomainApple = ((int)0X8a09), DrawPixelsApple = ((int)0X8a0a), FenceApple = ((int)0X8a0b), + ColorFloatApple = ((int)0X8a0f), UniformBuffer = ((int)0X8a11), BufferSerializedModifyApple = ((int)0X8a12), BufferFlushingUnmapApple = ((int)0X8a13), + AuxDepthStencilApple = ((int)0X8a14), + PackRowBytesApple = ((int)0X8a15), + UnpackRowBytesApple = ((int)0X8a16), + ReleasedApple = ((int)0X8a19), + VolatileApple = ((int)0X8a1a), + RetainedApple = ((int)0X8a1b), + UndefinedApple = ((int)0X8a1c), + PurgeableApple = ((int)0X8a1d), UniformBufferBinding = ((int)0X8a28), UniformBufferStart = ((int)0X8a29), UniformBufferSize = ((int)0X8a2a), @@ -3037,6 +3089,7 @@ namespace OpenTK.Graphics GeometryProgramNv = ((int)0X8c26), MaxProgramOutputVerticesNv = ((int)0X8c27), MaxProgramTotalOutputComponentsNv = ((int)0X8c28), + MaxGeometryTextureImageUnits = ((int)0X8c29), MaxGeometryTextureImageUnitsArb = ((int)0X8c29), MaxGeometryTextureImageUnitsExt = ((int)0X8c29), TextureBuffer = ((int)0X8c2a), @@ -3054,6 +3107,8 @@ namespace OpenTK.Graphics TextureBufferFormat = ((int)0X8c2e), TextureBufferFormatArb = ((int)0X8c2e), TextureBufferFormatExt = ((int)0X8c2e), + SampleShading = ((int)0X8c36), + MinSampleShadingValue = ((int)0X8c37), R11fG11fB10f = ((int)0X8c3a), R11fG11fB10fExt = ((int)0X8c3a), UnsignedInt10F11F11FRev = ((int)0X8c3b), @@ -3346,8 +3401,10 @@ namespace OpenTK.Graphics FragmentProgramParameterBufferNv = ((int)0X8da4), MaxProgramGenericAttribsNv = ((int)0X8da5), MaxProgramGenericResultsNv = ((int)0X8da6), + FramebufferAttachmentLayered = ((int)0X8da7), FramebufferAttachmentLayeredArb = ((int)0X8da7), FramebufferAttachmentLayeredExt = ((int)0X8da7), + FramebufferIncompleteLayerTargets = ((int)0X8da8), FramebufferIncompleteLayerTargetsArb = ((int)0X8da8), FramebufferIncompleteLayerTargetsExt = ((int)0X8da8), FramebufferIncompleteLayerCountArb = ((int)0X8da9), @@ -3418,6 +3475,7 @@ namespace OpenTK.Graphics UnsignedIntSampler2DArrayExt = ((int)0X8dd7), UnsignedIntSamplerBuffer = ((int)0X8dd8), UnsignedIntSamplerBufferExt = ((int)0X8dd8), + GeometryShader = ((int)0X8dd9), GeometryShaderArb = ((int)0X8dd9), GeometryShaderExt = ((int)0X8dd9), GeometryVerticesOutArb = ((int)0X8dda), @@ -3430,10 +3488,13 @@ namespace OpenTK.Graphics MaxGeometryVaryingComponentsExt = ((int)0X8ddd), MaxVertexVaryingComponentsArb = ((int)0X8dde), MaxVertexVaryingComponentsExt = ((int)0X8dde), + MaxGeometryUniformComponents = ((int)0X8ddf), MaxGeometryUniformComponentsArb = ((int)0X8ddf), MaxGeometryUniformComponentsExt = ((int)0X8ddf), + MaxGeometryOutputVertices = ((int)0X8de0), MaxGeometryOutputVerticesArb = ((int)0X8de0), MaxGeometryOutputVerticesExt = ((int)0X8de0), + MaxGeometryTotalOutputComponents = ((int)0X8de1), MaxGeometryTotalOutputComponentsArb = ((int)0X8de1), MaxGeometryTotalOutputComponentsExt = ((int)0X8de1), MaxVertexBindableUniformsExt = ((int)0X8de2), @@ -3471,12 +3532,19 @@ namespace OpenTK.Graphics TextureSwizzleBExt = ((int)0X8e44), TextureSwizzleAExt = ((int)0X8e45), TextureSwizzleRgbaExt = ((int)0X8e46), + QuadsFollowProvokingVertexConvention = ((int)0X8e4c), QuadsFollowProvokingVertexConventionExt = ((int)0X8e4c), + FirstVertexConvention = ((int)0X8e4d), FirstVertexConventionExt = ((int)0X8e4d), + LastVertexConvention = ((int)0X8e4e), LastVertexConventionExt = ((int)0X8e4e), + ProvokingVertex = ((int)0X8e4f), ProvokingVertexExt = ((int)0X8e4f), + SamplePosition = ((int)0X8e50), SamplePositionNv = ((int)0X8e50), + SampleMask = ((int)0X8e51), SampleMaskNv = ((int)0X8e51), + SampleMaskValue = ((int)0X8e52), SampleMaskValueNv = ((int)0X8e52), TextureBindingRenderbufferNv = ((int)0X8e53), TextureRenderbufferDataStoreBindingNv = ((int)0X8e54), @@ -3484,7 +3552,10 @@ namespace OpenTK.Graphics SamplerRenderbufferNv = ((int)0X8e56), IntSamplerRenderbufferNv = ((int)0X8e57), UnsignedIntSamplerRenderbufferNv = ((int)0X8e58), + MaxSampleMaskWords = ((int)0X8e59), MaxSampleMaskWordsNv = ((int)0X8e59), + MinProgramTextureGatherOffset = ((int)0X8e5e), + MaxProgramTextureGatherOffset = ((int)0X8e5f), CopyReadBuffer = ((int)0X8f36), CopyWriteBuffer = ((int)0X8f37), RedSnorm = ((int)0X8f90), @@ -3502,6 +3573,7 @@ namespace OpenTK.Graphics SignedNormalized = ((int)0X8f9c), PrimitiveRestart = ((int)0X8f9d), PrimitiveRestartIndex = ((int)0X8f9e), + MaxProgramTextureGatherComponents = ((int)0X8f9f), SamplerBufferAmd = ((int)0X9001), IntSamplerBufferAmd = ((int)0X9002), UnsignedIntSamplerBufferAmd = ((int)0X9003), @@ -3509,9 +3581,67 @@ namespace OpenTK.Graphics TessellationFactorAmd = ((int)0X9005), DiscreteAmd = ((int)0X9006), ContinuousAmd = ((int)0X9007), + TextureCubeMapArray = ((int)0X9009), + TextureBindingCubeMapArray = ((int)0X900a), + ProxyTextureCubeMapArray = ((int)0X900b), + SamplerCubeMapArray = ((int)0X900c), + SamplerCubeMapArrayShadow = ((int)0X900d), + IntSamplerCubeMapArray = ((int)0X900e), + UnsignedIntSamplerCubeMapArray = ((int)0X900f), + AlphaSnorm = ((int)0X9010), + LuminanceSnorm = ((int)0X9011), + LuminanceAlphaSnorm = ((int)0X9012), + IntensitySnorm = ((int)0X9013), + Alpha8Snorm = ((int)0X9014), + Luminance8Snorm = ((int)0X9015), + Luminance8Alpha8Snorm = ((int)0X9016), + Intensity8Snorm = ((int)0X9017), + Alpha16Snorm = ((int)0X9018), + Luminance16Snorm = ((int)0X9019), + Luminance16Alpha16Snorm = ((int)0X901a), + Intensity16Snorm = ((int)0X901b), + Texture2DMultisample = ((int)0X9100), + ProxyTexture2DMultisample = ((int)0X9101), + Texture2DMultisampleArray = ((int)0X9102), + ProxyTexture2DMultisampleArray = ((int)0X9103), + TextureBinding2DMultisample = ((int)0X9104), + TextureBinding2DMultisampleArray = ((int)0X9105), + TextureSamples = ((int)0X9106), + TextureFixedSampleLocations = ((int)0X9107), + Sampler2DMultisample = ((int)0X9108), + IntSampler2DMultisample = ((int)0X9109), + UnsignedIntSampler2DMultisample = ((int)0X910a), + Sampler2DMultisampleArray = ((int)0X910b), + IntSampler2DMultisampleArray = ((int)0X910c), + UnsignedIntSampler2DMultisampleArray = ((int)0X910d), + MaxColorTextureSamples = ((int)0X910e), + MaxDepthTextureSamples = ((int)0X910f), + MaxIntegerSamples = ((int)0X9110), + MaxServerWaitTimeout = ((int)0X9111), + ObjectType = ((int)0X9112), + SyncCondition = ((int)0X9113), + SyncStatus = ((int)0X9114), + SyncFlags = ((int)0X9115), + SyncFence = ((int)0X9116), + SyncGpuCommandsComplete = ((int)0X9117), + Unsignaled = ((int)0X9118), + Signaled = ((int)0X9119), + AlreadySignaled = ((int)0X911a), + TimeoutExpired = ((int)0X911b), + ConditionSatisfied = ((int)0X911c), + WaitFailed = ((int)0X911d), + BufferAccessFlags = ((int)0X911f), + BufferMapLength = ((int)0X9120), + BufferMapOffset = ((int)0X9121), + MaxVertexOutputComponents = ((int)0X9122), + MaxGeometryInputComponents = ((int)0X9123), + MaxGeometryOutputComponents = ((int)0X9124), + MaxFragmentInputComponents = ((int)0X9125), + ContextProfileMask = ((int)0X9126), AllAttribBits = unchecked((int)0Xffffffff), ClientAllAttribBits = unchecked((int)0Xffffffff), InvalidIndex = unchecked((int)0Xffffffff), + TimeoutIgnored = unchecked((int)0Xffffffffffffffff), One = ((int)1), True = ((int)1), CullVertexIbm = ((int)103050), @@ -3548,6 +3678,10 @@ namespace OpenTK.Graphics Always = ((int)0X0207), } + public enum AmdDrawBuffersBlend + { + } + public enum AmdPerformanceMonitor { CounterTypeAmd = ((int)0X8bc0), @@ -3574,6 +3708,11 @@ namespace OpenTK.Graphics ContinuousAmd = ((int)0X9007), } + public enum AppleAuxDepthStencil + { + AuxDepthStencilApple = ((int)0X8a14), + } + public enum AppleClientStorage { UnpackClientStorageApple = ((int)0X85b2), @@ -3592,17 +3731,61 @@ namespace OpenTK.Graphics FenceApple = ((int)0X8a0b), } + public enum AppleFloatPixels + { + HalfApple = ((int)0X140b), + RgbaFloat32Apple = ((int)0X8814), + RgbFloat32Apple = ((int)0X8815), + AlphaFloat32Apple = ((int)0X8816), + IntensityFloat32Apple = ((int)0X8817), + LuminanceFloat32Apple = ((int)0X8818), + LuminanceAlphaFloat32Apple = ((int)0X8819), + RgbaFloat16Apple = ((int)0X881a), + RgbFloat16Apple = ((int)0X881b), + AlphaFloat16Apple = ((int)0X881c), + IntensityFloat16Apple = ((int)0X881d), + LuminanceFloat16Apple = ((int)0X881e), + LuminanceAlphaFloat16Apple = ((int)0X881f), + ColorFloatApple = ((int)0X8a0f), + } + public enum AppleFlushBufferRange { BufferSerializedModifyApple = ((int)0X8a12), BufferFlushingUnmapApple = ((int)0X8a13), } + public enum AppleObjectPurgeable + { + BufferObjectApple = ((int)0X85b3), + ReleasedApple = ((int)0X8a19), + VolatileApple = ((int)0X8a1a), + RetainedApple = ((int)0X8a1b), + UndefinedApple = ((int)0X8a1c), + PurgeableApple = ((int)0X8a1d), + } + + public enum AppleRowBytes + { + PackRowBytesApple = ((int)0X8a15), + UnpackRowBytesApple = ((int)0X8a16), + } + public enum AppleSpecularVector { LightModelSpecularVectorApple = ((int)0X85b0), } + public enum AppleTextureRange + { + TextureRangeLengthApple = ((int)0X85b7), + TextureRangePointerApple = ((int)0X85b8), + TextureStorageHintApple = ((int)0X85bc), + StoragePrivateApple = ((int)0X85bd), + StorageCachedApple = ((int)0X85be), + StorageSharedApple = ((int)0X85bf), + } + public enum AppleTransformHint { TransformHintApple = ((int)0X85b1), @@ -3623,6 +3806,20 @@ namespace OpenTK.Graphics StorageSharedApple = ((int)0X85bf), } + public enum AppleVertexProgramEvaluators + { + VertexAttribMap1Apple = ((int)0X8a00), + VertexAttribMap2Apple = ((int)0X8a01), + VertexAttribMap1SizeApple = ((int)0X8a02), + VertexAttribMap1CoeffApple = ((int)0X8a03), + VertexAttribMap1OrderApple = ((int)0X8a04), + VertexAttribMap1DomainApple = ((int)0X8a05), + VertexAttribMap2SizeApple = ((int)0X8a06), + VertexAttribMap2CoeffApple = ((int)0X8a07), + VertexAttribMap2OrderApple = ((int)0X8a08), + VertexAttribMap2DomainApple = ((int)0X8a09), + } + public enum AppleYcbcr422 { Ycbcr422Apple = ((int)0X85b9), @@ -3656,6 +3853,11 @@ namespace OpenTK.Graphics Float32UnsignedInt248Rev = ((int)0X8dad), } + public enum ArbDepthClamp + { + DepthClamp = ((int)0X864f), + } + public enum ArbDepthTexture { DepthComponent16Arb = ((int)0X81a5), @@ -3686,10 +3888,22 @@ namespace OpenTK.Graphics DrawBuffer15Arb = ((int)0X8834), } + public enum ArbDrawBuffersBlend + { + } + + public enum ArbDrawElementsBaseVertex + { + } + public enum ArbDrawInstanced { } + public enum ArbFragmentCoordConventions + { + } + public enum ArbFragmentProgram { FragmentProgramArb = ((int)0X8804), @@ -4042,6 +4256,25 @@ namespace OpenTK.Graphics CoordReplaceArb = ((int)0X8862), } + public enum ArbProvokingVertex + { + QuadsFollowProvokingVertexConvention = ((int)0X8e4c), + FirstVertexConvention = ((int)0X8e4d), + LastVertexConvention = ((int)0X8e4e), + ProvokingVertex = ((int)0X8e4f), + } + + public enum ArbSampleShading + { + SampleShading = ((int)0X8c36), + MinSampleShadingValue = ((int)0X8c37), + } + + public enum ArbSeamlessCubeMap + { + TextureCubeMapSeamless = ((int)0X884f), + } + public enum ArbShaderObjects { ProgramObjectArb = ((int)0X8b40), @@ -4101,6 +4334,25 @@ namespace OpenTK.Graphics TextureCompareFailValueArb = ((int)0X80bf), } + public enum ArbSync + { + SyncFlushCommandsBit = ((int)0X00000001), + MaxServerWaitTimeout = ((int)0X9111), + ObjectType = ((int)0X9112), + SyncCondition = ((int)0X9113), + SyncStatus = ((int)0X9114), + SyncFlags = ((int)0X9115), + SyncFence = ((int)0X9116), + SyncGpuCommandsComplete = ((int)0X9117), + Unsignaled = ((int)0X9118), + Signaled = ((int)0X9119), + AlreadySignaled = ((int)0X911a), + TimeoutExpired = ((int)0X911b), + ConditionSatisfied = ((int)0X911c), + WaitFailed = ((int)0X911d), + TimeoutIgnored = unchecked((int)0Xffffffffffffffff), + } + public enum ArbTextureBorderClamp { ClampToBorderArb = ((int)0X812d), @@ -4154,6 +4406,17 @@ namespace OpenTK.Graphics MaxCubeMapTextureSizeArb = ((int)0X851c), } + public enum ArbTextureCubeMapArray + { + TextureCubeMapArray = ((int)0X9009), + TextureBindingCubeMapArray = ((int)0X900a), + ProxyTextureCubeMapArray = ((int)0X900b), + SamplerCubeMapArray = ((int)0X900c), + SamplerCubeMapArrayShadow = ((int)0X900d), + IntSamplerCubeMapArray = ((int)0X900e), + UnsignedIntSamplerCubeMapArray = ((int)0X900f), + } + public enum ArbTextureEnvAdd { } @@ -4218,15 +4481,51 @@ namespace OpenTK.Graphics UnsignedNormalizedArb = ((int)0X8c17), } + public enum ArbTextureGather + { + MinProgramTextureGatherOffset = ((int)0X8e5e), + MaxProgramTextureGatherOffset = ((int)0X8e5f), + MaxProgramTextureGatherComponents = ((int)0X8f9f), + } + public enum ArbTextureMirroredRepeat { MirroredRepeatArb = ((int)0X8370), } + public enum ArbTextureMultisample + { + SamplePosition = ((int)0X8e50), + SampleMask = ((int)0X8e51), + SampleMaskValue = ((int)0X8e52), + MaxSampleMaskWords = ((int)0X8e59), + Texture2DMultisample = ((int)0X9100), + ProxyTexture2DMultisample = ((int)0X9101), + Texture2DMultisampleArray = ((int)0X9102), + ProxyTexture2DMultisampleArray = ((int)0X9103), + TextureBinding2DMultisample = ((int)0X9104), + TextureBinding2DMultisampleArray = ((int)0X9105), + TextureSamples = ((int)0X9106), + TextureFixedSampleLocations = ((int)0X9107), + Sampler2DMultisample = ((int)0X9108), + IntSampler2DMultisample = ((int)0X9109), + UnsignedIntSampler2DMultisample = ((int)0X910a), + Sampler2DMultisampleArray = ((int)0X910b), + IntSampler2DMultisampleArray = ((int)0X910c), + UnsignedIntSampler2DMultisampleArray = ((int)0X910d), + MaxColorTextureSamples = ((int)0X910e), + MaxDepthTextureSamples = ((int)0X910f), + MaxIntegerSamples = ((int)0X9110), + } + public enum ArbTextureNonPowerOfTwo { } + public enum ArbTextureQueryLod + { + } + public enum ArbTextureRectangle { TextureRectangleArb = ((int)0X84f5), @@ -4306,6 +4605,11 @@ namespace OpenTK.Graphics InvalidIndex = unchecked((int)0Xffffffff), } + public enum ArbVertexArrayBgra + { + Bgra = ((int)0X80e1), + } + public enum ArbVertexArrayObject { VertexArrayBinding = ((int)0X85b5), @@ -6220,6 +6524,34 @@ namespace OpenTK.Graphics TextureSharedSizeExt = ((int)0X8c3f), } + public enum ExtTextureSnorm + { + RgSnorm = ((int)0X8f91), + RgbSnorm = ((int)0X8f92), + RgbaSnorm = ((int)0X8f93), + R8Snorm = ((int)0X8f94), + Rg8Snorm = ((int)0X8f95), + Rgb8Snorm = ((int)0X8f96), + Rgba8Snorm = ((int)0X8f97), + R16Snorm = ((int)0X8f98), + Rg16Snorm = ((int)0X8f99), + Rgb16Snorm = ((int)0X8f9a), + Rgba16Snorm = ((int)0X8f9b), + SignedNormalized = ((int)0X8f9c), + AlphaSnorm = ((int)0X9010), + LuminanceSnorm = ((int)0X9011), + LuminanceAlphaSnorm = ((int)0X9012), + IntensitySnorm = ((int)0X9013), + Alpha8Snorm = ((int)0X9014), + Luminance8Snorm = ((int)0X9015), + Luminance8Alpha8Snorm = ((int)0X9016), + Intensity8Snorm = ((int)0X9017), + Alpha16Snorm = ((int)0X9018), + Luminance16Snorm = ((int)0X9019), + Luminance16Alpha16Snorm = ((int)0X901a), + Intensity16Snorm = ((int)0X901b), + } + public enum ExtTextureSrgb { SrgbExt = ((int)0X8c40), @@ -11029,6 +11361,8 @@ namespace OpenTK.Graphics ClipDistance3 = ((int)0X3003), ClipDistance4 = ((int)0X3004), ClipDistance5 = ((int)0X3005), + ClipDistance6 = ((int)0X3006), + ClipDistance7 = ((int)0X3007), FramebufferAttachmentColorEncoding = ((int)0X8210), FramebufferAttachmentComponentType = ((int)0X8211), FramebufferAttachmentRedSize = ((int)0X8212), @@ -11225,6 +11559,9 @@ namespace OpenTK.Graphics QueryNoWait = ((int)0X8e14), QueryByRegionWait = ((int)0X8e15), QueryByRegionNoWait = ((int)0X8e16), + BufferAccessFlags = ((int)0X911f), + BufferMapLength = ((int)0X9120), + BufferMapOffset = ((int)0X9121), } public enum Version30Deprecated @@ -11301,6 +11638,76 @@ namespace OpenTK.Graphics InvalidIndex = unchecked((int)0Xffffffff), } + public enum Version32 + { + ContextCoreProfileBit = ((int)0X00000001), + SyncFlushCommandsBit = ((int)0X00000001), + ContextCompatibilityProfileBit = ((int)0X00000002), + LinesAdjacency = ((int)0X000a), + LineStripAdjacency = ((int)0X000b), + TrianglesAdjacency = ((int)0X000c), + TriangleStripAdjacency = ((int)0X000d), + ProgramPointSize = ((int)0X8642), + DepthClamp = ((int)0X864f), + TextureCubeMapSeamless = ((int)0X884f), + GeometryVerticesOut = ((int)0X8916), + GeometryInputType = ((int)0X8917), + GeometryOutputType = ((int)0X8918), + MaxVaryingComponents = ((int)0X8b4b), + MaxGeometryTextureImageUnits = ((int)0X8c29), + FramebufferAttachmentTextureLayer = ((int)0X8cd4), + FramebufferAttachmentLayered = ((int)0X8da7), + FramebufferIncompleteLayerTargets = ((int)0X8da8), + GeometryShader = ((int)0X8dd9), + MaxGeometryUniformComponents = ((int)0X8ddf), + MaxGeometryOutputVertices = ((int)0X8de0), + MaxGeometryTotalOutputComponents = ((int)0X8de1), + QuadsFollowProvokingVertexConvention = ((int)0X8e4c), + FirstVertexConvention = ((int)0X8e4D), + LastVertexConvention = ((int)0X8e4e), + ProvokingVertex = ((int)0X8e4f), + SamplePosition = ((int)0X8e50), + SampleMask = ((int)0X8e51), + SampleMaskValue = ((int)0X8e52), + MaxSampleMaskWords = ((int)0X8e59), + Texture2DMultisample = ((int)0X9100), + ProxyTexture2DMultisample = ((int)0X9101), + Texture2DMultisampleArray = ((int)0X9102), + ProxyTexture2DMultisampleArray = ((int)0X9103), + TextureBinding2DMultisample = ((int)0X9104), + TextureBinding2DMultisampleArray = ((int)0X9105), + TextureSamples = ((int)0X9106), + TextureFixedSampleLocations = ((int)0X9107), + Sampler2DMultisample = ((int)0X9108), + IntSampler2DMultisample = ((int)0X9109), + UnsignedIntSampler2DMultisample = ((int)0X910a), + Sampler2DMultisampleArray = ((int)0X910b), + IntSampler2DMultisampleArray = ((int)0X910c), + UnsignedIntSampler2DMultisampleArray = ((int)0X910D), + MaxColorTextureSamples = ((int)0X910e), + MaxDepthTextureSamples = ((int)0X910f), + MaxIntegerSamples = ((int)0X9110), + MaxServerWaitTimeout = ((int)0X9111), + ObjectType = ((int)0X9112), + SyncCondition = ((int)0X9113), + SyncStatus = ((int)0X9114), + SyncFlags = ((int)0X9115), + SyncFence = ((int)0X9116), + SyncGpuCommandsComplete = ((int)0X9117), + Unsignaled = ((int)0X9118), + Signaled = ((int)0X9119), + AlreadySignaled = ((int)0X911a), + TimeoutExpired = ((int)0X911b), + ConditionSatisfied = ((int)0X911c), + WaitFailed = ((int)0X911D), + MaxVertexOutputComponents = ((int)0X9122), + MaxGeometryInputComponents = ((int)0X9123), + MaxGeometryOutputComponents = ((int)0X9124), + MaxFragmentInputComponents = ((int)0X9125), + ContextProfileMask = ((int)0X9126), + TimeoutIgnored = unchecked((int)0Xffffffffffffffff), + } + public enum VertexAttribParameter { ArrayEnabled = ((int)0X8622), diff --git a/Source/OpenTK/Graphics/GL/GLHelper.cs b/Source/OpenTK/Graphics/GL/GLHelper.cs index 2685f320..2558b089 100644 --- a/Source/OpenTK/Graphics/GL/GLHelper.cs +++ b/Source/OpenTK/Graphics/GL/GLHelper.cs @@ -968,7 +968,7 @@ namespace OpenTK.Graphics unsafe { int length; - GL.GetProgram(program, ProgramParameter.InfoLogLength, out length); + GL.GetProgram(program, OpenTK.Graphics.ProgramParameter.InfoLogLength, out length); if (length == 0) { info = String.Empty;