• Main Page
  • Classes
  • Files
  • File List

Source/OpenTK/Graphics/OpenGL/GL.cs

00001 #region License
00002 //
00003 // The Open Toolkit Library License
00004 //
00005 // Copyright (c) 2006 - 2009 the Open Toolkit library.
00006 //
00007 // Permission is hereby granted, free of charge, to any person obtaining a copy
00008 // of this software and associated documentation files (the "Software"), to deal
00009 // in the Software without restriction, including without limitation the rights to 
00010 // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
00011 // the Software, and to permit persons to whom the Software is furnished to do
00012 // so, subject to the following conditions:
00013 //
00014 // The above copyright notice and this permission notice shall be included in all
00015 // copies or substantial portions of the Software.
00016 //
00017 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00018 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
00019 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00020 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
00021 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
00022 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00023 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00024 // OTHER DEALINGS IN THE SOFTWARE.
00025 //
00026 #endregion
00027 
00028 namespace OpenTK.Graphics.OpenGL
00029 {
00030     using System;
00031     using System.Text;
00032     using System.Runtime.InteropServices;
00033     #pragma warning disable 3019
00034     #pragma warning disable 1591
00035     #pragma warning disable 1572
00036     #pragma warning disable 1573
00037 
00038     partial class GL
00039     {
00040 
00041         public static partial class GL_3dfx
00042         {
00043             [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")]
00044             public static 
00045             void TbufferMask(Int32 mask)
00046             {
00047                 #if DEBUG
00048                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00049                 {
00050                 #endif
00051                 Delegates.glTbufferMask3DFX((UInt32)mask);
00052                 #if DEBUG
00053                 }
00054                 #endif
00055             }
00056 
00057             [System.CLSCompliant(false)]
00058             [AutoGenerated(Category = "3DfxTbuffer", Version = "1.2", EntryPoint = "glTbufferMask3DFX")]
00059             public static 
00060             void TbufferMask(UInt32 mask)
00061             {
00062                 #if DEBUG
00063                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00064                 {
00065                 #endif
00066                 Delegates.glTbufferMask3DFX((UInt32)mask);
00067                 #if DEBUG
00068                 }
00069                 #endif
00070             }
00071 
00072         }
00073 
00074         public static partial class Amd
00075         {
00076             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")]
00077             public static 
00078             void BeginPerfMonitor(Int32 monitor)
00079             {
00080                 #if DEBUG
00081                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00082                 {
00083                 #endif
00084                 Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
00085                 #if DEBUG
00086                 }
00087                 #endif
00088             }
00089 
00090             [System.CLSCompliant(false)]
00091             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glBeginPerfMonitorAMD")]
00092             public static 
00093             void BeginPerfMonitor(UInt32 monitor)
00094             {
00095                 #if DEBUG
00096                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00097                 {
00098                 #endif
00099                 Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
00100                 #if DEBUG
00101                 }
00102                 #endif
00103             }
00104 
00105             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")]
00106             public static 
00107             void BlendEquationIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode)
00108             {
00109                 #if DEBUG
00110                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00111                 {
00112                 #endif
00113                 Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode);
00114                 #if DEBUG
00115                 }
00116                 #endif
00117             }
00118 
00119             [System.CLSCompliant(false)]
00120             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationIndexedAMD")]
00121             public static 
00122             void BlendEquationIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode)
00123             {
00124                 #if DEBUG
00125                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00126                 {
00127                 #endif
00128                 Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode);
00129                 #if DEBUG
00130                 }
00131                 #endif
00132             }
00133 
00134             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")]
00135             public static 
00136             void BlendEquationSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha)
00137             {
00138                 #if DEBUG
00139                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00140                 {
00141                 #endif
00142                 Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha);
00143                 #if DEBUG
00144                 }
00145                 #endif
00146             }
00147 
00148             [System.CLSCompliant(false)]
00149             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendEquationSeparateIndexedAMD")]
00150             public static 
00151             void BlendEquationSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha)
00152             {
00153                 #if DEBUG
00154                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00155                 {
00156                 #endif
00157                 Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha);
00158                 #if DEBUG
00159                 }
00160                 #endif
00161             }
00162 
00163             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")]
00164             public static 
00165             void BlendFuncIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst)
00166             {
00167                 #if DEBUG
00168                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00169                 {
00170                 #endif
00171                 Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst);
00172                 #if DEBUG
00173                 }
00174                 #endif
00175             }
00176 
00177             [System.CLSCompliant(false)]
00178             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncIndexedAMD")]
00179             public static 
00180             void BlendFuncIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst)
00181             {
00182                 #if DEBUG
00183                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00184                 {
00185                 #endif
00186                 Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst);
00187                 #if DEBUG
00188                 }
00189                 #endif
00190             }
00191 
00192             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")]
00193             public static 
00194             void BlendFuncSeparateIndexed(Int32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha)
00195             {
00196                 #if DEBUG
00197                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00198                 {
00199                 #endif
00200                 Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha);
00201                 #if DEBUG
00202                 }
00203                 #endif
00204             }
00205 
00206             [System.CLSCompliant(false)]
00207             [AutoGenerated(Category = "AmdDrawBuffersBlend", Version = "2.0", EntryPoint = "glBlendFuncSeparateIndexedAMD")]
00208             public static 
00209             void BlendFuncSeparateIndexed(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha)
00210             {
00211                 #if DEBUG
00212                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00213                 {
00214                 #endif
00215                 Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha);
00216                 #if DEBUG
00217                 }
00218                 #endif
00219             }
00220 
00221             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00222             public static 
00223             void DeletePerfMonitors(Int32 n, [OutAttribute] Int32[] monitors)
00224             {
00225                 #if DEBUG
00226                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00227                 {
00228                 #endif
00229                 unsafe
00230                 {
00231                     fixed (Int32* monitors_ptr = monitors)
00232                     {
00233                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00234                     }
00235                 }
00236                 #if DEBUG
00237                 }
00238                 #endif
00239             }
00240 
00241             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00242             public static 
00243             void DeletePerfMonitors(Int32 n, [OutAttribute] out Int32 monitors)
00244             {
00245                 #if DEBUG
00246                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00247                 {
00248                 #endif
00249                 unsafe
00250                 {
00251                     fixed (Int32* monitors_ptr = &monitors)
00252                     {
00253                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00254                         monitors = *monitors_ptr;
00255                     }
00256                 }
00257                 #if DEBUG
00258                 }
00259                 #endif
00260             }
00261 
00262             [System.CLSCompliant(false)]
00263             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00264             public static 
00265             unsafe void DeletePerfMonitors(Int32 n, [OutAttribute] Int32* monitors)
00266             {
00267                 #if DEBUG
00268                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00269                 {
00270                 #endif
00271                 Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00272                 #if DEBUG
00273                 }
00274                 #endif
00275             }
00276 
00277             [System.CLSCompliant(false)]
00278             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00279             public static 
00280             void DeletePerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors)
00281             {
00282                 #if DEBUG
00283                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00284                 {
00285                 #endif
00286                 unsafe
00287                 {
00288                     fixed (UInt32* monitors_ptr = monitors)
00289                     {
00290                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00291                     }
00292                 }
00293                 #if DEBUG
00294                 }
00295                 #endif
00296             }
00297 
00298             [System.CLSCompliant(false)]
00299             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00300             public static 
00301             void DeletePerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors)
00302             {
00303                 #if DEBUG
00304                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00305                 {
00306                 #endif
00307                 unsafe
00308                 {
00309                     fixed (UInt32* monitors_ptr = &monitors)
00310                     {
00311                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00312                         monitors = *monitors_ptr;
00313                     }
00314                 }
00315                 #if DEBUG
00316                 }
00317                 #endif
00318             }
00319 
00320             [System.CLSCompliant(false)]
00321             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glDeletePerfMonitorsAMD")]
00322             public static 
00323             unsafe void DeletePerfMonitors(Int32 n, [OutAttribute] UInt32* monitors)
00324             {
00325                 #if DEBUG
00326                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00327                 {
00328                 #endif
00329                 Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00330                 #if DEBUG
00331                 }
00332                 #endif
00333             }
00334 
00335             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")]
00336             public static 
00337             void EndPerfMonitor(Int32 monitor)
00338             {
00339                 #if DEBUG
00340                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00341                 {
00342                 #endif
00343                 Delegates.glEndPerfMonitorAMD((UInt32)monitor);
00344                 #if DEBUG
00345                 }
00346                 #endif
00347             }
00348 
00349             [System.CLSCompliant(false)]
00350             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glEndPerfMonitorAMD")]
00351             public static 
00352             void EndPerfMonitor(UInt32 monitor)
00353             {
00354                 #if DEBUG
00355                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00356                 {
00357                 #endif
00358                 Delegates.glEndPerfMonitorAMD((UInt32)monitor);
00359                 #if DEBUG
00360                 }
00361                 #endif
00362             }
00363 
00364             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00365             public static 
00366             void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors)
00367             {
00368                 #if DEBUG
00369                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00370                 {
00371                 #endif
00372                 unsafe
00373                 {
00374                     fixed (Int32* monitors_ptr = monitors)
00375                     {
00376                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00377                     }
00378                 }
00379                 #if DEBUG
00380                 }
00381                 #endif
00382             }
00383 
00384             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00385             public static 
00386             void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors)
00387             {
00388                 #if DEBUG
00389                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00390                 {
00391                 #endif
00392                 unsafe
00393                 {
00394                     fixed (Int32* monitors_ptr = &monitors)
00395                     {
00396                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00397                         monitors = *monitors_ptr;
00398                     }
00399                 }
00400                 #if DEBUG
00401                 }
00402                 #endif
00403             }
00404 
00405             [System.CLSCompliant(false)]
00406             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00407             public static 
00408             unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors)
00409             {
00410                 #if DEBUG
00411                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00412                 {
00413                 #endif
00414                 Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00415                 #if DEBUG
00416                 }
00417                 #endif
00418             }
00419 
00420             [System.CLSCompliant(false)]
00421             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00422             public static 
00423             void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors)
00424             {
00425                 #if DEBUG
00426                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00427                 {
00428                 #endif
00429                 unsafe
00430                 {
00431                     fixed (UInt32* monitors_ptr = monitors)
00432                     {
00433                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00434                     }
00435                 }
00436                 #if DEBUG
00437                 }
00438                 #endif
00439             }
00440 
00441             [System.CLSCompliant(false)]
00442             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00443             public static 
00444             void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors)
00445             {
00446                 #if DEBUG
00447                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00448                 {
00449                 #endif
00450                 unsafe
00451                 {
00452                     fixed (UInt32* monitors_ptr = &monitors)
00453                     {
00454                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00455                         monitors = *monitors_ptr;
00456                     }
00457                 }
00458                 #if DEBUG
00459                 }
00460                 #endif
00461             }
00462 
00463             [System.CLSCompliant(false)]
00464             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGenPerfMonitorsAMD")]
00465             public static 
00466             unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors)
00467             {
00468                 #if DEBUG
00469                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00470                 {
00471                 #endif
00472                 Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00473                 #if DEBUG
00474                 }
00475                 #endif
00476             }
00477 
00478             [System.CLSCompliant(false)]
00479             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00480             public static 
00481             unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32* bytesWritten)
00482             {
00483                 #if DEBUG
00484                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00485                 {
00486                 #endif
00487                 fixed (Int32* data_ptr = data)
00488                 {
00489                     Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten);
00490                 }
00491                 #if DEBUG
00492                 }
00493                 #endif
00494             }
00495 
00496             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00497             public static 
00498             void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten)
00499             {
00500                 #if DEBUG
00501                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00502                 {
00503                 #endif
00504                 unsafe
00505                 {
00506                     fixed (Int32* data_ptr = &data)
00507                     fixed (Int32* bytesWritten_ptr = &bytesWritten)
00508                     {
00509                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00510                         data = *data_ptr;
00511                         bytesWritten = *bytesWritten_ptr;
00512                     }
00513                 }
00514                 #if DEBUG
00515                 }
00516                 #endif
00517             }
00518 
00519             [System.CLSCompliant(false)]
00520             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00521             public static 
00522             unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten)
00523             {
00524                 #if DEBUG
00525                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00526                 {
00527                 #endif
00528                 Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
00529                 #if DEBUG
00530                 }
00531                 #endif
00532             }
00533 
00534             [System.CLSCompliant(false)]
00535             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00536             public static 
00537             unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32* bytesWritten)
00538             {
00539                 #if DEBUG
00540                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00541                 {
00542                 #endif
00543                 fixed (UInt32* data_ptr = data)
00544                 {
00545                     Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten);
00546                 }
00547                 #if DEBUG
00548                 }
00549                 #endif
00550             }
00551 
00552             [System.CLSCompliant(false)]
00553             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00554             public static 
00555             void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten)
00556             {
00557                 #if DEBUG
00558                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00559                 {
00560                 #endif
00561                 unsafe
00562                 {
00563                     fixed (UInt32* data_ptr = &data)
00564                     fixed (Int32* bytesWritten_ptr = &bytesWritten)
00565                     {
00566                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00567                         data = *data_ptr;
00568                         bytesWritten = *bytesWritten_ptr;
00569                     }
00570                 }
00571                 #if DEBUG
00572                 }
00573                 #endif
00574             }
00575 
00576             [System.CLSCompliant(false)]
00577             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00578             public static 
00579             unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten)
00580             {
00581                 #if DEBUG
00582                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00583                 {
00584                 #endif
00585                 Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
00586                 #if DEBUG
00587                 }
00588                 #endif
00589             }
00590 
00591             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00592             public static 
00593             void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data)
00594             {
00595                 #if DEBUG
00596                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00597                 {
00598                 #endif
00599                 Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data);
00600                 #if DEBUG
00601                 }
00602                 #endif
00603             }
00604 
00605             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00606             public static 
00607             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data)
00608                 where T3 : struct
00609             {
00610                 #if DEBUG
00611                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00612                 {
00613                 #endif
00614                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00615                 try
00616                 {
00617                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00618                 }
00619                 finally
00620                 {
00621                     data_ptr.Free();
00622                 }
00623                 #if DEBUG
00624                 }
00625                 #endif
00626             }
00627 
00628             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00629             public static 
00630             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data)
00631                 where T3 : struct
00632             {
00633                 #if DEBUG
00634                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00635                 {
00636                 #endif
00637                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00638                 try
00639                 {
00640                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00641                 }
00642                 finally
00643                 {
00644                     data_ptr.Free();
00645                 }
00646                 #if DEBUG
00647                 }
00648                 #endif
00649             }
00650 
00651             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00652             public static 
00653             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data)
00654                 where T3 : struct
00655             {
00656                 #if DEBUG
00657                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00658                 {
00659                 #endif
00660                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00661                 try
00662                 {
00663                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00664                 }
00665                 finally
00666                 {
00667                     data_ptr.Free();
00668                 }
00669                 #if DEBUG
00670                 }
00671                 #endif
00672             }
00673 
00674             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00675             public static 
00676             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data)
00677                 where T3 : struct
00678             {
00679                 #if DEBUG
00680                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00681                 {
00682                 #endif
00683                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00684                 try
00685                 {
00686                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00687                     data = (T3)data_ptr.Target;
00688                 }
00689                 finally
00690                 {
00691                     data_ptr.Free();
00692                 }
00693                 #if DEBUG
00694                 }
00695                 #endif
00696             }
00697 
00698             [System.CLSCompliant(false)]
00699             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00700             public static 
00701             void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data)
00702             {
00703                 #if DEBUG
00704                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00705                 {
00706                 #endif
00707                 Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data);
00708                 #if DEBUG
00709                 }
00710                 #endif
00711             }
00712 
00713             [System.CLSCompliant(false)]
00714             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00715             public static 
00716             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[] data)
00717                 where T3 : struct
00718             {
00719                 #if DEBUG
00720                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00721                 {
00722                 #endif
00723                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00724                 try
00725                 {
00726                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00727                 }
00728                 finally
00729                 {
00730                     data_ptr.Free();
00731                 }
00732                 #if DEBUG
00733                 }
00734                 #endif
00735             }
00736 
00737             [System.CLSCompliant(false)]
00738             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00739             public static 
00740             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,] data)
00741                 where T3 : struct
00742             {
00743                 #if DEBUG
00744                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00745                 {
00746                 #endif
00747                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00748                 try
00749                 {
00750                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00751                 }
00752                 finally
00753                 {
00754                     data_ptr.Free();
00755                 }
00756                 #if DEBUG
00757                 }
00758                 #endif
00759             }
00760 
00761             [System.CLSCompliant(false)]
00762             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00763             public static 
00764             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] T3[,,] data)
00765                 where T3 : struct
00766             {
00767                 #if DEBUG
00768                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00769                 {
00770                 #endif
00771                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00772                 try
00773                 {
00774                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00775                 }
00776                 finally
00777                 {
00778                     data_ptr.Free();
00779                 }
00780                 #if DEBUG
00781                 }
00782                 #endif
00783             }
00784 
00785             [System.CLSCompliant(false)]
00786             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00787             public static 
00788             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [InAttribute, OutAttribute] ref T3 data)
00789                 where T3 : struct
00790             {
00791                 #if DEBUG
00792                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00793                 {
00794                 #endif
00795                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00796                 try
00797                 {
00798                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00799                     data = (T3)data_ptr.Target;
00800                 }
00801                 finally
00802                 {
00803                     data_ptr.Free();
00804                 }
00805                 #if DEBUG
00806                 }
00807                 #endif
00808             }
00809 
00810             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00811             public static 
00812             void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters)
00813             {
00814                 #if DEBUG
00815                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00816                 {
00817                 #endif
00818                 unsafe
00819                 {
00820                     fixed (Int32* numCounters_ptr = &numCounters)
00821                     fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
00822                     fixed (Int32* counters_ptr = &counters)
00823                     {
00824                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00825                         numCounters = *numCounters_ptr;
00826                         maxActiveCounters = *maxActiveCounters_ptr;
00827                         counters = *counters_ptr;
00828                     }
00829                 }
00830                 #if DEBUG
00831                 }
00832                 #endif
00833             }
00834 
00835             [System.CLSCompliant(false)]
00836             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00837             public static 
00838             unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters)
00839             {
00840                 #if DEBUG
00841                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00842                 {
00843                 #endif
00844                 fixed (Int32* counters_ptr = counters)
00845                 {
00846                     Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr);
00847                 }
00848                 #if DEBUG
00849                 }
00850                 #endif
00851             }
00852 
00853             [System.CLSCompliant(false)]
00854             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00855             public static 
00856             unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters)
00857             {
00858                 #if DEBUG
00859                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00860                 {
00861                 #endif
00862                 Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
00863                 #if DEBUG
00864                 }
00865                 #endif
00866             }
00867 
00868             [System.CLSCompliant(false)]
00869             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00870             public static 
00871             void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters)
00872             {
00873                 #if DEBUG
00874                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00875                 {
00876                 #endif
00877                 unsafe
00878                 {
00879                     fixed (Int32* numCounters_ptr = &numCounters)
00880                     fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
00881                     fixed (UInt32* counters_ptr = &counters)
00882                     {
00883                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00884                         numCounters = *numCounters_ptr;
00885                         maxActiveCounters = *maxActiveCounters_ptr;
00886                         counters = *counters_ptr;
00887                     }
00888                 }
00889                 #if DEBUG
00890                 }
00891                 #endif
00892             }
00893 
00894             [System.CLSCompliant(false)]
00895             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00896             public static 
00897             unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters)
00898             {
00899                 #if DEBUG
00900                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00901                 {
00902                 #endif
00903                 fixed (UInt32* counters_ptr = counters)
00904                 {
00905                     Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters_ptr);
00906                 }
00907                 #if DEBUG
00908                 }
00909                 #endif
00910             }
00911 
00912             [System.CLSCompliant(false)]
00913             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCountersAMD")]
00914             public static 
00915             unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters)
00916             {
00917                 #if DEBUG
00918                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00919                 {
00920                 #endif
00921                 Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
00922                 #if DEBUG
00923                 }
00924                 #endif
00925             }
00926 
00927             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00928             public static 
00929             void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
00930             {
00931                 #if DEBUG
00932                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00933                 {
00934                 #endif
00935                 unsafe
00936                 {
00937                     fixed (Int32* length_ptr = &length)
00938                     {
00939                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00940                         length = *length_ptr;
00941                     }
00942                 }
00943                 #if DEBUG
00944                 }
00945                 #endif
00946             }
00947 
00948             [System.CLSCompliant(false)]
00949             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00950             public static 
00951             unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
00952             {
00953                 #if DEBUG
00954                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00955                 {
00956                 #endif
00957                 Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
00958                 #if DEBUG
00959                 }
00960                 #endif
00961             }
00962 
00963             [System.CLSCompliant(false)]
00964             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00965             public static 
00966             void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
00967             {
00968                 #if DEBUG
00969                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00970                 {
00971                 #endif
00972                 unsafe
00973                 {
00974                     fixed (Int32* length_ptr = &length)
00975                     {
00976                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00977                         length = *length_ptr;
00978                     }
00979                 }
00980                 #if DEBUG
00981                 }
00982                 #endif
00983             }
00984 
00985             [System.CLSCompliant(false)]
00986             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00987             public static 
00988             unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
00989             {
00990                 #if DEBUG
00991                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00992                 {
00993                 #endif
00994                 Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
00995                 #if DEBUG
00996                 }
00997                 #endif
00998             }
00999 
01000             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01001             public static 
01002             void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups)
01003             {
01004                 #if DEBUG
01005                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01006                 {
01007                 #endif
01008                 unsafe
01009                 {
01010                     fixed (Int32* numGroups_ptr = &numGroups)
01011                     fixed (Int32* groups_ptr = &groups)
01012                     {
01013                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
01014                         numGroups = *numGroups_ptr;
01015                         groups = *groups_ptr;
01016                     }
01017                 }
01018                 #if DEBUG
01019                 }
01020                 #endif
01021             }
01022 
01023             [System.CLSCompliant(false)]
01024             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01025             public static 
01026             void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups)
01027             {
01028                 #if DEBUG
01029                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01030                 {
01031                 #endif
01032                 unsafe
01033                 {
01034                     fixed (Int32* numGroups_ptr = &numGroups)
01035                     fixed (UInt32* groups_ptr = &groups)
01036                     {
01037                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
01038                         numGroups = *numGroups_ptr;
01039                         groups = *groups_ptr;
01040                     }
01041                 }
01042                 #if DEBUG
01043                 }
01044                 #endif
01045             }
01046 
01047             [System.CLSCompliant(false)]
01048             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01049             public static 
01050             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups)
01051             {
01052                 #if DEBUG
01053                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01054                 {
01055                 #endif
01056                 fixed (Int32* groups_ptr = groups)
01057                 {
01058                     Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr);
01059                 }
01060                 #if DEBUG
01061                 }
01062                 #endif
01063             }
01064 
01065             [System.CLSCompliant(false)]
01066             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01067             public static 
01068             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups)
01069             {
01070                 #if DEBUG
01071                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01072                 {
01073                 #endif
01074                 Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
01075                 #if DEBUG
01076                 }
01077                 #endif
01078             }
01079 
01080             [System.CLSCompliant(false)]
01081             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01082             public static 
01083             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups)
01084             {
01085                 #if DEBUG
01086                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01087                 {
01088                 #endif
01089                 fixed (UInt32* groups_ptr = groups)
01090                 {
01091                     Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups_ptr);
01092                 }
01093                 #if DEBUG
01094                 }
01095                 #endif
01096             }
01097 
01098             [System.CLSCompliant(false)]
01099             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01100             public static 
01101             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups)
01102             {
01103                 #if DEBUG
01104                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01105                 {
01106                 #endif
01107                 Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
01108                 #if DEBUG
01109                 }
01110                 #endif
01111             }
01112 
01113             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01114             public static 
01115             void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
01116             {
01117                 #if DEBUG
01118                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01119                 {
01120                 #endif
01121                 unsafe
01122                 {
01123                     fixed (Int32* length_ptr = &length)
01124                     {
01125                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01126                         length = *length_ptr;
01127                     }
01128                 }
01129                 #if DEBUG
01130                 }
01131                 #endif
01132             }
01133 
01134             [System.CLSCompliant(false)]
01135             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01136             public static 
01137             unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
01138             {
01139                 #if DEBUG
01140                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01141                 {
01142                 #endif
01143                 Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
01144                 #if DEBUG
01145                 }
01146                 #endif
01147             }
01148 
01149             [System.CLSCompliant(false)]
01150             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01151             public static 
01152             void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
01153             {
01154                 #if DEBUG
01155                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01156                 {
01157                 #endif
01158                 unsafe
01159                 {
01160                     fixed (Int32* length_ptr = &length)
01161                     {
01162                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01163                         length = *length_ptr;
01164                     }
01165                 }
01166                 #if DEBUG
01167                 }
01168                 #endif
01169             }
01170 
01171             [System.CLSCompliant(false)]
01172             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01173             public static 
01174             unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
01175             {
01176                 #if DEBUG
01177                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01178                 {
01179                 #endif
01180                 Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
01181                 #if DEBUG
01182                 }
01183                 #endif
01184             }
01185 
01186             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01187             public static 
01188             void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32[] counterList)
01189             {
01190                 #if DEBUG
01191                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01192                 {
01193                 #endif
01194                 unsafe
01195                 {
01196                     fixed (Int32* counterList_ptr = counterList)
01197                     {
01198                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
01199                     }
01200                 }
01201                 #if DEBUG
01202                 }
01203                 #endif
01204             }
01205 
01206             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01207             public static 
01208             void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] out Int32 counterList)
01209             {
01210                 #if DEBUG
01211                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01212                 {
01213                 #endif
01214                 unsafe
01215                 {
01216                     fixed (Int32* counterList_ptr = &counterList)
01217                     {
01218                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
01219                         counterList = *counterList_ptr;
01220                     }
01221                 }
01222                 #if DEBUG
01223                 }
01224                 #endif
01225             }
01226 
01227             [System.CLSCompliant(false)]
01228             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01229             public static 
01230             unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, [OutAttribute] Int32* counterList)
01231             {
01232                 #if DEBUG
01233                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01234                 {
01235                 #endif
01236                 Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
01237                 #if DEBUG
01238                 }
01239                 #endif
01240             }
01241 
01242             [System.CLSCompliant(false)]
01243             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01244             public static 
01245             void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32[] counterList)
01246             {
01247                 #if DEBUG
01248                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01249                 {
01250                 #endif
01251                 unsafe
01252                 {
01253                     fixed (UInt32* counterList_ptr = counterList)
01254                     {
01255                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
01256                     }
01257                 }
01258                 #if DEBUG
01259                 }
01260                 #endif
01261             }
01262 
01263             [System.CLSCompliant(false)]
01264             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01265             public static 
01266             void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] out UInt32 counterList)
01267             {
01268                 #if DEBUG
01269                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01270                 {
01271                 #endif
01272                 unsafe
01273                 {
01274                     fixed (UInt32* counterList_ptr = &counterList)
01275                     {
01276                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList_ptr);
01277                         counterList = *counterList_ptr;
01278                     }
01279                 }
01280                 #if DEBUG
01281                 }
01282                 #endif
01283             }
01284 
01285             [System.CLSCompliant(false)]
01286             [AutoGenerated(Category = "AmdPerformanceMonitor", Version = "1.2", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01287             public static 
01288             unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList)
01289             {
01290                 #if DEBUG
01291                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01292                 {
01293                 #endif
01294                 Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList);
01295                 #if DEBUG
01296                 }
01297                 #endif
01298             }
01299 
01300             [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationFactorAMD")]
01301             public static 
01302             void TessellationFactor(Single factor)
01303             {
01304                 #if DEBUG
01305                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01306                 {
01307                 #endif
01308                 Delegates.glTessellationFactorAMD((Single)factor);
01309                 #if DEBUG
01310                 }
01311                 #endif
01312             }
01313 
01314             [AutoGenerated(Category = "AmdVertexShaderTesselator", Version = "2.0", EntryPoint = "glTessellationModeAMD")]
01315             public static 
01316             void TessellationMode(OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator mode)
01317             {
01318                 #if DEBUG
01319                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01320                 {
01321                 #endif
01322                 Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTesselator)mode);
01323                 #if DEBUG
01324                 }
01325                 #endif
01326             }
01327 
01328         }
01329 
01330         public static partial class Apple
01331         {
01332             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")]
01333             public static 
01334             void BindVertexArray(Int32 array)
01335             {
01336                 #if DEBUG
01337                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01338                 {
01339                 #endif
01340                 Delegates.glBindVertexArrayAPPLE((UInt32)array);
01341                 #if DEBUG
01342                 }
01343                 #endif
01344             }
01345 
01346             [System.CLSCompliant(false)]
01347             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glBindVertexArrayAPPLE")]
01348             public static 
01349             void BindVertexArray(UInt32 array)
01350             {
01351                 #if DEBUG
01352                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01353                 {
01354                 #endif
01355                 Delegates.glBindVertexArrayAPPLE((UInt32)array);
01356                 #if DEBUG
01357                 }
01358                 #endif
01359             }
01360 
01361             [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glBufferParameteriAPPLE")]
01362             public static 
01363             void BufferParameter(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param)
01364             {
01365                 #if DEBUG
01366                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01367                 {
01368                 #endif
01369                 Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param);
01370                 #if DEBUG
01371                 }
01372                 #endif
01373             }
01374 
01375             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01376             public static 
01377             void DeleteFences(Int32 n, Int32[] fences)
01378             {
01379                 #if DEBUG
01380                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01381                 {
01382                 #endif
01383                 unsafe
01384                 {
01385                     fixed (Int32* fences_ptr = fences)
01386                     {
01387                         Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
01388                     }
01389                 }
01390                 #if DEBUG
01391                 }
01392                 #endif
01393             }
01394 
01395             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01396             public static 
01397             void DeleteFences(Int32 n, ref Int32 fences)
01398             {
01399                 #if DEBUG
01400                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01401                 {
01402                 #endif
01403                 unsafe
01404                 {
01405                     fixed (Int32* fences_ptr = &fences)
01406                     {
01407                         Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
01408                     }
01409                 }
01410                 #if DEBUG
01411                 }
01412                 #endif
01413             }
01414 
01415             [System.CLSCompliant(false)]
01416             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01417             public static 
01418             unsafe void DeleteFences(Int32 n, Int32* fences)
01419             {
01420                 #if DEBUG
01421                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01422                 {
01423                 #endif
01424                 Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
01425                 #if DEBUG
01426                 }
01427                 #endif
01428             }
01429 
01430             [System.CLSCompliant(false)]
01431             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01432             public static 
01433             void DeleteFences(Int32 n, UInt32[] fences)
01434             {
01435                 #if DEBUG
01436                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01437                 {
01438                 #endif
01439                 unsafe
01440                 {
01441                     fixed (UInt32* fences_ptr = fences)
01442                     {
01443                         Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
01444                     }
01445                 }
01446                 #if DEBUG
01447                 }
01448                 #endif
01449             }
01450 
01451             [System.CLSCompliant(false)]
01452             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01453             public static 
01454             void DeleteFences(Int32 n, ref UInt32 fences)
01455             {
01456                 #if DEBUG
01457                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01458                 {
01459                 #endif
01460                 unsafe
01461                 {
01462                     fixed (UInt32* fences_ptr = &fences)
01463                     {
01464                         Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
01465                     }
01466                 }
01467                 #if DEBUG
01468                 }
01469                 #endif
01470             }
01471 
01472             [System.CLSCompliant(false)]
01473             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glDeleteFencesAPPLE")]
01474             public static 
01475             unsafe void DeleteFences(Int32 n, UInt32* fences)
01476             {
01477                 #if DEBUG
01478                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01479                 {
01480                 #endif
01481                 Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences);
01482                 #if DEBUG
01483                 }
01484                 #endif
01485             }
01486 
01487             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01488             public static 
01489             void DeleteVertexArrays(Int32 n, Int32[] arrays)
01490             {
01491                 #if DEBUG
01492                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01493                 {
01494                 #endif
01495                 unsafe
01496                 {
01497                     fixed (Int32* arrays_ptr = arrays)
01498                     {
01499                         Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
01500                     }
01501                 }
01502                 #if DEBUG
01503                 }
01504                 #endif
01505             }
01506 
01507             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01508             public static 
01509             void DeleteVertexArrays(Int32 n, ref Int32 arrays)
01510             {
01511                 #if DEBUG
01512                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01513                 {
01514                 #endif
01515                 unsafe
01516                 {
01517                     fixed (Int32* arrays_ptr = &arrays)
01518                     {
01519                         Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
01520                     }
01521                 }
01522                 #if DEBUG
01523                 }
01524                 #endif
01525             }
01526 
01527             [System.CLSCompliant(false)]
01528             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01529             public static 
01530             unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
01531             {
01532                 #if DEBUG
01533                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01534                 {
01535                 #endif
01536                 Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
01537                 #if DEBUG
01538                 }
01539                 #endif
01540             }
01541 
01542             [System.CLSCompliant(false)]
01543             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01544             public static 
01545             void DeleteVertexArrays(Int32 n, UInt32[] arrays)
01546             {
01547                 #if DEBUG
01548                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01549                 {
01550                 #endif
01551                 unsafe
01552                 {
01553                     fixed (UInt32* arrays_ptr = arrays)
01554                     {
01555                         Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
01556                     }
01557                 }
01558                 #if DEBUG
01559                 }
01560                 #endif
01561             }
01562 
01563             [System.CLSCompliant(false)]
01564             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01565             public static 
01566             void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
01567             {
01568                 #if DEBUG
01569                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01570                 {
01571                 #endif
01572                 unsafe
01573                 {
01574                     fixed (UInt32* arrays_ptr = &arrays)
01575                     {
01576                         Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
01577                     }
01578                 }
01579                 #if DEBUG
01580                 }
01581                 #endif
01582             }
01583 
01584             [System.CLSCompliant(false)]
01585             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glDeleteVertexArraysAPPLE")]
01586             public static 
01587             unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
01588             {
01589                 #if DEBUG
01590                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01591                 {
01592                 #endif
01593                 Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
01594                 #if DEBUG
01595                 }
01596                 #endif
01597             }
01598 
01599             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")]
01600             public static 
01601             void DisableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
01602             {
01603                 #if DEBUG
01604                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01605                 {
01606                 #endif
01607                 Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
01608                 #if DEBUG
01609                 }
01610                 #endif
01611             }
01612 
01613             [System.CLSCompliant(false)]
01614             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glDisableVertexAttribAPPLE")]
01615             public static 
01616             void DisableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
01617             {
01618                 #if DEBUG
01619                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01620                 {
01621                 #endif
01622                 Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
01623                 #if DEBUG
01624                 }
01625                 #endif
01626             }
01627 
01628             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawElementArrayAPPLE")]
01629             public static 
01630             void DrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count)
01631             {
01632                 #if DEBUG
01633                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01634                 {
01635                 #endif
01636                 Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count);
01637                 #if DEBUG
01638                 }
01639                 #endif
01640             }
01641 
01642             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")]
01643             public static 
01644             void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 first, Int32 count)
01645             {
01646                 #if DEBUG
01647                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01648                 {
01649                 #endif
01650                 Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
01651                 #if DEBUG
01652                 }
01653                 #endif
01654             }
01655 
01656             [System.CLSCompliant(false)]
01657             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glDrawRangeElementArrayAPPLE")]
01658             public static 
01659             void DrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 first, Int32 count)
01660             {
01661                 #if DEBUG
01662                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01663                 {
01664                 #endif
01665                 Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count);
01666                 #if DEBUG
01667                 }
01668                 #endif
01669             }
01670 
01671             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
01672             public static 
01673             void ElementPointer(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer)
01674             {
01675                 #if DEBUG
01676                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01677                 {
01678                 #endif
01679                 Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer);
01680                 #if DEBUG
01681                 }
01682                 #endif
01683             }
01684 
01685             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
01686             public static 
01687             void ElementPointer<T1>(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[] pointer)
01688                 where T1 : struct
01689             {
01690                 #if DEBUG
01691                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01692                 {
01693                 #endif
01694                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01695                 try
01696                 {
01697                     Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01698                 }
01699                 finally
01700                 {
01701                     pointer_ptr.Free();
01702                 }
01703                 #if DEBUG
01704                 }
01705                 #endif
01706             }
01707 
01708             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
01709             public static 
01710             void ElementPointer<T1>(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,] pointer)
01711                 where T1 : struct
01712             {
01713                 #if DEBUG
01714                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01715                 {
01716                 #endif
01717                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01718                 try
01719                 {
01720                     Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01721                 }
01722                 finally
01723                 {
01724                     pointer_ptr.Free();
01725                 }
01726                 #if DEBUG
01727                 }
01728                 #endif
01729             }
01730 
01731             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
01732             public static 
01733             void ElementPointer<T1>(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] T1[,,] pointer)
01734                 where T1 : struct
01735             {
01736                 #if DEBUG
01737                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01738                 {
01739                 #endif
01740                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01741                 try
01742                 {
01743                     Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01744                 }
01745                 finally
01746                 {
01747                     pointer_ptr.Free();
01748                 }
01749                 #if DEBUG
01750                 }
01751                 #endif
01752             }
01753 
01754             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")]
01755             public static 
01756             void ElementPointer<T1>(OpenTK.Graphics.OpenGL.AppleElementArray type, [InAttribute, OutAttribute] ref T1 pointer)
01757                 where T1 : struct
01758             {
01759                 #if DEBUG
01760                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01761                 {
01762                 #endif
01763                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01764                 try
01765                 {
01766                     Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01767                     pointer = (T1)pointer_ptr.Target;
01768                 }
01769                 finally
01770                 {
01771                     pointer_ptr.Free();
01772                 }
01773                 #if DEBUG
01774                 }
01775                 #endif
01776             }
01777 
01778             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")]
01779             public static 
01780             void EnableVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
01781             {
01782                 #if DEBUG
01783                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01784                 {
01785                 #endif
01786                 Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
01787                 #if DEBUG
01788                 }
01789                 #endif
01790             }
01791 
01792             [System.CLSCompliant(false)]
01793             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glEnableVertexAttribAPPLE")]
01794             public static 
01795             void EnableVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
01796             {
01797                 #if DEBUG
01798                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01799                 {
01800                 #endif
01801                 Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
01802                 #if DEBUG
01803                 }
01804                 #endif
01805             }
01806 
01807             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")]
01808             public static 
01809             void FinishFence(Int32 fence)
01810             {
01811                 #if DEBUG
01812                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01813                 {
01814                 #endif
01815                 Delegates.glFinishFenceAPPLE((UInt32)fence);
01816                 #if DEBUG
01817                 }
01818                 #endif
01819             }
01820 
01821             [System.CLSCompliant(false)]
01822             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishFenceAPPLE")]
01823             public static 
01824             void FinishFence(UInt32 fence)
01825             {
01826                 #if DEBUG
01827                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01828                 {
01829                 #endif
01830                 Delegates.glFinishFenceAPPLE((UInt32)fence);
01831                 #if DEBUG
01832                 }
01833                 #endif
01834             }
01835 
01836             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glFinishObjectAPPLE")]
01837             public static 
01838             void FinishObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name)
01839             {
01840                 #if DEBUG
01841                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01842                 {
01843                 #endif
01844                 Delegates.glFinishObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name);
01845                 #if DEBUG
01846                 }
01847                 #endif
01848             }
01849 
01850             [AutoGenerated(Category = "AppleFlushBufferRange", Version = "1.5", EntryPoint = "glFlushMappedBufferRangeAPPLE")]
01851             public static 
01852             void FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size)
01853             {
01854                 #if DEBUG
01855                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01856                 {
01857                 #endif
01858                 Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size);
01859                 #if DEBUG
01860                 }
01861                 #endif
01862             }
01863 
01864             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
01865             public static 
01866             void FlushVertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer)
01867             {
01868                 #if DEBUG
01869                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01870                 {
01871                 #endif
01872                 Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
01873                 #if DEBUG
01874                 }
01875                 #endif
01876             }
01877 
01878             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
01879             public static 
01880             void FlushVertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[] pointer)
01881                 where T1 : struct
01882             {
01883                 #if DEBUG
01884                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01885                 {
01886                 #endif
01887                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01888                 try
01889                 {
01890                     Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01891                 }
01892                 finally
01893                 {
01894                     pointer_ptr.Free();
01895                 }
01896                 #if DEBUG
01897                 }
01898                 #endif
01899             }
01900 
01901             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
01902             public static 
01903             void FlushVertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[,] pointer)
01904                 where T1 : struct
01905             {
01906                 #if DEBUG
01907                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01908                 {
01909                 #endif
01910                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01911                 try
01912                 {
01913                     Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01914                 }
01915                 finally
01916                 {
01917                     pointer_ptr.Free();
01918                 }
01919                 #if DEBUG
01920                 }
01921                 #endif
01922             }
01923 
01924             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
01925             public static 
01926             void FlushVertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer)
01927                 where T1 : struct
01928             {
01929                 #if DEBUG
01930                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01931                 {
01932                 #endif
01933                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01934                 try
01935                 {
01936                     Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01937                 }
01938                 finally
01939                 {
01940                     pointer_ptr.Free();
01941                 }
01942                 #if DEBUG
01943                 }
01944                 #endif
01945             }
01946 
01947             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")]
01948             public static 
01949             void FlushVertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] ref T1 pointer)
01950                 where T1 : struct
01951             {
01952                 #if DEBUG
01953                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01954                 {
01955                 #endif
01956                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
01957                 try
01958                 {
01959                     Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
01960                     pointer = (T1)pointer_ptr.Target;
01961                 }
01962                 finally
01963                 {
01964                     pointer_ptr.Free();
01965                 }
01966                 #if DEBUG
01967                 }
01968                 #endif
01969             }
01970 
01971             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
01972             public static 
01973             void GenFences(Int32 n, [OutAttribute] Int32[] fences)
01974             {
01975                 #if DEBUG
01976                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01977                 {
01978                 #endif
01979                 unsafe
01980                 {
01981                     fixed (Int32* fences_ptr = fences)
01982                     {
01983                         Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
01984                     }
01985                 }
01986                 #if DEBUG
01987                 }
01988                 #endif
01989             }
01990 
01991             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
01992             public static 
01993             void GenFences(Int32 n, [OutAttribute] out Int32 fences)
01994             {
01995                 #if DEBUG
01996                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01997                 {
01998                 #endif
01999                 unsafe
02000                 {
02001                     fixed (Int32* fences_ptr = &fences)
02002                     {
02003                         Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
02004                         fences = *fences_ptr;
02005                     }
02006                 }
02007                 #if DEBUG
02008                 }
02009                 #endif
02010             }
02011 
02012             [System.CLSCompliant(false)]
02013             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
02014             public static 
02015             unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences)
02016             {
02017                 #if DEBUG
02018                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02019                 {
02020                 #endif
02021                 Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
02022                 #if DEBUG
02023                 }
02024                 #endif
02025             }
02026 
02027             [System.CLSCompliant(false)]
02028             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
02029             public static 
02030             void GenFences(Int32 n, [OutAttribute] UInt32[] fences)
02031             {
02032                 #if DEBUG
02033                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02034                 {
02035                 #endif
02036                 unsafe
02037                 {
02038                     fixed (UInt32* fences_ptr = fences)
02039                     {
02040                         Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
02041                     }
02042                 }
02043                 #if DEBUG
02044                 }
02045                 #endif
02046             }
02047 
02048             [System.CLSCompliant(false)]
02049             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
02050             public static 
02051             void GenFences(Int32 n, [OutAttribute] out UInt32 fences)
02052             {
02053                 #if DEBUG
02054                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02055                 {
02056                 #endif
02057                 unsafe
02058                 {
02059                     fixed (UInt32* fences_ptr = &fences)
02060                     {
02061                         Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences_ptr);
02062                         fences = *fences_ptr;
02063                     }
02064                 }
02065                 #if DEBUG
02066                 }
02067                 #endif
02068             }
02069 
02070             [System.CLSCompliant(false)]
02071             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glGenFencesAPPLE")]
02072             public static 
02073             unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences)
02074             {
02075                 #if DEBUG
02076                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02077                 {
02078                 #endif
02079                 Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences);
02080                 #if DEBUG
02081                 }
02082                 #endif
02083             }
02084 
02085             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02086             public static 
02087             void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays)
02088             {
02089                 #if DEBUG
02090                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02091                 {
02092                 #endif
02093                 unsafe
02094                 {
02095                     fixed (Int32* arrays_ptr = arrays)
02096                     {
02097                         Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
02098                     }
02099                 }
02100                 #if DEBUG
02101                 }
02102                 #endif
02103             }
02104 
02105             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02106             public static 
02107             void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays)
02108             {
02109                 #if DEBUG
02110                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02111                 {
02112                 #endif
02113                 unsafe
02114                 {
02115                     fixed (Int32* arrays_ptr = &arrays)
02116                     {
02117                         Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
02118                         arrays = *arrays_ptr;
02119                     }
02120                 }
02121                 #if DEBUG
02122                 }
02123                 #endif
02124             }
02125 
02126             [System.CLSCompliant(false)]
02127             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02128             public static 
02129             unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays)
02130             {
02131                 #if DEBUG
02132                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02133                 {
02134                 #endif
02135                 Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
02136                 #if DEBUG
02137                 }
02138                 #endif
02139             }
02140 
02141             [System.CLSCompliant(false)]
02142             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02143             public static 
02144             void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays)
02145             {
02146                 #if DEBUG
02147                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02148                 {
02149                 #endif
02150                 unsafe
02151                 {
02152                     fixed (UInt32* arrays_ptr = arrays)
02153                     {
02154                         Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
02155                     }
02156                 }
02157                 #if DEBUG
02158                 }
02159                 #endif
02160             }
02161 
02162             [System.CLSCompliant(false)]
02163             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02164             public static 
02165             void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays)
02166             {
02167                 #if DEBUG
02168                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02169                 {
02170                 #endif
02171                 unsafe
02172                 {
02173                     fixed (UInt32* arrays_ptr = &arrays)
02174                     {
02175                         Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays_ptr);
02176                         arrays = *arrays_ptr;
02177                     }
02178                 }
02179                 #if DEBUG
02180                 }
02181                 #endif
02182             }
02183 
02184             [System.CLSCompliant(false)]
02185             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glGenVertexArraysAPPLE")]
02186             public static 
02187             unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays)
02188             {
02189                 #if DEBUG
02190                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02191                 {
02192                 #endif
02193                 Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays);
02194                 #if DEBUG
02195                 }
02196                 #endif
02197             }
02198 
02199             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02200             public static 
02201             void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params)
02202             {
02203                 #if DEBUG
02204                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02205                 {
02206                 #endif
02207                 unsafe
02208                 {
02209                     fixed (Int32* @params_ptr = @params)
02210                     {
02211                         Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr);
02212                     }
02213                 }
02214                 #if DEBUG
02215                 }
02216                 #endif
02217             }
02218 
02219             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02220             public static 
02221             void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params)
02222             {
02223                 #if DEBUG
02224                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02225                 {
02226                 #endif
02227                 unsafe
02228                 {
02229                     fixed (Int32* @params_ptr = &@params)
02230                     {
02231                         Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr);
02232                         @params = *@params_ptr;
02233                     }
02234                 }
02235                 #if DEBUG
02236                 }
02237                 #endif
02238             }
02239 
02240             [System.CLSCompliant(false)]
02241             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02242             public static 
02243             unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params)
02244             {
02245                 #if DEBUG
02246                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02247                 {
02248                 #endif
02249                 Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params);
02250                 #if DEBUG
02251                 }
02252                 #endif
02253             }
02254 
02255             [System.CLSCompliant(false)]
02256             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02257             public static 
02258             void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32[] @params)
02259             {
02260                 #if DEBUG
02261                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02262                 {
02263                 #endif
02264                 unsafe
02265                 {
02266                     fixed (Int32* @params_ptr = @params)
02267                     {
02268                         Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr);
02269                     }
02270                 }
02271                 #if DEBUG
02272                 }
02273                 #endif
02274             }
02275 
02276             [System.CLSCompliant(false)]
02277             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02278             public static 
02279             void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] out Int32 @params)
02280             {
02281                 #if DEBUG
02282                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02283                 {
02284                 #endif
02285                 unsafe
02286                 {
02287                     fixed (Int32* @params_ptr = &@params)
02288                     {
02289                         Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params_ptr);
02290                         @params = *@params_ptr;
02291                     }
02292                 }
02293                 #if DEBUG
02294                 }
02295                 #endif
02296             }
02297 
02298             [System.CLSCompliant(false)]
02299             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glGetObjectParameterivAPPLE")]
02300             public static 
02301             unsafe void GetObjectParameter(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params)
02302             {
02303                 #if DEBUG
02304                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02305                 {
02306                 #endif
02307                 Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params);
02308                 #if DEBUG
02309                 }
02310                 #endif
02311             }
02312 
02313             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
02314             public static 
02315             void GetTexParameterPointer(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params)
02316             {
02317                 #if DEBUG
02318                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02319                 {
02320                 #endif
02321                 Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params);
02322                 #if DEBUG
02323                 }
02324                 #endif
02325             }
02326 
02327             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
02328             public static 
02329             void GetTexParameterPointer<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[] @params)
02330                 where T2 : struct
02331             {
02332                 #if DEBUG
02333                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02334                 {
02335                 #endif
02336                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
02337                 try
02338                 {
02339                     Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
02340                 }
02341                 finally
02342                 {
02343                     @params_ptr.Free();
02344                 }
02345                 #if DEBUG
02346                 }
02347                 #endif
02348             }
02349 
02350             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
02351             public static 
02352             void GetTexParameterPointer<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,] @params)
02353                 where T2 : struct
02354             {
02355                 #if DEBUG
02356                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02357                 {
02358                 #endif
02359                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
02360                 try
02361                 {
02362                     Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
02363                 }
02364                 finally
02365                 {
02366                     @params_ptr.Free();
02367                 }
02368                 #if DEBUG
02369                 }
02370                 #endif
02371             }
02372 
02373             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
02374             public static 
02375             void GetTexParameterPointer<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] T2[,,] @params)
02376                 where T2 : struct
02377             {
02378                 #if DEBUG
02379                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02380                 {
02381                 #endif
02382                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
02383                 try
02384                 {
02385                     Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
02386                 }
02387                 finally
02388                 {
02389                     @params_ptr.Free();
02390                 }
02391                 #if DEBUG
02392                 }
02393                 #endif
02394             }
02395 
02396             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glGetTexParameterPointervAPPLE")]
02397             public static 
02398             void GetTexParameterPointer<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [InAttribute, OutAttribute] ref T2 @params)
02399                 where T2 : struct
02400             {
02401                 #if DEBUG
02402                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02403                 {
02404                 #endif
02405                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
02406                 try
02407                 {
02408                     Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
02409                     @params = (T2)@params_ptr.Target;
02410                 }
02411                 finally
02412                 {
02413                     @params_ptr.Free();
02414                 }
02415                 #if DEBUG
02416                 }
02417                 #endif
02418             }
02419 
02420             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")]
02421             public static 
02422             bool IsFence(Int32 fence)
02423             {
02424                 #if DEBUG
02425                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02426                 {
02427                 #endif
02428                 return Delegates.glIsFenceAPPLE((UInt32)fence);
02429                 #if DEBUG
02430                 }
02431                 #endif
02432             }
02433 
02434             [System.CLSCompliant(false)]
02435             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glIsFenceAPPLE")]
02436             public static 
02437             bool IsFence(UInt32 fence)
02438             {
02439                 #if DEBUG
02440                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02441                 {
02442                 #endif
02443                 return Delegates.glIsFenceAPPLE((UInt32)fence);
02444                 #if DEBUG
02445                 }
02446                 #endif
02447             }
02448 
02449             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")]
02450             public static 
02451             bool IsVertexArray(Int32 array)
02452             {
02453                 #if DEBUG
02454                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02455                 {
02456                 #endif
02457                 return Delegates.glIsVertexArrayAPPLE((UInt32)array);
02458                 #if DEBUG
02459                 }
02460                 #endif
02461             }
02462 
02463             [System.CLSCompliant(false)]
02464             [AutoGenerated(Category = "AppleVertexArrayObject", Version = "1.2", EntryPoint = "glIsVertexArrayAPPLE")]
02465             public static 
02466             bool IsVertexArray(UInt32 array)
02467             {
02468                 #if DEBUG
02469                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02470                 {
02471                 #endif
02472                 return Delegates.glIsVertexArrayAPPLE((UInt32)array);
02473                 #if DEBUG
02474                 }
02475                 #endif
02476             }
02477 
02478             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")]
02479             public static 
02480             bool IsVertexAttribEnabled(Int32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
02481             {
02482                 #if DEBUG
02483                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02484                 {
02485                 #endif
02486                 return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
02487                 #if DEBUG
02488                 }
02489                 #endif
02490             }
02491 
02492             [System.CLSCompliant(false)]
02493             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glIsVertexAttribEnabledAPPLE")]
02494             public static 
02495             bool IsVertexAttribEnabled(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname)
02496             {
02497                 #if DEBUG
02498                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02499                 {
02500                 #endif
02501                 return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname);
02502                 #if DEBUG
02503                 }
02504                 #endif
02505             }
02506 
02507             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02508             public static 
02509             void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
02510             {
02511                 #if DEBUG
02512                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02513                 {
02514                 #endif
02515                 unsafe
02516                 {
02517                     fixed (Double* points_ptr = points)
02518                     {
02519                         Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
02520                     }
02521                 }
02522                 #if DEBUG
02523                 }
02524                 #endif
02525             }
02526 
02527             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02528             public static 
02529             void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
02530             {
02531                 #if DEBUG
02532                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02533                 {
02534                 #endif
02535                 unsafe
02536                 {
02537                     fixed (Double* points_ptr = &points)
02538                     {
02539                         Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
02540                     }
02541                 }
02542                 #if DEBUG
02543                 }
02544                 #endif
02545             }
02546 
02547             [System.CLSCompliant(false)]
02548             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02549             public static 
02550             unsafe void MapVertexAttrib1(Int32 index, Int32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
02551             {
02552                 #if DEBUG
02553                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02554                 {
02555                 #endif
02556                 Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
02557                 #if DEBUG
02558                 }
02559                 #endif
02560             }
02561 
02562             [System.CLSCompliant(false)]
02563             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02564             public static 
02565             void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double[] points)
02566             {
02567                 #if DEBUG
02568                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02569                 {
02570                 #endif
02571                 unsafe
02572                 {
02573                     fixed (Double* points_ptr = points)
02574                     {
02575                         Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
02576                     }
02577                 }
02578                 #if DEBUG
02579                 }
02580                 #endif
02581             }
02582 
02583             [System.CLSCompliant(false)]
02584             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02585             public static 
02586             void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, ref Double points)
02587             {
02588                 #if DEBUG
02589                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02590                 {
02591                 #endif
02592                 unsafe
02593                 {
02594                     fixed (Double* points_ptr = &points)
02595                     {
02596                         Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points_ptr);
02597                     }
02598                 }
02599                 #if DEBUG
02600                 }
02601                 #endif
02602             }
02603 
02604             [System.CLSCompliant(false)]
02605             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1dAPPLE")]
02606             public static 
02607             unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points)
02608             {
02609                 #if DEBUG
02610                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02611                 {
02612                 #endif
02613                 Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points);
02614                 #if DEBUG
02615                 }
02616                 #endif
02617             }
02618 
02619             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02620             public static 
02621             void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
02622             {
02623                 #if DEBUG
02624                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02625                 {
02626                 #endif
02627                 unsafe
02628                 {
02629                     fixed (Single* points_ptr = points)
02630                     {
02631                         Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
02632                     }
02633                 }
02634                 #if DEBUG
02635                 }
02636                 #endif
02637             }
02638 
02639             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02640             public static 
02641             void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
02642             {
02643                 #if DEBUG
02644                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02645                 {
02646                 #endif
02647                 unsafe
02648                 {
02649                     fixed (Single* points_ptr = &points)
02650                     {
02651                         Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
02652                     }
02653                 }
02654                 #if DEBUG
02655                 }
02656                 #endif
02657             }
02658 
02659             [System.CLSCompliant(false)]
02660             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02661             public static 
02662             unsafe void MapVertexAttrib1(Int32 index, Int32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
02663             {
02664                 #if DEBUG
02665                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02666                 {
02667                 #endif
02668                 Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
02669                 #if DEBUG
02670                 }
02671                 #endif
02672             }
02673 
02674             [System.CLSCompliant(false)]
02675             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02676             public static 
02677             void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single[] points)
02678             {
02679                 #if DEBUG
02680                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02681                 {
02682                 #endif
02683                 unsafe
02684                 {
02685                     fixed (Single* points_ptr = points)
02686                     {
02687                         Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
02688                     }
02689                 }
02690                 #if DEBUG
02691                 }
02692                 #endif
02693             }
02694 
02695             [System.CLSCompliant(false)]
02696             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02697             public static 
02698             void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, ref Single points)
02699             {
02700                 #if DEBUG
02701                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02702                 {
02703                 #endif
02704                 unsafe
02705                 {
02706                     fixed (Single* points_ptr = &points)
02707                     {
02708                         Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points_ptr);
02709                     }
02710                 }
02711                 #if DEBUG
02712                 }
02713                 #endif
02714             }
02715 
02716             [System.CLSCompliant(false)]
02717             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib1fAPPLE")]
02718             public static 
02719             unsafe void MapVertexAttrib1(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points)
02720             {
02721                 #if DEBUG
02722                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02723                 {
02724                 #endif
02725                 Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points);
02726                 #if DEBUG
02727                 }
02728                 #endif
02729             }
02730 
02731             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02732             public static 
02733             void MapVertexAttrib2(Int32 index, Int32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
02734             {
02735                 #if DEBUG
02736                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02737                 {
02738                 #endif
02739                 unsafe
02740                 {
02741                     fixed (Double* points_ptr = points)
02742                     {
02743                         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);
02744                     }
02745                 }
02746                 #if DEBUG
02747                 }
02748                 #endif
02749             }
02750 
02751             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02752             public static 
02753             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)
02754             {
02755                 #if DEBUG
02756                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02757                 {
02758                 #endif
02759                 unsafe
02760                 {
02761                     fixed (Double* points_ptr = &points)
02762                     {
02763                         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);
02764                     }
02765                 }
02766                 #if DEBUG
02767                 }
02768                 #endif
02769             }
02770 
02771             [System.CLSCompliant(false)]
02772             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02773             public static 
02774             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)
02775             {
02776                 #if DEBUG
02777                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02778                 {
02779                 #endif
02780                 Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
02781                 #if DEBUG
02782                 }
02783                 #endif
02784             }
02785 
02786             [System.CLSCompliant(false)]
02787             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02788             public static 
02789             void MapVertexAttrib2(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points)
02790             {
02791                 #if DEBUG
02792                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02793                 {
02794                 #endif
02795                 unsafe
02796                 {
02797                     fixed (Double* points_ptr = points)
02798                     {
02799                         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);
02800                     }
02801                 }
02802                 #if DEBUG
02803                 }
02804                 #endif
02805             }
02806 
02807             [System.CLSCompliant(false)]
02808             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02809             public static 
02810             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)
02811             {
02812                 #if DEBUG
02813                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02814                 {
02815                 #endif
02816                 unsafe
02817                 {
02818                     fixed (Double* points_ptr = &points)
02819                     {
02820                         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);
02821                     }
02822                 }
02823                 #if DEBUG
02824                 }
02825                 #endif
02826             }
02827 
02828             [System.CLSCompliant(false)]
02829             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2dAPPLE")]
02830             public static 
02831             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)
02832             {
02833                 #if DEBUG
02834                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02835                 {
02836                 #endif
02837                 Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points);
02838                 #if DEBUG
02839                 }
02840                 #endif
02841             }
02842 
02843             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02844             public static 
02845             void MapVertexAttrib2(Int32 index, Int32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
02846             {
02847                 #if DEBUG
02848                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02849                 {
02850                 #endif
02851                 unsafe
02852                 {
02853                     fixed (Single* points_ptr = points)
02854                     {
02855                         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);
02856                     }
02857                 }
02858                 #if DEBUG
02859                 }
02860                 #endif
02861             }
02862 
02863             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02864             public static 
02865             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)
02866             {
02867                 #if DEBUG
02868                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02869                 {
02870                 #endif
02871                 unsafe
02872                 {
02873                     fixed (Single* points_ptr = &points)
02874                     {
02875                         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);
02876                     }
02877                 }
02878                 #if DEBUG
02879                 }
02880                 #endif
02881             }
02882 
02883             [System.CLSCompliant(false)]
02884             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02885             public static 
02886             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)
02887             {
02888                 #if DEBUG
02889                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02890                 {
02891                 #endif
02892                 Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
02893                 #if DEBUG
02894                 }
02895                 #endif
02896             }
02897 
02898             [System.CLSCompliant(false)]
02899             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02900             public static 
02901             void MapVertexAttrib2(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points)
02902             {
02903                 #if DEBUG
02904                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02905                 {
02906                 #endif
02907                 unsafe
02908                 {
02909                     fixed (Single* points_ptr = points)
02910                     {
02911                         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);
02912                     }
02913                 }
02914                 #if DEBUG
02915                 }
02916                 #endif
02917             }
02918 
02919             [System.CLSCompliant(false)]
02920             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02921             public static 
02922             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)
02923             {
02924                 #if DEBUG
02925                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02926                 {
02927                 #endif
02928                 unsafe
02929                 {
02930                     fixed (Single* points_ptr = &points)
02931                     {
02932                         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);
02933                     }
02934                 }
02935                 #if DEBUG
02936                 }
02937                 #endif
02938             }
02939 
02940             [System.CLSCompliant(false)]
02941             [AutoGenerated(Category = "AppleVertexProgramEvaluators", Version = "1.5", EntryPoint = "glMapVertexAttrib2fAPPLE")]
02942             public static 
02943             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)
02944             {
02945                 #if DEBUG
02946                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02947                 {
02948                 #endif
02949                 Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points);
02950                 #if DEBUG
02951                 }
02952                 #endif
02953             }
02954 
02955             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
02956             public static 
02957             void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] first, Int32[] count, Int32 primcount)
02958             {
02959                 #if DEBUG
02960                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02961                 {
02962                 #endif
02963                 unsafe
02964                 {
02965                     fixed (Int32* first_ptr = first)
02966                     fixed (Int32* count_ptr = count)
02967                     {
02968                         Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
02969                     }
02970                 }
02971                 #if DEBUG
02972                 }
02973                 #endif
02974             }
02975 
02976             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
02977             public static 
02978             void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 first, ref Int32 count, Int32 primcount)
02979             {
02980                 #if DEBUG
02981                 using (new ErrorHelper(GraphicsContext.CurrentContext))
02982                 {
02983                 #endif
02984                 unsafe
02985                 {
02986                     fixed (Int32* first_ptr = &first)
02987                     fixed (Int32* count_ptr = &count)
02988                     {
02989                         Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
02990                     }
02991                 }
02992                 #if DEBUG
02993                 }
02994                 #endif
02995             }
02996 
02997             [System.CLSCompliant(false)]
02998             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawElementArrayAPPLE")]
02999             public static 
03000             unsafe void MultiDrawElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount)
03001             {
03002                 #if DEBUG
03003                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03004                 {
03005                 #endif
03006                 Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
03007                 #if DEBUG
03008                 }
03009                 #endif
03010             }
03011 
03012             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03013             public static 
03014             void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32[] first, Int32[] count, Int32 primcount)
03015             {
03016                 #if DEBUG
03017                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03018                 {
03019                 #endif
03020                 unsafe
03021                 {
03022                     fixed (Int32* first_ptr = first)
03023                     fixed (Int32* count_ptr = count)
03024                     {
03025                         Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
03026                     }
03027                 }
03028                 #if DEBUG
03029                 }
03030                 #endif
03031             }
03032 
03033             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03034             public static 
03035             void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, ref Int32 first, ref Int32 count, Int32 primcount)
03036             {
03037                 #if DEBUG
03038                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03039                 {
03040                 #endif
03041                 unsafe
03042                 {
03043                     fixed (Int32* first_ptr = &first)
03044                     fixed (Int32* count_ptr = &count)
03045                     {
03046                         Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
03047                     }
03048                 }
03049                 #if DEBUG
03050                 }
03051                 #endif
03052             }
03053 
03054             [System.CLSCompliant(false)]
03055             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03056             public static 
03057             unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32* first, Int32* count, Int32 primcount)
03058             {
03059                 #if DEBUG
03060                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03061                 {
03062                 #endif
03063                 Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
03064                 #if DEBUG
03065                 }
03066                 #endif
03067             }
03068 
03069             [System.CLSCompliant(false)]
03070             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03071             public static 
03072             void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32[] first, Int32[] count, Int32 primcount)
03073             {
03074                 #if DEBUG
03075                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03076                 {
03077                 #endif
03078                 unsafe
03079                 {
03080                     fixed (Int32* first_ptr = first)
03081                     fixed (Int32* count_ptr = count)
03082                     {
03083                         Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
03084                     }
03085                 }
03086                 #if DEBUG
03087                 }
03088                 #endif
03089             }
03090 
03091             [System.CLSCompliant(false)]
03092             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03093             public static 
03094             void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, ref Int32 first, ref Int32 count, Int32 primcount)
03095             {
03096                 #if DEBUG
03097                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03098                 {
03099                 #endif
03100                 unsafe
03101                 {
03102                     fixed (Int32* first_ptr = &first)
03103                     fixed (Int32* count_ptr = &count)
03104                     {
03105                         Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
03106                     }
03107                 }
03108                 #if DEBUG
03109                 }
03110                 #endif
03111             }
03112 
03113             [System.CLSCompliant(false)]
03114             [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glMultiDrawRangeElementArrayAPPLE")]
03115             public static 
03116             unsafe void MultiDrawRangeElementArray(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount)
03117             {
03118                 #if DEBUG
03119                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03120                 {
03121                 #endif
03122                 Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount);
03123                 #if DEBUG
03124                 }
03125                 #endif
03126             }
03127 
03128             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")]
03129             public static 
03130             System.IntPtr ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option)
03131             {
03132                 #if DEBUG
03133                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03134                 {
03135                 #endif
03136                 return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option);
03137                 #if DEBUG
03138                 }
03139                 #endif
03140             }
03141 
03142             [System.CLSCompliant(false)]
03143             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectPurgeableAPPLE")]
03144             public static 
03145             System.IntPtr ObjectPurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option)
03146             {
03147                 #if DEBUG
03148                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03149                 {
03150                 #endif
03151                 return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option);
03152                 #if DEBUG
03153                 }
03154                 #endif
03155             }
03156 
03157             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")]
03158             public static 
03159             System.IntPtr ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, Int32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option)
03160             {
03161                 #if DEBUG
03162                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03163                 {
03164                 #endif
03165                 return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option);
03166                 #if DEBUG
03167                 }
03168                 #endif
03169             }
03170 
03171             [System.CLSCompliant(false)]
03172             [AutoGenerated(Category = "AppleObjectPurgeable", Version = "1.5", EntryPoint = "glObjectUnpurgeableAPPLE")]
03173             public static 
03174             System.IntPtr ObjectUnpurgeable(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option)
03175             {
03176                 #if DEBUG
03177                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03178                 {
03179                 #endif
03180                 return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option);
03181                 #if DEBUG
03182                 }
03183                 #endif
03184             }
03185 
03186             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")]
03187             public static 
03188             void SetFence(Int32 fence)
03189             {
03190                 #if DEBUG
03191                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03192                 {
03193                 #endif
03194                 Delegates.glSetFenceAPPLE((UInt32)fence);
03195                 #if DEBUG
03196                 }
03197                 #endif
03198             }
03199 
03200             [System.CLSCompliant(false)]
03201             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glSetFenceAPPLE")]
03202             public static 
03203             void SetFence(UInt32 fence)
03204             {
03205                 #if DEBUG
03206                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03207                 {
03208                 #endif
03209                 Delegates.glSetFenceAPPLE((UInt32)fence);
03210                 #if DEBUG
03211                 }
03212                 #endif
03213             }
03214 
03215             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")]
03216             public static 
03217             bool TestFence(Int32 fence)
03218             {
03219                 #if DEBUG
03220                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03221                 {
03222                 #endif
03223                 return Delegates.glTestFenceAPPLE((UInt32)fence);
03224                 #if DEBUG
03225                 }
03226                 #endif
03227             }
03228 
03229             [System.CLSCompliant(false)]
03230             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestFenceAPPLE")]
03231             public static 
03232             bool TestFence(UInt32 fence)
03233             {
03234                 #if DEBUG
03235                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03236                 {
03237                 #endif
03238                 return Delegates.glTestFenceAPPLE((UInt32)fence);
03239                 #if DEBUG
03240                 }
03241                 #endif
03242             }
03243 
03244             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")]
03245             public static 
03246             bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name)
03247             {
03248                 #if DEBUG
03249                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03250                 {
03251                 #endif
03252                 return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name);
03253                 #if DEBUG
03254                 }
03255                 #endif
03256             }
03257 
03258             [System.CLSCompliant(false)]
03259             [AutoGenerated(Category = "AppleFence", Version = "1.2", EntryPoint = "glTestObjectAPPLE")]
03260             public static 
03261             bool TestObject(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name)
03262             {
03263                 #if DEBUG
03264                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03265                 {
03266                 #endif
03267                 return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name);
03268                 #if DEBUG
03269                 }
03270                 #endif
03271             }
03272 
03273             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
03274             public static 
03275             void TextureRange(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer)
03276             {
03277                 #if DEBUG
03278                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03279                 {
03280                 #endif
03281                 Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer);
03282                 #if DEBUG
03283                 }
03284                 #endif
03285             }
03286 
03287             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
03288             public static 
03289             void TextureRange<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[] pointer)
03290                 where T2 : struct
03291             {
03292                 #if DEBUG
03293                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03294                 {
03295                 #endif
03296                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03297                 try
03298                 {
03299                     Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03300                 }
03301                 finally
03302                 {
03303                     pointer_ptr.Free();
03304                 }
03305                 #if DEBUG
03306                 }
03307                 #endif
03308             }
03309 
03310             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
03311             public static 
03312             void TextureRange<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,] pointer)
03313                 where T2 : struct
03314             {
03315                 #if DEBUG
03316                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03317                 {
03318                 #endif
03319                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03320                 try
03321                 {
03322                     Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03323                 }
03324                 finally
03325                 {
03326                     pointer_ptr.Free();
03327                 }
03328                 #if DEBUG
03329                 }
03330                 #endif
03331             }
03332 
03333             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
03334             public static 
03335             void TextureRange<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] T2[,,] pointer)
03336                 where T2 : struct
03337             {
03338                 #if DEBUG
03339                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03340                 {
03341                 #endif
03342                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03343                 try
03344                 {
03345                     Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03346                 }
03347                 finally
03348                 {
03349                     pointer_ptr.Free();
03350                 }
03351                 #if DEBUG
03352                 }
03353                 #endif
03354             }
03355 
03356             [AutoGenerated(Category = "AppleTextureRange", Version = "1.2", EntryPoint = "glTextureRangeAPPLE")]
03357             public static 
03358             void TextureRange<T2>(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, [InAttribute, OutAttribute] ref T2 pointer)
03359                 where T2 : struct
03360             {
03361                 #if DEBUG
03362                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03363                 {
03364                 #endif
03365                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03366                 try
03367                 {
03368                     Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03369                     pointer = (T2)pointer_ptr.Target;
03370                 }
03371                 finally
03372                 {
03373                     pointer_ptr.Free();
03374                 }
03375                 #if DEBUG
03376                 }
03377                 #endif
03378             }
03379 
03380             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayParameteriAPPLE")]
03381             public static 
03382             void VertexArrayParameter(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param)
03383             {
03384                 #if DEBUG
03385                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03386                 {
03387                 #endif
03388                 Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param);
03389                 #if DEBUG
03390                 }
03391                 #endif
03392             }
03393 
03394             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
03395             public static 
03396             void VertexArrayRange(Int32 length, [OutAttribute] IntPtr pointer)
03397             {
03398                 #if DEBUG
03399                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03400                 {
03401                 #endif
03402                 Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer);
03403                 #if DEBUG
03404                 }
03405                 #endif
03406             }
03407 
03408             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
03409             public static 
03410             void VertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[] pointer)
03411                 where T1 : struct
03412             {
03413                 #if DEBUG
03414                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03415                 {
03416                 #endif
03417                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03418                 try
03419                 {
03420                     Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03421                 }
03422                 finally
03423                 {
03424                     pointer_ptr.Free();
03425                 }
03426                 #if DEBUG
03427                 }
03428                 #endif
03429             }
03430 
03431             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
03432             public static 
03433             void VertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[,] pointer)
03434                 where T1 : struct
03435             {
03436                 #if DEBUG
03437                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03438                 {
03439                 #endif
03440                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03441                 try
03442                 {
03443                     Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03444                 }
03445                 finally
03446                 {
03447                     pointer_ptr.Free();
03448                 }
03449                 #if DEBUG
03450                 }
03451                 #endif
03452             }
03453 
03454             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
03455             public static 
03456             void VertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] T1[,,] pointer)
03457                 where T1 : struct
03458             {
03459                 #if DEBUG
03460                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03461                 {
03462                 #endif
03463                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03464                 try
03465                 {
03466                     Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03467                 }
03468                 finally
03469                 {
03470                     pointer_ptr.Free();
03471                 }
03472                 #if DEBUG
03473                 }
03474                 #endif
03475             }
03476 
03477             [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")]
03478             public static 
03479             void VertexArrayRange<T1>(Int32 length, [InAttribute, OutAttribute] ref T1 pointer)
03480                 where T1 : struct
03481             {
03482                 #if DEBUG
03483                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03484                 {
03485                 #endif
03486                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03487                 try
03488                 {
03489                     Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03490                     pointer = (T1)pointer_ptr.Target;
03491                 }
03492                 finally
03493                 {
03494                     pointer_ptr.Free();
03495                 }
03496                 #if DEBUG
03497                 }
03498                 #endif
03499             }
03500 
03501         }
03502 
03503         public static partial class Arb
03504         {
03505             
03514             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")]
03515             public static 
03516             void ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture)
03517             {
03518                 #if DEBUG
03519                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03520                 {
03521                 #endif
03522                 Delegates.glActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture);
03523                 #if DEBUG
03524                 }
03525                 #endif
03526             }
03527 
03528             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")]
03529             public static 
03530             void AttachObject(Int32 containerObj, Int32 obj)
03531             {
03532                 #if DEBUG
03533                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03534                 {
03535                 #endif
03536                 Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
03537                 #if DEBUG
03538                 }
03539                 #endif
03540             }
03541 
03542             [System.CLSCompliant(false)]
03543             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glAttachObjectARB")]
03544             public static 
03545             void AttachObject(UInt32 containerObj, UInt32 obj)
03546             {
03547                 #if DEBUG
03548                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03549                 {
03550                 #endif
03551                 Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj);
03552                 #if DEBUG
03553                 }
03554                 #endif
03555             }
03556 
03557             
03571             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")]
03572             public static 
03573             void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, Int32 id)
03574             {
03575                 #if DEBUG
03576                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03577                 {
03578                 #endif
03579                 Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id);
03580                 #if DEBUG
03581                 }
03582                 #endif
03583             }
03584 
03585             
03599             [System.CLSCompliant(false)]
03600             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")]
03601             public static 
03602             void BeginQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id)
03603             {
03604                 #if DEBUG
03605                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03606                 {
03607                 #endif
03608                 Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id);
03609                 #if DEBUG
03610                 }
03611                 #endif
03612             }
03613 
03614             
03633             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")]
03634             public static 
03635             void BindAttribLocation(Int32 programObj, Int32 index, String name)
03636             {
03637                 #if DEBUG
03638                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03639                 {
03640                 #endif
03641                 Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name);
03642                 #if DEBUG
03643                 }
03644                 #endif
03645             }
03646 
03647             
03666             [System.CLSCompliant(false)]
03667             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")]
03668             public static 
03669             void BindAttribLocation(UInt32 programObj, UInt32 index, String name)
03670             {
03671                 #if DEBUG
03672                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03673                 {
03674                 #endif
03675                 Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name);
03676                 #if DEBUG
03677                 }
03678                 #endif
03679             }
03680 
03681             
03695             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")]
03696             public static 
03697             void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, Int32 buffer)
03698             {
03699                 #if DEBUG
03700                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03701                 {
03702                 #endif
03703                 Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer);
03704                 #if DEBUG
03705                 }
03706                 #endif
03707             }
03708 
03709             
03723             [System.CLSCompliant(false)]
03724             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")]
03725             public static 
03726             void BindBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer)
03727             {
03728                 #if DEBUG
03729                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03730                 {
03731                 #endif
03732                 Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer);
03733                 #if DEBUG
03734                 }
03735                 #endif
03736             }
03737 
03738             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")]
03739             public static 
03740             void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, Int32 program)
03741             {
03742                 #if DEBUG
03743                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03744                 {
03745                 #endif
03746                 Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program);
03747                 #if DEBUG
03748                 }
03749                 #endif
03750             }
03751 
03752             [System.CLSCompliant(false)]
03753             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glBindProgramARB")]
03754             public static 
03755             void BindProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program)
03756             {
03757                 #if DEBUG
03758                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03759                 {
03760                 #endif
03761                 Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program);
03762                 #if DEBUG
03763                 }
03764                 #endif
03765             }
03766 
03767             
03791             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
03792             public static 
03793             void BufferData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage)
03794             {
03795                 #if DEBUG
03796                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03797                 {
03798                 #endif
03799                 Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage);
03800                 #if DEBUG
03801                 }
03802                 #endif
03803             }
03804 
03805             
03829             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
03830             public static 
03831             void BufferData<T2>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage)
03832                 where T2 : struct
03833             {
03834                 #if DEBUG
03835                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03836                 {
03837                 #endif
03838                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
03839                 try
03840                 {
03841                     Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage);
03842                 }
03843                 finally
03844                 {
03845                     data_ptr.Free();
03846                 }
03847                 #if DEBUG
03848                 }
03849                 #endif
03850             }
03851 
03852             
03876             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
03877             public static 
03878             void BufferData<T2>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage)
03879                 where T2 : struct
03880             {
03881                 #if DEBUG
03882                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03883                 {
03884                 #endif
03885                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
03886                 try
03887                 {
03888                     Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage);
03889                 }
03890                 finally
03891                 {
03892                     data_ptr.Free();
03893                 }
03894                 #if DEBUG
03895                 }
03896                 #endif
03897             }
03898 
03899             
03923             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
03924             public static 
03925             void BufferData<T2>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.OpenGL.BufferUsageArb usage)
03926                 where T2 : struct
03927             {
03928                 #if DEBUG
03929                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03930                 {
03931                 #endif
03932                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
03933                 try
03934                 {
03935                     Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage);
03936                 }
03937                 finally
03938                 {
03939                     data_ptr.Free();
03940                 }
03941                 #if DEBUG
03942                 }
03943                 #endif
03944             }
03945 
03946             
03970             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")]
03971             public static 
03972             void BufferData<T2>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.OpenGL.BufferUsageArb usage)
03973                 where T2 : struct
03974             {
03975                 #if DEBUG
03976                 using (new ErrorHelper(GraphicsContext.CurrentContext))
03977                 {
03978                 #endif
03979                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
03980                 try
03981                 {
03982                     Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.OpenGL.BufferUsageArb)usage);
03983                     data = (T2)data_ptr.Target;
03984                 }
03985                 finally
03986                 {
03987                     data_ptr.Free();
03988                 }
03989                 #if DEBUG
03990                 }
03991                 #endif
03992             }
03993 
03994             
04018             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
04019             public static 
04020             void BufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data)
04021             {
04022                 #if DEBUG
04023                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04024                 {
04025                 #endif
04026                 Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
04027                 #if DEBUG
04028                 }
04029                 #endif
04030             }
04031 
04032             
04056             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
04057             public static 
04058             void BufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
04059                 where T3 : struct
04060             {
04061                 #if DEBUG
04062                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04063                 {
04064                 #endif
04065                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04066                 try
04067                 {
04068                     Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
04069                 }
04070                 finally
04071                 {
04072                     data_ptr.Free();
04073                 }
04074                 #if DEBUG
04075                 }
04076                 #endif
04077             }
04078 
04079             
04103             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
04104             public static 
04105             void BufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
04106                 where T3 : struct
04107             {
04108                 #if DEBUG
04109                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04110                 {
04111                 #endif
04112                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04113                 try
04114                 {
04115                     Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
04116                 }
04117                 finally
04118                 {
04119                     data_ptr.Free();
04120                 }
04121                 #if DEBUG
04122                 }
04123                 #endif
04124             }
04125 
04126             
04150             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
04151             public static 
04152             void BufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
04153                 where T3 : struct
04154             {
04155                 #if DEBUG
04156                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04157                 {
04158                 #endif
04159                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04160                 try
04161                 {
04162                     Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
04163                 }
04164                 finally
04165                 {
04166                     data_ptr.Free();
04167                 }
04168                 #if DEBUG
04169                 }
04170                 #endif
04171             }
04172 
04173             
04197             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")]
04198             public static 
04199             void BufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
04200                 where T3 : struct
04201             {
04202                 #if DEBUG
04203                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04204                 {
04205                 #endif
04206                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04207                 try
04208                 {
04209                     Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
04210                     data = (T3)data_ptr.Target;
04211                 }
04212                 finally
04213                 {
04214                     data_ptr.Free();
04215                 }
04216                 #if DEBUG
04217                 }
04218                 #endif
04219             }
04220 
04221             [AutoGenerated(Category = "ArbColorBufferFloat", Version = "1.5", EntryPoint = "glClampColorARB")]
04222             public static 
04223             void ClampColor(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp)
04224             {
04225                 #if DEBUG
04226                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04227                 {
04228                 #endif
04229                 Delegates.glClampColorARB((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp);
04230                 #if DEBUG
04231                 }
04232                 #endif
04233             }
04234 
04235             
04244             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")]
04245             public static 
04246             void ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture)
04247             {
04248                 #if DEBUG
04249                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04250                 {
04251                 #endif
04252                 Delegates.glClientActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture);
04253                 #if DEBUG
04254                 }
04255                 #endif
04256             }
04257 
04258             
04267             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")]
04268             public static 
04269             void CompileShader(Int32 shaderObj)
04270             {
04271                 #if DEBUG
04272                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04273                 {
04274                 #endif
04275                 Delegates.glCompileShaderARB((UInt32)shaderObj);
04276                 #if DEBUG
04277                 }
04278                 #endif
04279             }
04280 
04281             
04290             [System.CLSCompliant(false)]
04291             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")]
04292             public static 
04293             void CompileShader(UInt32 shaderObj)
04294             {
04295                 #if DEBUG
04296                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04297                 {
04298                 #endif
04299                 Delegates.glCompileShaderARB((UInt32)shaderObj);
04300                 #if DEBUG
04301                 }
04302                 #endif
04303             }
04304 
04305             
04344             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
04345             public static 
04346             void CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data)
04347             {
04348                 #if DEBUG
04349                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04350                 {
04351                 #endif
04352                 Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data);
04353                 #if DEBUG
04354                 }
04355                 #endif
04356             }
04357 
04358             
04397             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
04398             public static 
04399             void CompressedTexImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[] data)
04400                 where T6 : struct
04401             {
04402                 #if DEBUG
04403                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04404                 {
04405                 #endif
04406                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04407                 try
04408                 {
04409                     Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04410                 }
04411                 finally
04412                 {
04413                     data_ptr.Free();
04414                 }
04415                 #if DEBUG
04416                 }
04417                 #endif
04418             }
04419 
04420             
04459             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
04460             public static 
04461             void CompressedTexImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data)
04462                 where T6 : struct
04463             {
04464                 #if DEBUG
04465                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04466                 {
04467                 #endif
04468                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04469                 try
04470                 {
04471                     Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04472                 }
04473                 finally
04474                 {
04475                     data_ptr.Free();
04476                 }
04477                 #if DEBUG
04478                 }
04479                 #endif
04480             }
04481 
04482             
04521             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
04522             public static 
04523             void CompressedTexImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data)
04524                 where T6 : struct
04525             {
04526                 #if DEBUG
04527                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04528                 {
04529                 #endif
04530                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04531                 try
04532                 {
04533                     Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04534                 }
04535                 finally
04536                 {
04537                     data_ptr.Free();
04538                 }
04539                 #if DEBUG
04540                 }
04541                 #endif
04542             }
04543 
04544             
04583             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")]
04584             public static 
04585             void CompressedTexImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data)
04586                 where T6 : struct
04587             {
04588                 #if DEBUG
04589                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04590                 {
04591                 #endif
04592                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04593                 try
04594                 {
04595                     Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04596                     data = (T6)data_ptr.Target;
04597                 }
04598                 finally
04599                 {
04600                     data_ptr.Free();
04601                 }
04602                 #if DEBUG
04603                 }
04604                 #endif
04605             }
04606 
04607             
04651             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
04652             public static 
04653             void CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
04654             {
04655                 #if DEBUG
04656                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04657                 {
04658                 #endif
04659                 Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
04660                 #if DEBUG
04661                 }
04662                 #endif
04663             }
04664 
04665             
04709             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
04710             public static 
04711             void CompressedTexImage2D<T7>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
04712                 where T7 : struct
04713             {
04714                 #if DEBUG
04715                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04716                 {
04717                 #endif
04718                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04719                 try
04720                 {
04721                     Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04722                 }
04723                 finally
04724                 {
04725                     data_ptr.Free();
04726                 }
04727                 #if DEBUG
04728                 }
04729                 #endif
04730             }
04731 
04732             
04776             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
04777             public static 
04778             void CompressedTexImage2D<T7>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
04779                 where T7 : struct
04780             {
04781                 #if DEBUG
04782                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04783                 {
04784                 #endif
04785                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04786                 try
04787                 {
04788                     Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04789                 }
04790                 finally
04791                 {
04792                     data_ptr.Free();
04793                 }
04794                 #if DEBUG
04795                 }
04796                 #endif
04797             }
04798 
04799             
04843             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
04844             public static 
04845             void CompressedTexImage2D<T7>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
04846                 where T7 : struct
04847             {
04848                 #if DEBUG
04849                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04850                 {
04851                 #endif
04852                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04853                 try
04854                 {
04855                     Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04856                 }
04857                 finally
04858                 {
04859                     data_ptr.Free();
04860                 }
04861                 #if DEBUG
04862                 }
04863                 #endif
04864             }
04865 
04866             
04910             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")]
04911             public static 
04912             void CompressedTexImage2D<T7>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
04913                 where T7 : struct
04914             {
04915                 #if DEBUG
04916                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04917                 {
04918                 #endif
04919                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
04920                 try
04921                 {
04922                     Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
04923                     data = (T7)data_ptr.Target;
04924                 }
04925                 finally
04926                 {
04927                     data_ptr.Free();
04928                 }
04929                 #if DEBUG
04930                 }
04931                 #endif
04932             }
04933 
04934             
04983             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
04984             public static 
04985             void CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
04986             {
04987                 #if DEBUG
04988                 using (new ErrorHelper(GraphicsContext.CurrentContext))
04989                 {
04990                 #endif
04991                 Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
04992                 #if DEBUG
04993                 }
04994                 #endif
04995             }
04996 
04997             
05046             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
05047             public static 
05048             void CompressedTexImage3D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
05049                 where T8 : struct
05050             {
05051                 #if DEBUG
05052                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05053                 {
05054                 #endif
05055                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05056                 try
05057                 {
05058                     Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05059                 }
05060                 finally
05061                 {
05062                     data_ptr.Free();
05063                 }
05064                 #if DEBUG
05065                 }
05066                 #endif
05067             }
05068 
05069             
05118             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
05119             public static 
05120             void CompressedTexImage3D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
05121                 where T8 : struct
05122             {
05123                 #if DEBUG
05124                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05125                 {
05126                 #endif
05127                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05128                 try
05129                 {
05130                     Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05131                 }
05132                 finally
05133                 {
05134                     data_ptr.Free();
05135                 }
05136                 #if DEBUG
05137                 }
05138                 #endif
05139             }
05140 
05141             
05190             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
05191             public static 
05192             void CompressedTexImage3D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
05193                 where T8 : struct
05194             {
05195                 #if DEBUG
05196                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05197                 {
05198                 #endif
05199                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05200                 try
05201                 {
05202                     Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05203                 }
05204                 finally
05205                 {
05206                     data_ptr.Free();
05207                 }
05208                 #if DEBUG
05209                 }
05210                 #endif
05211             }
05212 
05213             
05262             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")]
05263             public static 
05264             void CompressedTexImage3D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
05265                 where T8 : struct
05266             {
05267                 #if DEBUG
05268                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05269                 {
05270                 #endif
05271                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05272                 try
05273                 {
05274                     Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05275                     data = (T8)data_ptr.Target;
05276                 }
05277                 finally
05278                 {
05279                     data_ptr.Free();
05280                 }
05281                 #if DEBUG
05282                 }
05283                 #endif
05284             }
05285 
05286             
05325             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
05326             public static 
05327             void CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data)
05328             {
05329                 #if DEBUG
05330                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05331                 {
05332                 #endif
05333                 Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
05334                 #if DEBUG
05335                 }
05336                 #endif
05337             }
05338 
05339             
05378             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
05379             public static 
05380             void CompressedTexSubImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[] data)
05381                 where T6 : struct
05382             {
05383                 #if DEBUG
05384                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05385                 {
05386                 #endif
05387                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05388                 try
05389                 {
05390                     Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05391                 }
05392                 finally
05393                 {
05394                     data_ptr.Free();
05395                 }
05396                 #if DEBUG
05397                 }
05398                 #endif
05399             }
05400 
05401             
05440             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
05441             public static 
05442             void CompressedTexSubImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,] data)
05443                 where T6 : struct
05444             {
05445                 #if DEBUG
05446                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05447                 {
05448                 #endif
05449                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05450                 try
05451                 {
05452                     Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05453                 }
05454                 finally
05455                 {
05456                     data_ptr.Free();
05457                 }
05458                 #if DEBUG
05459                 }
05460                 #endif
05461             }
05462 
05463             
05502             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
05503             public static 
05504             void CompressedTexSubImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T6[,,] data)
05505                 where T6 : struct
05506             {
05507                 #if DEBUG
05508                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05509                 {
05510                 #endif
05511                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05512                 try
05513                 {
05514                     Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05515                 }
05516                 finally
05517                 {
05518                     data_ptr.Free();
05519                 }
05520                 #if DEBUG
05521                 }
05522                 #endif
05523             }
05524 
05525             
05564             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")]
05565             public static 
05566             void CompressedTexSubImage1D<T6>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T6 data)
05567                 where T6 : struct
05568             {
05569                 #if DEBUG
05570                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05571                 {
05572                 #endif
05573                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05574                 try
05575                 {
05576                     Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05577                     data = (T6)data_ptr.Target;
05578                 }
05579                 finally
05580                 {
05581                     data_ptr.Free();
05582                 }
05583                 #if DEBUG
05584                 }
05585                 #endif
05586             }
05587 
05588             
05637             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
05638             public static 
05639             void CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data)
05640             {
05641                 #if DEBUG
05642                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05643                 {
05644                 #endif
05645                 Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
05646                 #if DEBUG
05647                 }
05648                 #endif
05649             }
05650 
05651             
05700             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
05701             public static 
05702             void CompressedTexSubImage2D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
05703                 where T8 : struct
05704             {
05705                 #if DEBUG
05706                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05707                 {
05708                 #endif
05709                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05710                 try
05711                 {
05712                     Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05713                 }
05714                 finally
05715                 {
05716                     data_ptr.Free();
05717                 }
05718                 #if DEBUG
05719                 }
05720                 #endif
05721             }
05722 
05723             
05772             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
05773             public static 
05774             void CompressedTexSubImage2D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
05775                 where T8 : struct
05776             {
05777                 #if DEBUG
05778                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05779                 {
05780                 #endif
05781                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05782                 try
05783                 {
05784                     Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05785                 }
05786                 finally
05787                 {
05788                     data_ptr.Free();
05789                 }
05790                 #if DEBUG
05791                 }
05792                 #endif
05793             }
05794 
05795             
05844             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
05845             public static 
05846             void CompressedTexSubImage2D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
05847                 where T8 : struct
05848             {
05849                 #if DEBUG
05850                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05851                 {
05852                 #endif
05853                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05854                 try
05855                 {
05856                     Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05857                 }
05858                 finally
05859                 {
05860                     data_ptr.Free();
05861                 }
05862                 #if DEBUG
05863                 }
05864                 #endif
05865             }
05866 
05867             
05916             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")]
05917             public static 
05918             void CompressedTexSubImage2D<T8>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
05919                 where T8 : struct
05920             {
05921                 #if DEBUG
05922                 using (new ErrorHelper(GraphicsContext.CurrentContext))
05923                 {
05924                 #endif
05925                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
05926                 try
05927                 {
05928                     Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
05929                     data = (T8)data_ptr.Target;
05930                 }
05931                 finally
05932                 {
05933                     data_ptr.Free();
05934                 }
05935                 #if DEBUG
05936                 }
05937                 #endif
05938             }
05939 
05940             
05994             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
05995             public static 
05996             void CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data)
05997             {
05998                 #if DEBUG
05999                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06000                 {
06001                 #endif
06002                 Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
06003                 #if DEBUG
06004                 }
06005                 #endif
06006             }
06007 
06008             
06062             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
06063             public static 
06064             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data)
06065                 where T10 : struct
06066             {
06067                 #if DEBUG
06068                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06069                 {
06070                 #endif
06071                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
06072                 try
06073                 {
06074                     Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
06075                 }
06076                 finally
06077                 {
06078                     data_ptr.Free();
06079                 }
06080                 #if DEBUG
06081                 }
06082                 #endif
06083             }
06084 
06085             
06139             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
06140             public static 
06141             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data)
06142                 where T10 : struct
06143             {
06144                 #if DEBUG
06145                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06146                 {
06147                 #endif
06148                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
06149                 try
06150                 {
06151                     Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
06152                 }
06153                 finally
06154                 {
06155                     data_ptr.Free();
06156                 }
06157                 #if DEBUG
06158                 }
06159                 #endif
06160             }
06161 
06162             
06216             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
06217             public static 
06218             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data)
06219                 where T10 : struct
06220             {
06221                 #if DEBUG
06222                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06223                 {
06224                 #endif
06225                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
06226                 try
06227                 {
06228                     Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
06229                 }
06230                 finally
06231                 {
06232                     data_ptr.Free();
06233                 }
06234                 #if DEBUG
06235                 }
06236                 #endif
06237             }
06238 
06239             
06293             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")]
06294             public static 
06295             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data)
06296                 where T10 : struct
06297             {
06298                 #if DEBUG
06299                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06300                 {
06301                 #endif
06302                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
06303                 try
06304                 {
06305                     Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
06306                     data = (T10)data_ptr.Target;
06307                 }
06308                 finally
06309                 {
06310                     data_ptr.Free();
06311                 }
06312                 #if DEBUG
06313                 }
06314                 #endif
06315             }
06316 
06317             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateProgramObjectARB")]
06318             public static 
06319             Int32 CreateProgramObject()
06320             {
06321                 #if DEBUG
06322                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06323                 {
06324                 #endif
06325                 return Delegates.glCreateProgramObjectARB();
06326                 #if DEBUG
06327                 }
06328                 #endif
06329             }
06330 
06331             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCreateShaderObjectARB")]
06332             public static 
06333             Int32 CreateShaderObject(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType)
06334             {
06335                 #if DEBUG
06336                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06337                 {
06338                 #endif
06339                 return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType);
06340                 #if DEBUG
06341                 }
06342                 #endif
06343             }
06344 
06345             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixARB")]
06346             public static 
06347             void CurrentPaletteMatrix(Int32 index)
06348             {
06349                 #if DEBUG
06350                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06351                 {
06352                 #endif
06353                 Delegates.glCurrentPaletteMatrixARB((Int32)index);
06354                 #if DEBUG
06355                 }
06356                 #endif
06357             }
06358 
06359             
06373             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06374             public static 
06375             void DeleteBuffers(Int32 n, Int32[] buffers)
06376             {
06377                 #if DEBUG
06378                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06379                 {
06380                 #endif
06381                 unsafe
06382                 {
06383                     fixed (Int32* buffers_ptr = buffers)
06384                     {
06385                         Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
06386                     }
06387                 }
06388                 #if DEBUG
06389                 }
06390                 #endif
06391             }
06392 
06393             
06407             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06408             public static 
06409             void DeleteBuffers(Int32 n, ref Int32 buffers)
06410             {
06411                 #if DEBUG
06412                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06413                 {
06414                 #endif
06415                 unsafe
06416                 {
06417                     fixed (Int32* buffers_ptr = &buffers)
06418                     {
06419                         Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
06420                     }
06421                 }
06422                 #if DEBUG
06423                 }
06424                 #endif
06425             }
06426 
06427             
06441             [System.CLSCompliant(false)]
06442             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06443             public static 
06444             unsafe void DeleteBuffers(Int32 n, Int32* buffers)
06445             {
06446                 #if DEBUG
06447                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06448                 {
06449                 #endif
06450                 Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
06451                 #if DEBUG
06452                 }
06453                 #endif
06454             }
06455 
06456             
06470             [System.CLSCompliant(false)]
06471             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06472             public static 
06473             void DeleteBuffers(Int32 n, UInt32[] buffers)
06474             {
06475                 #if DEBUG
06476                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06477                 {
06478                 #endif
06479                 unsafe
06480                 {
06481                     fixed (UInt32* buffers_ptr = buffers)
06482                     {
06483                         Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
06484                     }
06485                 }
06486                 #if DEBUG
06487                 }
06488                 #endif
06489             }
06490 
06491             
06505             [System.CLSCompliant(false)]
06506             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06507             public static 
06508             void DeleteBuffers(Int32 n, ref UInt32 buffers)
06509             {
06510                 #if DEBUG
06511                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06512                 {
06513                 #endif
06514                 unsafe
06515                 {
06516                     fixed (UInt32* buffers_ptr = &buffers)
06517                     {
06518                         Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers_ptr);
06519                     }
06520                 }
06521                 #if DEBUG
06522                 }
06523                 #endif
06524             }
06525 
06526             
06540             [System.CLSCompliant(false)]
06541             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")]
06542             public static 
06543             unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
06544             {
06545                 #if DEBUG
06546                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06547                 {
06548                 #endif
06549                 Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers);
06550                 #if DEBUG
06551                 }
06552                 #endif
06553             }
06554 
06555             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")]
06556             public static 
06557             void DeleteObject(Int32 obj)
06558             {
06559                 #if DEBUG
06560                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06561                 {
06562                 #endif
06563                 Delegates.glDeleteObjectARB((UInt32)obj);
06564                 #if DEBUG
06565                 }
06566                 #endif
06567             }
06568 
06569             [System.CLSCompliant(false)]
06570             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDeleteObjectARB")]
06571             public static 
06572             void DeleteObject(UInt32 obj)
06573             {
06574                 #if DEBUG
06575                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06576                 {
06577                 #endif
06578                 Delegates.glDeleteObjectARB((UInt32)obj);
06579                 #if DEBUG
06580                 }
06581                 #endif
06582             }
06583 
06584             
06593             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06594             public static 
06595             void DeleteProgram(Int32 n, Int32[] programs)
06596             {
06597                 #if DEBUG
06598                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06599                 {
06600                 #endif
06601                 unsafe
06602                 {
06603                     fixed (Int32* programs_ptr = programs)
06604                     {
06605                         Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
06606                     }
06607                 }
06608                 #if DEBUG
06609                 }
06610                 #endif
06611             }
06612 
06613             
06622             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06623             public static 
06624             void DeleteProgram(Int32 n, ref Int32 programs)
06625             {
06626                 #if DEBUG
06627                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06628                 {
06629                 #endif
06630                 unsafe
06631                 {
06632                     fixed (Int32* programs_ptr = &programs)
06633                     {
06634                         Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
06635                     }
06636                 }
06637                 #if DEBUG
06638                 }
06639                 #endif
06640             }
06641 
06642             
06651             [System.CLSCompliant(false)]
06652             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06653             public static 
06654             unsafe void DeleteProgram(Int32 n, Int32* programs)
06655             {
06656                 #if DEBUG
06657                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06658                 {
06659                 #endif
06660                 Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
06661                 #if DEBUG
06662                 }
06663                 #endif
06664             }
06665 
06666             
06675             [System.CLSCompliant(false)]
06676             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06677             public static 
06678             void DeleteProgram(Int32 n, UInt32[] programs)
06679             {
06680                 #if DEBUG
06681                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06682                 {
06683                 #endif
06684                 unsafe
06685                 {
06686                     fixed (UInt32* programs_ptr = programs)
06687                     {
06688                         Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
06689                     }
06690                 }
06691                 #if DEBUG
06692                 }
06693                 #endif
06694             }
06695 
06696             
06705             [System.CLSCompliant(false)]
06706             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06707             public static 
06708             void DeleteProgram(Int32 n, ref UInt32 programs)
06709             {
06710                 #if DEBUG
06711                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06712                 {
06713                 #endif
06714                 unsafe
06715                 {
06716                     fixed (UInt32* programs_ptr = &programs)
06717                     {
06718                         Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs_ptr);
06719                     }
06720                 }
06721                 #if DEBUG
06722                 }
06723                 #endif
06724             }
06725 
06726             
06735             [System.CLSCompliant(false)]
06736             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")]
06737             public static 
06738             unsafe void DeleteProgram(Int32 n, UInt32* programs)
06739             {
06740                 #if DEBUG
06741                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06742                 {
06743                 #endif
06744                 Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs);
06745                 #if DEBUG
06746                 }
06747                 #endif
06748             }
06749 
06750             
06764             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06765             public static 
06766             void DeleteQueries(Int32 n, Int32[] ids)
06767             {
06768                 #if DEBUG
06769                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06770                 {
06771                 #endif
06772                 unsafe
06773                 {
06774                     fixed (Int32* ids_ptr = ids)
06775                     {
06776                         Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
06777                     }
06778                 }
06779                 #if DEBUG
06780                 }
06781                 #endif
06782             }
06783 
06784             
06798             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06799             public static 
06800             void DeleteQueries(Int32 n, ref Int32 ids)
06801             {
06802                 #if DEBUG
06803                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06804                 {
06805                 #endif
06806                 unsafe
06807                 {
06808                     fixed (Int32* ids_ptr = &ids)
06809                     {
06810                         Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
06811                     }
06812                 }
06813                 #if DEBUG
06814                 }
06815                 #endif
06816             }
06817 
06818             
06832             [System.CLSCompliant(false)]
06833             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06834             public static 
06835             unsafe void DeleteQueries(Int32 n, Int32* ids)
06836             {
06837                 #if DEBUG
06838                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06839                 {
06840                 #endif
06841                 Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
06842                 #if DEBUG
06843                 }
06844                 #endif
06845             }
06846 
06847             
06861             [System.CLSCompliant(false)]
06862             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06863             public static 
06864             void DeleteQueries(Int32 n, UInt32[] ids)
06865             {
06866                 #if DEBUG
06867                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06868                 {
06869                 #endif
06870                 unsafe
06871                 {
06872                     fixed (UInt32* ids_ptr = ids)
06873                     {
06874                         Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
06875                     }
06876                 }
06877                 #if DEBUG
06878                 }
06879                 #endif
06880             }
06881 
06882             
06896             [System.CLSCompliant(false)]
06897             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06898             public static 
06899             void DeleteQueries(Int32 n, ref UInt32 ids)
06900             {
06901                 #if DEBUG
06902                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06903                 {
06904                 #endif
06905                 unsafe
06906                 {
06907                     fixed (UInt32* ids_ptr = &ids)
06908                     {
06909                         Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids_ptr);
06910                     }
06911                 }
06912                 #if DEBUG
06913                 }
06914                 #endif
06915             }
06916 
06917             
06931             [System.CLSCompliant(false)]
06932             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")]
06933             public static 
06934             unsafe void DeleteQueries(Int32 n, UInt32* ids)
06935             {
06936                 #if DEBUG
06937                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06938                 {
06939                 #endif
06940                 Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids);
06941                 #if DEBUG
06942                 }
06943                 #endif
06944             }
06945 
06946             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")]
06947             public static 
06948             void DetachObject(Int32 containerObj, Int32 attachedObj)
06949             {
06950                 #if DEBUG
06951                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06952                 {
06953                 #endif
06954                 Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
06955                 #if DEBUG
06956                 }
06957                 #endif
06958             }
06959 
06960             [System.CLSCompliant(false)]
06961             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glDetachObjectARB")]
06962             public static 
06963             void DetachObject(UInt32 containerObj, UInt32 attachedObj)
06964             {
06965                 #if DEBUG
06966                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06967                 {
06968                 #endif
06969                 Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj);
06970                 #if DEBUG
06971                 }
06972                 #endif
06973             }
06974 
06975             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")]
06976             public static 
06977             void DisableVertexAttribArray(Int32 index)
06978             {
06979                 #if DEBUG
06980                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06981                 {
06982                 #endif
06983                 Delegates.glDisableVertexAttribArrayARB((UInt32)index);
06984                 #if DEBUG
06985                 }
06986                 #endif
06987             }
06988 
06989             [System.CLSCompliant(false)]
06990             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDisableVertexAttribArrayARB")]
06991             public static 
06992             void DisableVertexAttribArray(UInt32 index)
06993             {
06994                 #if DEBUG
06995                 using (new ErrorHelper(GraphicsContext.CurrentContext))
06996                 {
06997                 #endif
06998                 Delegates.glDisableVertexAttribArrayARB((UInt32)index);
06999                 #if DEBUG
07000                 }
07001                 #endif
07002             }
07003 
07004             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawArraysInstancedARB")]
07005             public static 
07006             void DrawArraysInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count, Int32 primcount)
07007             {
07008                 #if DEBUG
07009                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07010                 {
07011                 #endif
07012                 Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count, (Int32)primcount);
07013                 #if DEBUG
07014                 }
07015                 #endif
07016             }
07017 
07018             
07032             [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
07033             public static 
07034             void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers[] bufs)
07035             {
07036                 #if DEBUG
07037                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07038                 {
07039                 #endif
07040                 unsafe
07041                 {
07042                     fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = bufs)
07043                     {
07044                         Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr);
07045                     }
07046                 }
07047                 #if DEBUG
07048                 }
07049                 #endif
07050             }
07051 
07052             
07066             [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
07067             public static 
07068             void DrawBuffers(Int32 n, ref OpenTK.Graphics.OpenGL.ArbDrawBuffers bufs)
07069             {
07070                 #if DEBUG
07071                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07072                 {
07073                 #endif
07074                 unsafe
07075                 {
07076                     fixed (OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs_ptr = &bufs)
07077                     {
07078                         Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs_ptr);
07079                     }
07080                 }
07081                 #if DEBUG
07082                 }
07083                 #endif
07084             }
07085 
07086             
07100             [System.CLSCompliant(false)]
07101             [AutoGenerated(Category = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")]
07102             public static 
07103             unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs)
07104             {
07105                 #if DEBUG
07106                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07107                 {
07108                 #endif
07109                 Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs);
07110                 #if DEBUG
07111                 }
07112                 #endif
07113             }
07114 
07115             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
07116             public static 
07117             void DrawElementsInstanced(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount)
07118             {
07119                 #if DEBUG
07120                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07121                 {
07122                 #endif
07123                 Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
07124                 #if DEBUG
07125                 }
07126                 #endif
07127             }
07128 
07129             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
07130             public static 
07131             void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
07132                 where T3 : struct
07133             {
07134                 #if DEBUG
07135                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07136                 {
07137                 #endif
07138                 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
07139                 try
07140                 {
07141                     Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
07142                 }
07143                 finally
07144                 {
07145                     indices_ptr.Free();
07146                 }
07147                 #if DEBUG
07148                 }
07149                 #endif
07150             }
07151 
07152             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
07153             public static 
07154             void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
07155                 where T3 : struct
07156             {
07157                 #if DEBUG
07158                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07159                 {
07160                 #endif
07161                 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
07162                 try
07163                 {
07164                     Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
07165                 }
07166                 finally
07167                 {
07168                     indices_ptr.Free();
07169                 }
07170                 #if DEBUG
07171                 }
07172                 #endif
07173             }
07174 
07175             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
07176             public static 
07177             void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
07178                 where T3 : struct
07179             {
07180                 #if DEBUG
07181                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07182                 {
07183                 #endif
07184                 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
07185                 try
07186                 {
07187                     Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
07188                 }
07189                 finally
07190                 {
07191                     indices_ptr.Free();
07192                 }
07193                 #if DEBUG
07194                 }
07195                 #endif
07196             }
07197 
07198             [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")]
07199             public static 
07200             void DrawElementsInstanced<T3>(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
07201                 where T3 : struct
07202             {
07203                 #if DEBUG
07204                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07205                 {
07206                 #endif
07207                 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
07208                 try
07209                 {
07210                     Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
07211                     indices = (T3)indices_ptr.Target;
07212                 }
07213                 finally
07214                 {
07215                     indices_ptr.Free();
07216                 }
07217                 #if DEBUG
07218                 }
07219                 #endif
07220             }
07221 
07222             
07231             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")]
07232             public static 
07233             void EnableVertexAttribArray(Int32 index)
07234             {
07235                 #if DEBUG
07236                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07237                 {
07238                 #endif
07239                 Delegates.glEnableVertexAttribArrayARB((UInt32)index);
07240                 #if DEBUG
07241                 }
07242                 #endif
07243             }
07244 
07245             
07254             [System.CLSCompliant(false)]
07255             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")]
07256             public static 
07257             void EnableVertexAttribArray(UInt32 index)
07258             {
07259                 #if DEBUG
07260                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07261                 {
07262                 #endif
07263                 Delegates.glEnableVertexAttribArrayARB((UInt32)index);
07264                 #if DEBUG
07265                 }
07266                 #endif
07267             }
07268 
07269             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glEndQueryARB")]
07270             public static 
07271             void EndQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target)
07272             {
07273                 #if DEBUG
07274                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07275                 {
07276                 #endif
07277                 Delegates.glEndQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target);
07278                 #if DEBUG
07279                 }
07280                 #endif
07281             }
07282 
07283             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")]
07284             public static 
07285             void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level)
07286             {
07287                 #if DEBUG
07288                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07289                 {
07290                 #endif
07291                 Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
07292                 #if DEBUG
07293                 }
07294                 #endif
07295             }
07296 
07297             [System.CLSCompliant(false)]
07298             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureARB")]
07299             public static 
07300             void FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level)
07301             {
07302                 #if DEBUG
07303                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07304                 {
07305                 #endif
07306                 Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level);
07307                 #if DEBUG
07308                 }
07309                 #endif
07310             }
07311 
07312             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")]
07313             public static 
07314             void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face)
07315             {
07316                 #if DEBUG
07317                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07318                 {
07319                 #endif
07320                 Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face);
07321                 #if DEBUG
07322                 }
07323                 #endif
07324             }
07325 
07326             [System.CLSCompliant(false)]
07327             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureFaceARB")]
07328             public static 
07329             void FramebufferTextureFace(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face)
07330             {
07331                 #if DEBUG
07332                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07333                 {
07334                 #endif
07335                 Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face);
07336                 #if DEBUG
07337                 }
07338                 #endif
07339             }
07340 
07341             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")]
07342             public static 
07343             void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer)
07344             {
07345                 #if DEBUG
07346                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07347                 {
07348                 #endif
07349                 Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
07350                 #if DEBUG
07351                 }
07352                 #endif
07353             }
07354 
07355             [System.CLSCompliant(false)]
07356             [AutoGenerated(Category = "ArbGeometryShader4", Version = "3.0", EntryPoint = "glFramebufferTextureLayerARB")]
07357             public static 
07358             void FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer)
07359             {
07360                 #if DEBUG
07361                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07362                 {
07363                 #endif
07364                 Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
07365                 #if DEBUG
07366                 }
07367                 #endif
07368             }
07369 
07370             
07384             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07385             public static 
07386             void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers)
07387             {
07388                 #if DEBUG
07389                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07390                 {
07391                 #endif
07392                 unsafe
07393                 {
07394                     fixed (Int32* buffers_ptr = buffers)
07395                     {
07396                         Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
07397                     }
07398                 }
07399                 #if DEBUG
07400                 }
07401                 #endif
07402             }
07403 
07404             
07418             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07419             public static 
07420             void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers)
07421             {
07422                 #if DEBUG
07423                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07424                 {
07425                 #endif
07426                 unsafe
07427                 {
07428                     fixed (Int32* buffers_ptr = &buffers)
07429                     {
07430                         Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
07431                         buffers = *buffers_ptr;
07432                     }
07433                 }
07434                 #if DEBUG
07435                 }
07436                 #endif
07437             }
07438 
07439             
07453             [System.CLSCompliant(false)]
07454             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07455             public static 
07456             unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers)
07457             {
07458                 #if DEBUG
07459                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07460                 {
07461                 #endif
07462                 Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
07463                 #if DEBUG
07464                 }
07465                 #endif
07466             }
07467 
07468             
07482             [System.CLSCompliant(false)]
07483             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07484             public static 
07485             void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers)
07486             {
07487                 #if DEBUG
07488                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07489                 {
07490                 #endif
07491                 unsafe
07492                 {
07493                     fixed (UInt32* buffers_ptr = buffers)
07494                     {
07495                         Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
07496                     }
07497                 }
07498                 #if DEBUG
07499                 }
07500                 #endif
07501             }
07502 
07503             
07517             [System.CLSCompliant(false)]
07518             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07519             public static 
07520             void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers)
07521             {
07522                 #if DEBUG
07523                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07524                 {
07525                 #endif
07526                 unsafe
07527                 {
07528                     fixed (UInt32* buffers_ptr = &buffers)
07529                     {
07530                         Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers_ptr);
07531                         buffers = *buffers_ptr;
07532                     }
07533                 }
07534                 #if DEBUG
07535                 }
07536                 #endif
07537             }
07538 
07539             
07553             [System.CLSCompliant(false)]
07554             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")]
07555             public static 
07556             unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers)
07557             {
07558                 #if DEBUG
07559                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07560                 {
07561                 #endif
07562                 Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers);
07563                 #if DEBUG
07564                 }
07565                 #endif
07566             }
07567 
07568             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07569             public static 
07570             void GenProgram(Int32 n, [OutAttribute] Int32[] programs)
07571             {
07572                 #if DEBUG
07573                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07574                 {
07575                 #endif
07576                 unsafe
07577                 {
07578                     fixed (Int32* programs_ptr = programs)
07579                     {
07580                         Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
07581                     }
07582                 }
07583                 #if DEBUG
07584                 }
07585                 #endif
07586             }
07587 
07588             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07589             public static 
07590             void GenProgram(Int32 n, [OutAttribute] out Int32 programs)
07591             {
07592                 #if DEBUG
07593                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07594                 {
07595                 #endif
07596                 unsafe
07597                 {
07598                     fixed (Int32* programs_ptr = &programs)
07599                     {
07600                         Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
07601                         programs = *programs_ptr;
07602                     }
07603                 }
07604                 #if DEBUG
07605                 }
07606                 #endif
07607             }
07608 
07609             [System.CLSCompliant(false)]
07610             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07611             public static 
07612             unsafe void GenProgram(Int32 n, [OutAttribute] Int32* programs)
07613             {
07614                 #if DEBUG
07615                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07616                 {
07617                 #endif
07618                 Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
07619                 #if DEBUG
07620                 }
07621                 #endif
07622             }
07623 
07624             [System.CLSCompliant(false)]
07625             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07626             public static 
07627             void GenProgram(Int32 n, [OutAttribute] UInt32[] programs)
07628             {
07629                 #if DEBUG
07630                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07631                 {
07632                 #endif
07633                 unsafe
07634                 {
07635                     fixed (UInt32* programs_ptr = programs)
07636                     {
07637                         Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
07638                     }
07639                 }
07640                 #if DEBUG
07641                 }
07642                 #endif
07643             }
07644 
07645             [System.CLSCompliant(false)]
07646             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07647             public static 
07648             void GenProgram(Int32 n, [OutAttribute] out UInt32 programs)
07649             {
07650                 #if DEBUG
07651                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07652                 {
07653                 #endif
07654                 unsafe
07655                 {
07656                     fixed (UInt32* programs_ptr = &programs)
07657                     {
07658                         Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs_ptr);
07659                         programs = *programs_ptr;
07660                     }
07661                 }
07662                 #if DEBUG
07663                 }
07664                 #endif
07665             }
07666 
07667             [System.CLSCompliant(false)]
07668             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGenProgramsARB")]
07669             public static 
07670             unsafe void GenProgram(Int32 n, [OutAttribute] UInt32* programs)
07671             {
07672                 #if DEBUG
07673                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07674                 {
07675                 #endif
07676                 Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs);
07677                 #if DEBUG
07678                 }
07679                 #endif
07680             }
07681 
07682             
07696             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07697             public static 
07698             void GenQueries(Int32 n, [OutAttribute] Int32[] ids)
07699             {
07700                 #if DEBUG
07701                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07702                 {
07703                 #endif
07704                 unsafe
07705                 {
07706                     fixed (Int32* ids_ptr = ids)
07707                     {
07708                         Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
07709                     }
07710                 }
07711                 #if DEBUG
07712                 }
07713                 #endif
07714             }
07715 
07716             
07730             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07731             public static 
07732             void GenQueries(Int32 n, [OutAttribute] out Int32 ids)
07733             {
07734                 #if DEBUG
07735                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07736                 {
07737                 #endif
07738                 unsafe
07739                 {
07740                     fixed (Int32* ids_ptr = &ids)
07741                     {
07742                         Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
07743                         ids = *ids_ptr;
07744                     }
07745                 }
07746                 #if DEBUG
07747                 }
07748                 #endif
07749             }
07750 
07751             
07765             [System.CLSCompliant(false)]
07766             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07767             public static 
07768             unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids)
07769             {
07770                 #if DEBUG
07771                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07772                 {
07773                 #endif
07774                 Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
07775                 #if DEBUG
07776                 }
07777                 #endif
07778             }
07779 
07780             
07794             [System.CLSCompliant(false)]
07795             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07796             public static 
07797             void GenQueries(Int32 n, [OutAttribute] UInt32[] ids)
07798             {
07799                 #if DEBUG
07800                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07801                 {
07802                 #endif
07803                 unsafe
07804                 {
07805                     fixed (UInt32* ids_ptr = ids)
07806                     {
07807                         Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
07808                     }
07809                 }
07810                 #if DEBUG
07811                 }
07812                 #endif
07813             }
07814 
07815             
07829             [System.CLSCompliant(false)]
07830             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07831             public static 
07832             void GenQueries(Int32 n, [OutAttribute] out UInt32 ids)
07833             {
07834                 #if DEBUG
07835                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07836                 {
07837                 #endif
07838                 unsafe
07839                 {
07840                     fixed (UInt32* ids_ptr = &ids)
07841                     {
07842                         Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids_ptr);
07843                         ids = *ids_ptr;
07844                     }
07845                 }
07846                 #if DEBUG
07847                 }
07848                 #endif
07849             }
07850 
07851             
07865             [System.CLSCompliant(false)]
07866             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")]
07867             public static 
07868             unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids)
07869             {
07870                 #if DEBUG
07871                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07872                 {
07873                 #endif
07874                 Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids);
07875                 #if DEBUG
07876                 }
07877                 #endif
07878             }
07879 
07880             
07919             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
07920             public static 
07921             void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name)
07922             {
07923                 #if DEBUG
07924                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07925                 {
07926                 #endif
07927                 unsafe
07928                 {
07929                     fixed (Int32* length_ptr = &length)
07930                     fixed (Int32* size_ptr = &size)
07931                     fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type)
07932                     {
07933                         Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name);
07934                         length = *length_ptr;
07935                         size = *size_ptr;
07936                         type = *type_ptr;
07937                     }
07938                 }
07939                 #if DEBUG
07940                 }
07941                 #endif
07942             }
07943 
07944             
07983             [System.CLSCompliant(false)]
07984             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
07985             public static 
07986             unsafe void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name)
07987             {
07988                 #if DEBUG
07989                 using (new ErrorHelper(GraphicsContext.CurrentContext))
07990                 {
07991                 #endif
07992                 Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name);
07993                 #if DEBUG
07994                 }
07995                 #endif
07996             }
07997 
07998             
08037             [System.CLSCompliant(false)]
08038             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
08039             public static 
08040             void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbVertexShader type, [OutAttribute] StringBuilder name)
08041             {
08042                 #if DEBUG
08043                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08044                 {
08045                 #endif
08046                 unsafe
08047                 {
08048                     fixed (Int32* length_ptr = &length)
08049                     fixed (Int32* size_ptr = &size)
08050                     fixed (OpenTK.Graphics.OpenGL.ArbVertexShader* type_ptr = &type)
08051                     {
08052                         Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type_ptr, (StringBuilder)name);
08053                         length = *length_ptr;
08054                         size = *size_ptr;
08055                         type = *type_ptr;
08056                     }
08057                 }
08058                 #if DEBUG
08059                 }
08060                 #endif
08061             }
08062 
08063             
08102             [System.CLSCompliant(false)]
08103             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")]
08104             public static 
08105             unsafe void GetActiveAttrib(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name)
08106             {
08107                 #if DEBUG
08108                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08109                 {
08110                 #endif
08111                 Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name);
08112                 #if DEBUG
08113                 }
08114                 #endif
08115             }
08116 
08117             
08156             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
08157             public static 
08158             void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name)
08159             {
08160                 #if DEBUG
08161                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08162                 {
08163                 #endif
08164                 unsafe
08165                 {
08166                     fixed (Int32* length_ptr = &length)
08167                     fixed (Int32* size_ptr = &size)
08168                     fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type)
08169                     {
08170                         Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name);
08171                         length = *length_ptr;
08172                         size = *size_ptr;
08173                         type = *type_ptr;
08174                     }
08175                 }
08176                 #if DEBUG
08177                 }
08178                 #endif
08179             }
08180 
08181             
08220             [System.CLSCompliant(false)]
08221             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
08222             public static 
08223             unsafe void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name)
08224             {
08225                 #if DEBUG
08226                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08227                 {
08228                 #endif
08229                 Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name);
08230                 #if DEBUG
08231                 }
08232                 #endif
08233             }
08234 
08235             
08274             [System.CLSCompliant(false)]
08275             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
08276             public static 
08277             void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.OpenGL.ArbShaderObjects type, [OutAttribute] StringBuilder name)
08278             {
08279                 #if DEBUG
08280                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08281                 {
08282                 #endif
08283                 unsafe
08284                 {
08285                     fixed (Int32* length_ptr = &length)
08286                     fixed (Int32* size_ptr = &size)
08287                     fixed (OpenTK.Graphics.OpenGL.ArbShaderObjects* type_ptr = &type)
08288                     {
08289                         Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type_ptr, (StringBuilder)name);
08290                         length = *length_ptr;
08291                         size = *size_ptr;
08292                         type = *type_ptr;
08293                     }
08294                 }
08295                 #if DEBUG
08296                 }
08297                 #endif
08298             }
08299 
08300             
08339             [System.CLSCompliant(false)]
08340             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")]
08341             public static 
08342             unsafe void GetActiveUniform(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name)
08343             {
08344                 #if DEBUG
08345                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08346                 {
08347                 #endif
08348                 Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name);
08349                 #if DEBUG
08350                 }
08351                 #endif
08352             }
08353 
08354             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08355             public static 
08356             void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 obj)
08357             {
08358                 #if DEBUG
08359                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08360                 {
08361                 #endif
08362                 unsafe
08363                 {
08364                     fixed (Int32* count_ptr = &count)
08365                     fixed (Int32* obj_ptr = &obj)
08366                     {
08367                         Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
08368                         count = *count_ptr;
08369                         obj = *obj_ptr;
08370                     }
08371                 }
08372                 #if DEBUG
08373                 }
08374                 #endif
08375             }
08376 
08377             [System.CLSCompliant(false)]
08378             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08379             public static 
08380             unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32[] obj)
08381             {
08382                 #if DEBUG
08383                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08384                 {
08385                 #endif
08386                 fixed (Int32* obj_ptr = obj)
08387                 {
08388                     Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
08389                 }
08390                 #if DEBUG
08391                 }
08392                 #endif
08393             }
08394 
08395             [System.CLSCompliant(false)]
08396             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08397             public static 
08398             unsafe void GetAttachedObjects(Int32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] Int32* obj)
08399             {
08400                 #if DEBUG
08401                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08402                 {
08403                 #endif
08404                 Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
08405                 #if DEBUG
08406                 }
08407                 #endif
08408             }
08409 
08410             [System.CLSCompliant(false)]
08411             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08412             public static 
08413             void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 obj)
08414             {
08415                 #if DEBUG
08416                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08417                 {
08418                 #endif
08419                 unsafe
08420                 {
08421                     fixed (Int32* count_ptr = &count)
08422                     fixed (UInt32* obj_ptr = &obj)
08423                     {
08424                         Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count_ptr, (UInt32*)obj_ptr);
08425                         count = *count_ptr;
08426                         obj = *obj_ptr;
08427                     }
08428                 }
08429                 #if DEBUG
08430                 }
08431                 #endif
08432             }
08433 
08434             [System.CLSCompliant(false)]
08435             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08436             public static 
08437             unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32[] obj)
08438             {
08439                 #if DEBUG
08440                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08441                 {
08442                 #endif
08443                 fixed (UInt32* obj_ptr = obj)
08444                 {
08445                     Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj_ptr);
08446                 }
08447                 #if DEBUG
08448                 }
08449                 #endif
08450             }
08451 
08452             [System.CLSCompliant(false)]
08453             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetAttachedObjectsARB")]
08454             public static 
08455             unsafe void GetAttachedObjects(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj)
08456             {
08457                 #if DEBUG
08458                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08459                 {
08460                 #endif
08461                 Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj);
08462                 #if DEBUG
08463                 }
08464                 #endif
08465             }
08466 
08467             
08481             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")]
08482             public static 
08483             Int32 GetAttribLocation(Int32 programObj, String name)
08484             {
08485                 #if DEBUG
08486                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08487                 {
08488                 #endif
08489                 return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name);
08490                 #if DEBUG
08491                 }
08492                 #endif
08493             }
08494 
08495             
08509             [System.CLSCompliant(false)]
08510             [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")]
08511             public static 
08512             Int32 GetAttribLocation(UInt32 programObj, String name)
08513             {
08514                 #if DEBUG
08515                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08516                 {
08517                 #endif
08518                 return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name);
08519                 #if DEBUG
08520                 }
08521                 #endif
08522             }
08523 
08524             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
08525             public static 
08526             void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32[] @params)
08527             {
08528                 #if DEBUG
08529                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08530                 {
08531                 #endif
08532                 unsafe
08533                 {
08534                     fixed (Int32* @params_ptr = @params)
08535                     {
08536                         Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr);
08537                     }
08538                 }
08539                 #if DEBUG
08540                 }
08541                 #endif
08542             }
08543 
08544             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
08545             public static 
08546             void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] out Int32 @params)
08547             {
08548                 #if DEBUG
08549                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08550                 {
08551                 #endif
08552                 unsafe
08553                 {
08554                     fixed (Int32* @params_ptr = &@params)
08555                     {
08556                         Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params_ptr);
08557                         @params = *@params_ptr;
08558                     }
08559                 }
08560                 #if DEBUG
08561                 }
08562                 #endif
08563             }
08564 
08565             [System.CLSCompliant(false)]
08566             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferParameterivARB")]
08567             public static 
08568             unsafe void GetBufferParameter(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params)
08569             {
08570                 #if DEBUG
08571                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08572                 {
08573                 #endif
08574                 Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params);
08575                 #if DEBUG
08576                 }
08577                 #endif
08578             }
08579 
08580             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
08581             public static 
08582             void GetBufferPointer(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params)
08583             {
08584                 #if DEBUG
08585                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08586                 {
08587                 #endif
08588                 Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params);
08589                 #if DEBUG
08590                 }
08591                 #endif
08592             }
08593 
08594             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
08595             public static 
08596             void GetBufferPointer<T2>(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[] @params)
08597                 where T2 : struct
08598             {
08599                 #if DEBUG
08600                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08601                 {
08602                 #endif
08603                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
08604                 try
08605                 {
08606                     Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
08607                 }
08608                 finally
08609                 {
08610                     @params_ptr.Free();
08611                 }
08612                 #if DEBUG
08613                 }
08614                 #endif
08615             }
08616 
08617             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
08618             public static 
08619             void GetBufferPointer<T2>(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,] @params)
08620                 where T2 : struct
08621             {
08622                 #if DEBUG
08623                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08624                 {
08625                 #endif
08626                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
08627                 try
08628                 {
08629                     Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
08630                 }
08631                 finally
08632                 {
08633                     @params_ptr.Free();
08634                 }
08635                 #if DEBUG
08636                 }
08637                 #endif
08638             }
08639 
08640             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
08641             public static 
08642             void GetBufferPointer<T2>(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] T2[,,] @params)
08643                 where T2 : struct
08644             {
08645                 #if DEBUG
08646                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08647                 {
08648                 #endif
08649                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
08650                 try
08651                 {
08652                     Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
08653                 }
08654                 finally
08655                 {
08656                     @params_ptr.Free();
08657                 }
08658                 #if DEBUG
08659                 }
08660                 #endif
08661             }
08662 
08663             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")]
08664             public static 
08665             void GetBufferPointer<T2>(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [InAttribute, OutAttribute] ref T2 @params)
08666                 where T2 : struct
08667             {
08668                 #if DEBUG
08669                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08670                 {
08671                 #endif
08672                 GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
08673                 try
08674                 {
08675                     Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
08676                     @params = (T2)@params_ptr.Target;
08677                 }
08678                 finally
08679                 {
08680                     @params_ptr.Free();
08681                 }
08682                 #if DEBUG
08683                 }
08684                 #endif
08685             }
08686 
08687             
08711             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
08712             public static 
08713             void GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data)
08714             {
08715                 #if DEBUG
08716                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08717                 {
08718                 #endif
08719                 Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
08720                 #if DEBUG
08721                 }
08722                 #endif
08723             }
08724 
08725             
08749             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
08750             public static 
08751             void GetBufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
08752                 where T3 : struct
08753             {
08754                 #if DEBUG
08755                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08756                 {
08757                 #endif
08758                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
08759                 try
08760                 {
08761                     Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
08762                 }
08763                 finally
08764                 {
08765                     data_ptr.Free();
08766                 }
08767                 #if DEBUG
08768                 }
08769                 #endif
08770             }
08771 
08772             
08796             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
08797             public static 
08798             void GetBufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
08799                 where T3 : struct
08800             {
08801                 #if DEBUG
08802                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08803                 {
08804                 #endif
08805                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
08806                 try
08807                 {
08808                     Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
08809                 }
08810                 finally
08811                 {
08812                     data_ptr.Free();
08813                 }
08814                 #if DEBUG
08815                 }
08816                 #endif
08817             }
08818 
08819             
08843             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
08844             public static 
08845             void GetBufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
08846                 where T3 : struct
08847             {
08848                 #if DEBUG
08849                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08850                 {
08851                 #endif
08852                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
08853                 try
08854                 {
08855                     Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
08856                 }
08857                 finally
08858                 {
08859                     data_ptr.Free();
08860                 }
08861                 #if DEBUG
08862                 }
08863                 #endif
08864             }
08865 
08866             
08890             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")]
08891             public static 
08892             void GetBufferSubData<T3>(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
08893                 where T3 : struct
08894             {
08895                 #if DEBUG
08896                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08897                 {
08898                 #endif
08899                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
08900                 try
08901                 {
08902                     Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
08903                     data = (T3)data_ptr.Target;
08904                 }
08905                 finally
08906                 {
08907                     data_ptr.Free();
08908                 }
08909                 #if DEBUG
08910                 }
08911                 #endif
08912             }
08913 
08914             
08933             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
08934             public static 
08935             void GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img)
08936             {
08937                 #if DEBUG
08938                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08939                 {
08940                 #endif
08941                 Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img);
08942                 #if DEBUG
08943                 }
08944                 #endif
08945             }
08946 
08947             
08966             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
08967             public static 
08968             void GetCompressedTexImage<T2>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[] img)
08969                 where T2 : struct
08970             {
08971                 #if DEBUG
08972                 using (new ErrorHelper(GraphicsContext.CurrentContext))
08973                 {
08974                 #endif
08975                 GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
08976                 try
08977                 {
08978                     Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
08979                 }
08980                 finally
08981                 {
08982                     img_ptr.Free();
08983                 }
08984                 #if DEBUG
08985                 }
08986                 #endif
08987             }
08988 
08989             
09008             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
09009             public static 
09010             void GetCompressedTexImage<T2>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,] img)
09011                 where T2 : struct
09012             {
09013                 #if DEBUG
09014                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09015                 {
09016                 #endif
09017                 GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
09018                 try
09019                 {
09020                     Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
09021                 }
09022                 finally
09023                 {
09024                     img_ptr.Free();
09025                 }
09026                 #if DEBUG
09027                 }
09028                 #endif
09029             }
09030 
09031             
09050             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
09051             public static 
09052             void GetCompressedTexImage<T2>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] T2[,,] img)
09053                 where T2 : struct
09054             {
09055                 #if DEBUG
09056                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09057                 {
09058                 #endif
09059                 GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
09060                 try
09061                 {
09062                     Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
09063                 }
09064                 finally
09065                 {
09066                     img_ptr.Free();
09067                 }
09068                 #if DEBUG
09069                 }
09070                 #endif
09071             }
09072 
09073             
09092             [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")]
09093             public static 
09094             void GetCompressedTexImage<T2>(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [InAttribute, OutAttribute] ref T2 img)
09095                 where T2 : struct
09096             {
09097                 #if DEBUG
09098                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09099                 {
09100                 #endif
09101                 GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned);
09102                 try
09103                 {
09104                     Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject());
09105                     img = (T2)img_ptr.Target;
09106                 }
09107                 finally
09108                 {
09109                     img_ptr.Free();
09110                 }
09111                 #if DEBUG
09112                 }
09113                 #endif
09114             }
09115 
09116             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetHandleARB")]
09117             public static 
09118             Int32 GetHandle(OpenTK.Graphics.OpenGL.ArbShaderObjects pname)
09119             {
09120                 #if DEBUG
09121                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09122                 {
09123                 #endif
09124                 return Delegates.glGetHandleARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname);
09125                 #if DEBUG
09126                 }
09127                 #endif
09128             }
09129 
09130             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
09131             public static 
09132             void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
09133             {
09134                 #if DEBUG
09135                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09136                 {
09137                 #endif
09138                 unsafe
09139                 {
09140                     fixed (Int32* length_ptr = &length)
09141                     {
09142                         Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog);
09143                         length = *length_ptr;
09144                     }
09145                 }
09146                 #if DEBUG
09147                 }
09148                 #endif
09149             }
09150 
09151             [System.CLSCompliant(false)]
09152             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
09153             public static 
09154             unsafe void GetInfoLog(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
09155             {
09156                 #if DEBUG
09157                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09158                 {
09159                 #endif
09160                 Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog);
09161                 #if DEBUG
09162                 }
09163                 #endif
09164             }
09165 
09166             [System.CLSCompliant(false)]
09167             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
09168             public static 
09169             void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog)
09170             {
09171                 #if DEBUG
09172                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09173                 {
09174                 #endif
09175                 unsafe
09176                 {
09177                     fixed (Int32* length_ptr = &length)
09178                     {
09179                         Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)infoLog);
09180                         length = *length_ptr;
09181                     }
09182                 }
09183                 #if DEBUG
09184                 }
09185                 #endif
09186             }
09187 
09188             [System.CLSCompliant(false)]
09189             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetInfoLogARB")]
09190             public static 
09191             unsafe void GetInfoLog(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog)
09192             {
09193                 #if DEBUG
09194                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09195                 {
09196                 #endif
09197                 Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog);
09198                 #if DEBUG
09199                 }
09200                 #endif
09201             }
09202 
09203             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09204             public static 
09205             void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params)
09206             {
09207                 #if DEBUG
09208                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09209                 {
09210                 #endif
09211                 unsafe
09212                 {
09213                     fixed (Single* @params_ptr = @params)
09214                     {
09215                         Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr);
09216                     }
09217                 }
09218                 #if DEBUG
09219                 }
09220                 #endif
09221             }
09222 
09223             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09224             public static 
09225             void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params)
09226             {
09227                 #if DEBUG
09228                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09229                 {
09230                 #endif
09231                 unsafe
09232                 {
09233                     fixed (Single* @params_ptr = &@params)
09234                     {
09235                         Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr);
09236                         @params = *@params_ptr;
09237                     }
09238                 }
09239                 #if DEBUG
09240                 }
09241                 #endif
09242             }
09243 
09244             [System.CLSCompliant(false)]
09245             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09246             public static 
09247             unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params)
09248             {
09249                 #if DEBUG
09250                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09251                 {
09252                 #endif
09253                 Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params);
09254                 #if DEBUG
09255                 }
09256                 #endif
09257             }
09258 
09259             [System.CLSCompliant(false)]
09260             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09261             public static 
09262             void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single[] @params)
09263             {
09264                 #if DEBUG
09265                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09266                 {
09267                 #endif
09268                 unsafe
09269                 {
09270                     fixed (Single* @params_ptr = @params)
09271                     {
09272                         Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr);
09273                     }
09274                 }
09275                 #if DEBUG
09276                 }
09277                 #endif
09278             }
09279 
09280             [System.CLSCompliant(false)]
09281             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09282             public static 
09283             void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Single @params)
09284             {
09285                 #if DEBUG
09286                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09287                 {
09288                 #endif
09289                 unsafe
09290                 {
09291                     fixed (Single* @params_ptr = &@params)
09292                     {
09293                         Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params_ptr);
09294                         @params = *@params_ptr;
09295                     }
09296                 }
09297                 #if DEBUG
09298                 }
09299                 #endif
09300             }
09301 
09302             [System.CLSCompliant(false)]
09303             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterfvARB")]
09304             public static 
09305             unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params)
09306             {
09307                 #if DEBUG
09308                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09309                 {
09310                 #endif
09311                 Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params);
09312                 #if DEBUG
09313                 }
09314                 #endif
09315             }
09316 
09317             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09318             public static 
09319             void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params)
09320             {
09321                 #if DEBUG
09322                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09323                 {
09324                 #endif
09325                 unsafe
09326                 {
09327                     fixed (Int32* @params_ptr = @params)
09328                     {
09329                         Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr);
09330                     }
09331                 }
09332                 #if DEBUG
09333                 }
09334                 #endif
09335             }
09336 
09337             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09338             public static 
09339             void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params)
09340             {
09341                 #if DEBUG
09342                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09343                 {
09344                 #endif
09345                 unsafe
09346                 {
09347                     fixed (Int32* @params_ptr = &@params)
09348                     {
09349                         Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr);
09350                         @params = *@params_ptr;
09351                     }
09352                 }
09353                 #if DEBUG
09354                 }
09355                 #endif
09356             }
09357 
09358             [System.CLSCompliant(false)]
09359             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09360             public static 
09361             unsafe void GetObjectParameter(Int32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params)
09362             {
09363                 #if DEBUG
09364                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09365                 {
09366                 #endif
09367                 Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params);
09368                 #if DEBUG
09369                 }
09370                 #endif
09371             }
09372 
09373             [System.CLSCompliant(false)]
09374             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09375             public static 
09376             void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32[] @params)
09377             {
09378                 #if DEBUG
09379                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09380                 {
09381                 #endif
09382                 unsafe
09383                 {
09384                     fixed (Int32* @params_ptr = @params)
09385                     {
09386                         Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr);
09387                     }
09388                 }
09389                 #if DEBUG
09390                 }
09391                 #endif
09392             }
09393 
09394             [System.CLSCompliant(false)]
09395             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09396             public static 
09397             void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] out Int32 @params)
09398             {
09399                 #if DEBUG
09400                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09401                 {
09402                 #endif
09403                 unsafe
09404                 {
09405                     fixed (Int32* @params_ptr = &@params)
09406                     {
09407                         Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params_ptr);
09408                         @params = *@params_ptr;
09409                     }
09410                 }
09411                 #if DEBUG
09412                 }
09413                 #endif
09414             }
09415 
09416             [System.CLSCompliant(false)]
09417             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetObjectParameterivARB")]
09418             public static 
09419             unsafe void GetObjectParameter(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params)
09420             {
09421                 #if DEBUG
09422                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09423                 {
09424                 #endif
09425                 Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params);
09426                 #if DEBUG
09427                 }
09428                 #endif
09429             }
09430 
09431             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09432             public static 
09433             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params)
09434             {
09435                 #if DEBUG
09436                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09437                 {
09438                 #endif
09439                 unsafe
09440                 {
09441                     fixed (Double* @params_ptr = @params)
09442                     {
09443                         Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09444                     }
09445                 }
09446                 #if DEBUG
09447                 }
09448                 #endif
09449             }
09450 
09451             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09452             public static 
09453             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params)
09454             {
09455                 #if DEBUG
09456                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09457                 {
09458                 #endif
09459                 unsafe
09460                 {
09461                     fixed (Double* @params_ptr = &@params)
09462                     {
09463                         Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09464                         @params = *@params_ptr;
09465                     }
09466                 }
09467                 #if DEBUG
09468                 }
09469                 #endif
09470             }
09471 
09472             [System.CLSCompliant(false)]
09473             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09474             public static 
09475             unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params)
09476             {
09477                 #if DEBUG
09478                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09479                 {
09480                 #endif
09481                 Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params);
09482                 #if DEBUG
09483                 }
09484                 #endif
09485             }
09486 
09487             [System.CLSCompliant(false)]
09488             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09489             public static 
09490             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params)
09491             {
09492                 #if DEBUG
09493                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09494                 {
09495                 #endif
09496                 unsafe
09497                 {
09498                     fixed (Double* @params_ptr = @params)
09499                     {
09500                         Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09501                     }
09502                 }
09503                 #if DEBUG
09504                 }
09505                 #endif
09506             }
09507 
09508             [System.CLSCompliant(false)]
09509             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09510             public static 
09511             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params)
09512             {
09513                 #if DEBUG
09514                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09515                 {
09516                 #endif
09517                 unsafe
09518                 {
09519                     fixed (Double* @params_ptr = &@params)
09520                     {
09521                         Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09522                         @params = *@params_ptr;
09523                     }
09524                 }
09525                 #if DEBUG
09526                 }
09527                 #endif
09528             }
09529 
09530             [System.CLSCompliant(false)]
09531             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterdvARB")]
09532             public static 
09533             unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params)
09534             {
09535                 #if DEBUG
09536                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09537                 {
09538                 #endif
09539                 Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params);
09540                 #if DEBUG
09541                 }
09542                 #endif
09543             }
09544 
09545             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09546             public static 
09547             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params)
09548             {
09549                 #if DEBUG
09550                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09551                 {
09552                 #endif
09553                 unsafe
09554                 {
09555                     fixed (Single* @params_ptr = @params)
09556                     {
09557                         Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09558                     }
09559                 }
09560                 #if DEBUG
09561                 }
09562                 #endif
09563             }
09564 
09565             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09566             public static 
09567             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params)
09568             {
09569                 #if DEBUG
09570                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09571                 {
09572                 #endif
09573                 unsafe
09574                 {
09575                     fixed (Single* @params_ptr = &@params)
09576                     {
09577                         Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09578                         @params = *@params_ptr;
09579                     }
09580                 }
09581                 #if DEBUG
09582                 }
09583                 #endif
09584             }
09585 
09586             [System.CLSCompliant(false)]
09587             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09588             public static 
09589             unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params)
09590             {
09591                 #if DEBUG
09592                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09593                 {
09594                 #endif
09595                 Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params);
09596                 #if DEBUG
09597                 }
09598                 #endif
09599             }
09600 
09601             [System.CLSCompliant(false)]
09602             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09603             public static 
09604             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params)
09605             {
09606                 #if DEBUG
09607                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09608                 {
09609                 #endif
09610                 unsafe
09611                 {
09612                     fixed (Single* @params_ptr = @params)
09613                     {
09614                         Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09615                     }
09616                 }
09617                 #if DEBUG
09618                 }
09619                 #endif
09620             }
09621 
09622             [System.CLSCompliant(false)]
09623             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09624             public static 
09625             void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params)
09626             {
09627                 #if DEBUG
09628                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09629                 {
09630                 #endif
09631                 unsafe
09632                 {
09633                     fixed (Single* @params_ptr = &@params)
09634                     {
09635                         Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09636                         @params = *@params_ptr;
09637                     }
09638                 }
09639                 #if DEBUG
09640                 }
09641                 #endif
09642             }
09643 
09644             [System.CLSCompliant(false)]
09645             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramEnvParameterfvARB")]
09646             public static 
09647             unsafe void GetProgramEnvParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params)
09648             {
09649                 #if DEBUG
09650                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09651                 {
09652                 #endif
09653                 Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params);
09654                 #if DEBUG
09655                 }
09656                 #endif
09657             }
09658 
09659             
09678             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")]
09679             public static 
09680             void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] out Int32 @params)
09681             {
09682                 #if DEBUG
09683                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09684                 {
09685                 #endif
09686                 unsafe
09687                 {
09688                     fixed (Int32* @params_ptr = &@params)
09689                     {
09690                         Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params_ptr);
09691                         @params = *@params_ptr;
09692                     }
09693                 }
09694                 #if DEBUG
09695                 }
09696                 #endif
09697             }
09698 
09699             
09718             [System.CLSCompliant(false)]
09719             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")]
09720             public static 
09721             unsafe void GetProgram(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params)
09722             {
09723                 #if DEBUG
09724                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09725                 {
09726                 #endif
09727                 Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params);
09728                 #if DEBUG
09729                 }
09730                 #endif
09731             }
09732 
09733             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09734             public static 
09735             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double[] @params)
09736             {
09737                 #if DEBUG
09738                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09739                 {
09740                 #endif
09741                 unsafe
09742                 {
09743                     fixed (Double* @params_ptr = @params)
09744                     {
09745                         Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09746                     }
09747                 }
09748                 #if DEBUG
09749                 }
09750                 #endif
09751             }
09752 
09753             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09754             public static 
09755             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Double @params)
09756             {
09757                 #if DEBUG
09758                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09759                 {
09760                 #endif
09761                 unsafe
09762                 {
09763                     fixed (Double* @params_ptr = &@params)
09764                     {
09765                         Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09766                         @params = *@params_ptr;
09767                     }
09768                 }
09769                 #if DEBUG
09770                 }
09771                 #endif
09772             }
09773 
09774             [System.CLSCompliant(false)]
09775             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09776             public static 
09777             unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Double* @params)
09778             {
09779                 #if DEBUG
09780                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09781                 {
09782                 #endif
09783                 Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params);
09784                 #if DEBUG
09785                 }
09786                 #endif
09787             }
09788 
09789             [System.CLSCompliant(false)]
09790             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09791             public static 
09792             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double[] @params)
09793             {
09794                 #if DEBUG
09795                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09796                 {
09797                 #endif
09798                 unsafe
09799                 {
09800                     fixed (Double* @params_ptr = @params)
09801                     {
09802                         Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09803                     }
09804                 }
09805                 #if DEBUG
09806                 }
09807                 #endif
09808             }
09809 
09810             [System.CLSCompliant(false)]
09811             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09812             public static 
09813             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Double @params)
09814             {
09815                 #if DEBUG
09816                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09817                 {
09818                 #endif
09819                 unsafe
09820                 {
09821                     fixed (Double* @params_ptr = &@params)
09822                     {
09823                         Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params_ptr);
09824                         @params = *@params_ptr;
09825                     }
09826                 }
09827                 #if DEBUG
09828                 }
09829                 #endif
09830             }
09831 
09832             [System.CLSCompliant(false)]
09833             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterdvARB")]
09834             public static 
09835             unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Double* @params)
09836             {
09837                 #if DEBUG
09838                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09839                 {
09840                 #endif
09841                 Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Double*)@params);
09842                 #if DEBUG
09843                 }
09844                 #endif
09845             }
09846 
09847             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09848             public static 
09849             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single[] @params)
09850             {
09851                 #if DEBUG
09852                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09853                 {
09854                 #endif
09855                 unsafe
09856                 {
09857                     fixed (Single* @params_ptr = @params)
09858                     {
09859                         Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09860                     }
09861                 }
09862                 #if DEBUG
09863                 }
09864                 #endif
09865             }
09866 
09867             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09868             public static 
09869             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] out Single @params)
09870             {
09871                 #if DEBUG
09872                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09873                 {
09874                 #endif
09875                 unsafe
09876                 {
09877                     fixed (Single* @params_ptr = &@params)
09878                     {
09879                         Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09880                         @params = *@params_ptr;
09881                     }
09882                 }
09883                 #if DEBUG
09884                 }
09885                 #endif
09886             }
09887 
09888             [System.CLSCompliant(false)]
09889             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09890             public static 
09891             unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, Int32 index, [OutAttribute] Single* @params)
09892             {
09893                 #if DEBUG
09894                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09895                 {
09896                 #endif
09897                 Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params);
09898                 #if DEBUG
09899                 }
09900                 #endif
09901             }
09902 
09903             [System.CLSCompliant(false)]
09904             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09905             public static 
09906             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single[] @params)
09907             {
09908                 #if DEBUG
09909                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09910                 {
09911                 #endif
09912                 unsafe
09913                 {
09914                     fixed (Single* @params_ptr = @params)
09915                     {
09916                         Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09917                     }
09918                 }
09919                 #if DEBUG
09920                 }
09921                 #endif
09922             }
09923 
09924             [System.CLSCompliant(false)]
09925             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09926             public static 
09927             void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] out Single @params)
09928             {
09929                 #if DEBUG
09930                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09931                 {
09932                 #endif
09933                 unsafe
09934                 {
09935                     fixed (Single* @params_ptr = &@params)
09936                     {
09937                         Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params_ptr);
09938                         @params = *@params_ptr;
09939                     }
09940                 }
09941                 #if DEBUG
09942                 }
09943                 #endif
09944             }
09945 
09946             [System.CLSCompliant(false)]
09947             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramLocalParameterfvARB")]
09948             public static 
09949             unsafe void GetProgramLocalParameter(OpenTK.Graphics.OpenGL.ArbVertexProgram target, UInt32 index, [OutAttribute] Single* @params)
09950             {
09951                 #if DEBUG
09952                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09953                 {
09954                 #endif
09955                 Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.ArbVertexProgram)target, (UInt32)index, (Single*)@params);
09956                 #if DEBUG
09957                 }
09958                 #endif
09959             }
09960 
09961             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
09962             public static 
09963             void GetProgramString(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string)
09964             {
09965                 #if DEBUG
09966                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09967                 {
09968                 #endif
09969                 Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string);
09970                 #if DEBUG
09971                 }
09972                 #endif
09973             }
09974 
09975             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
09976             public static 
09977             void GetProgramString<T2>(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[] @string)
09978                 where T2 : struct
09979             {
09980                 #if DEBUG
09981                 using (new ErrorHelper(GraphicsContext.CurrentContext))
09982                 {
09983                 #endif
09984                 GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
09985                 try
09986                 {
09987                     Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
09988                 }
09989                 finally
09990                 {
09991                     @string_ptr.Free();
09992                 }
09993                 #if DEBUG
09994                 }
09995                 #endif
09996             }
09997 
09998             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
09999             public static 
10000             void GetProgramString<T2>(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,] @string)
10001                 where T2 : struct
10002             {
10003                 #if DEBUG
10004                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10005                 {
10006                 #endif
10007                 GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
10008                 try
10009                 {
10010                     Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
10011                 }
10012                 finally
10013                 {
10014                     @string_ptr.Free();
10015                 }
10016                 #if DEBUG
10017                 }
10018                 #endif
10019             }
10020 
10021             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
10022             public static 
10023             void GetProgramString<T2>(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] T2[,,] @string)
10024                 where T2 : struct
10025             {
10026                 #if DEBUG
10027                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10028                 {
10029                 #endif
10030                 GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
10031                 try
10032                 {
10033                     Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
10034                 }
10035                 finally
10036                 {
10037                     @string_ptr.Free();
10038                 }
10039                 #if DEBUG
10040                 }
10041                 #endif
10042             }
10043 
10044             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")]
10045             public static 
10046             void GetProgramString<T2>(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [InAttribute, OutAttribute] ref T2 @string)
10047                 where T2 : struct
10048             {
10049                 #if DEBUG
10050                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10051                 {
10052                 #endif
10053                 GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned);
10054                 try
10055                 {
10056                     Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject());
10057                     @string = (T2)@string_ptr.Target;
10058                 }
10059                 finally
10060                 {
10061                     @string_ptr.Free();
10062                 }
10063                 #if DEBUG
10064                 }
10065                 #endif
10066             }
10067 
10068             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
10069             public static 
10070             void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params)
10071             {
10072                 #if DEBUG
10073                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10074                 {
10075                 #endif
10076                 unsafe
10077                 {
10078                     fixed (Int32* @params_ptr = @params)
10079                     {
10080                         Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10081                     }
10082                 }
10083                 #if DEBUG
10084                 }
10085                 #endif
10086             }
10087 
10088             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
10089             public static 
10090             void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params)
10091             {
10092                 #if DEBUG
10093                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10094                 {
10095                 #endif
10096                 unsafe
10097                 {
10098                     fixed (Int32* @params_ptr = &@params)
10099                     {
10100                         Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10101                         @params = *@params_ptr;
10102                     }
10103                 }
10104                 #if DEBUG
10105                 }
10106                 #endif
10107             }
10108 
10109             [System.CLSCompliant(false)]
10110             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryivARB")]
10111             public static 
10112             unsafe void GetQuery(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params)
10113             {
10114                 #if DEBUG
10115                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10116                 {
10117                 #endif
10118                 Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params);
10119                 #if DEBUG
10120                 }
10121                 #endif
10122             }
10123 
10124             
10143             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10144             public static 
10145             void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params)
10146             {
10147                 #if DEBUG
10148                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10149                 {
10150                 #endif
10151                 unsafe
10152                 {
10153                     fixed (Int32* @params_ptr = @params)
10154                     {
10155                         Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10156                     }
10157                 }
10158                 #if DEBUG
10159                 }
10160                 #endif
10161             }
10162 
10163             
10182             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10183             public static 
10184             void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params)
10185             {
10186                 #if DEBUG
10187                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10188                 {
10189                 #endif
10190                 unsafe
10191                 {
10192                     fixed (Int32* @params_ptr = &@params)
10193                     {
10194                         Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10195                         @params = *@params_ptr;
10196                     }
10197                 }
10198                 #if DEBUG
10199                 }
10200                 #endif
10201             }
10202 
10203             
10222             [System.CLSCompliant(false)]
10223             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10224             public static 
10225             unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params)
10226             {
10227                 #if DEBUG
10228                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10229                 {
10230                 #endif
10231                 Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params);
10232                 #if DEBUG
10233                 }
10234                 #endif
10235             }
10236 
10237             
10256             [System.CLSCompliant(false)]
10257             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10258             public static 
10259             void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32[] @params)
10260             {
10261                 #if DEBUG
10262                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10263                 {
10264                 #endif
10265                 unsafe
10266                 {
10267                     fixed (Int32* @params_ptr = @params)
10268                     {
10269                         Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10270                     }
10271                 }
10272                 #if DEBUG
10273                 }
10274                 #endif
10275             }
10276 
10277             
10296             [System.CLSCompliant(false)]
10297             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10298             public static 
10299             void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out Int32 @params)
10300             {
10301                 #if DEBUG
10302                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10303                 {
10304                 #endif
10305                 unsafe
10306                 {
10307                     fixed (Int32* @params_ptr = &@params)
10308                     {
10309                         Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params_ptr);
10310                         @params = *@params_ptr;
10311                     }
10312                 }
10313                 #if DEBUG
10314                 }
10315                 #endif
10316             }
10317 
10318             
10337             [System.CLSCompliant(false)]
10338             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")]
10339             public static 
10340             unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params)
10341             {
10342                 #if DEBUG
10343                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10344                 {
10345                 #endif
10346                 Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params);
10347                 #if DEBUG
10348                 }
10349                 #endif
10350             }
10351 
10352             
10371             [System.CLSCompliant(false)]
10372             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
10373             public static 
10374             void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32[] @params)
10375             {
10376                 #if DEBUG
10377                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10378                 {
10379                 #endif
10380                 unsafe
10381                 {
10382                     fixed (UInt32* @params_ptr = @params)
10383                     {
10384                         Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr);
10385                     }
10386                 }
10387                 #if DEBUG
10388                 }
10389                 #endif
10390             }
10391 
10392             
10411             [System.CLSCompliant(false)]
10412             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
10413             public static 
10414             void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] out UInt32 @params)
10415             {
10416                 #if DEBUG
10417                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10418                 {
10419                 #endif
10420                 unsafe
10421                 {
10422                     fixed (UInt32* @params_ptr = &@params)
10423                     {
10424                         Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params_ptr);
10425                         @params = *@params_ptr;
10426                     }
10427                 }
10428                 #if DEBUG
10429                 }
10430                 #endif
10431             }
10432 
10433             
10452             [System.CLSCompliant(false)]
10453             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")]
10454             public static 
10455             unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params)
10456             {
10457                 #if DEBUG
10458                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10459                 {
10460                 #endif
10461                 Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params);
10462                 #if DEBUG
10463                 }
10464                 #endif
10465             }
10466 
10467             
10491             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
10492             public static 
10493             void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
10494             {
10495                 #if DEBUG
10496                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10497                 {
10498                 #endif
10499                 unsafe
10500                 {
10501                     fixed (Int32* length_ptr = &length)
10502                     {
10503                         Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)source);
10504                         length = *length_ptr;
10505                     }
10506                 }
10507                 #if DEBUG
10508                 }
10509                 #endif
10510             }
10511 
10512             
10536             [System.CLSCompliant(false)]
10537             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
10538             public static 
10539             unsafe void GetShaderSource(Int32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
10540             {
10541                 #if DEBUG
10542                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10543                 {
10544                 #endif
10545                 Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source);
10546                 #if DEBUG
10547                 }
10548                 #endif
10549             }
10550 
10551             
10575             [System.CLSCompliant(false)]
10576             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
10577             public static 
10578             void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
10579             {
10580                 #if DEBUG
10581                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10582                 {
10583                 #endif
10584                 unsafe
10585                 {
10586                     fixed (Int32* length_ptr = &length)
10587                     {
10588                         Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length_ptr, (StringBuilder)source);
10589                         length = *length_ptr;
10590                     }
10591                 }
10592                 #if DEBUG
10593                 }
10594                 #endif
10595             }
10596 
10597             
10621             [System.CLSCompliant(false)]
10622             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")]
10623             public static 
10624             unsafe void GetShaderSource(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
10625             {
10626                 #if DEBUG
10627                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10628                 {
10629                 #endif
10630                 Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source);
10631                 #if DEBUG
10632                 }
10633                 #endif
10634             }
10635 
10636             
10655             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10656             public static 
10657             void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single[] @params)
10658             {
10659                 #if DEBUG
10660                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10661                 {
10662                 #endif
10663                 unsafe
10664                 {
10665                     fixed (Single* @params_ptr = @params)
10666                     {
10667                         Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
10668                     }
10669                 }
10670                 #if DEBUG
10671                 }
10672                 #endif
10673             }
10674 
10675             
10694             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10695             public static 
10696             void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Single @params)
10697             {
10698                 #if DEBUG
10699                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10700                 {
10701                 #endif
10702                 unsafe
10703                 {
10704                     fixed (Single* @params_ptr = &@params)
10705                     {
10706                         Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
10707                         @params = *@params_ptr;
10708                     }
10709                 }
10710                 #if DEBUG
10711                 }
10712                 #endif
10713             }
10714 
10715             
10734             [System.CLSCompliant(false)]
10735             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10736             public static 
10737             unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Single* @params)
10738             {
10739                 #if DEBUG
10740                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10741                 {
10742                 #endif
10743                 Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
10744                 #if DEBUG
10745                 }
10746                 #endif
10747             }
10748 
10749             
10768             [System.CLSCompliant(false)]
10769             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10770             public static 
10771             void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single[] @params)
10772             {
10773                 #if DEBUG
10774                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10775                 {
10776                 #endif
10777                 unsafe
10778                 {
10779                     fixed (Single* @params_ptr = @params)
10780                     {
10781                         Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
10782                     }
10783                 }
10784                 #if DEBUG
10785                 }
10786                 #endif
10787             }
10788 
10789             
10808             [System.CLSCompliant(false)]
10809             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10810             public static 
10811             void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Single @params)
10812             {
10813                 #if DEBUG
10814                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10815                 {
10816                 #endif
10817                 unsafe
10818                 {
10819                     fixed (Single* @params_ptr = &@params)
10820                     {
10821                         Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params_ptr);
10822                         @params = *@params_ptr;
10823                     }
10824                 }
10825                 #if DEBUG
10826                 }
10827                 #endif
10828             }
10829 
10830             
10849             [System.CLSCompliant(false)]
10850             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")]
10851             public static 
10852             unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Single* @params)
10853             {
10854                 #if DEBUG
10855                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10856                 {
10857                 #endif
10858                 Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params);
10859                 #if DEBUG
10860                 }
10861                 #endif
10862             }
10863 
10864             
10883             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
10884             public static 
10885             void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32[] @params)
10886             {
10887                 #if DEBUG
10888                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10889                 {
10890                 #endif
10891                 unsafe
10892                 {
10893                     fixed (Int32* @params_ptr = @params)
10894                     {
10895                         Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
10896                     }
10897                 }
10898                 #if DEBUG
10899                 }
10900                 #endif
10901             }
10902 
10903             
10922             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
10923             public static 
10924             void GetUniform(Int32 programObj, Int32 location, [OutAttribute] out Int32 @params)
10925             {
10926                 #if DEBUG
10927                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10928                 {
10929                 #endif
10930                 unsafe
10931                 {
10932                     fixed (Int32* @params_ptr = &@params)
10933                     {
10934                         Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
10935                         @params = *@params_ptr;
10936                     }
10937                 }
10938                 #if DEBUG
10939                 }
10940                 #endif
10941             }
10942 
10943             
10962             [System.CLSCompliant(false)]
10963             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
10964             public static 
10965             unsafe void GetUniform(Int32 programObj, Int32 location, [OutAttribute] Int32* @params)
10966             {
10967                 #if DEBUG
10968                 using (new ErrorHelper(GraphicsContext.CurrentContext))
10969                 {
10970                 #endif
10971                 Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
10972                 #if DEBUG
10973                 }
10974                 #endif
10975             }
10976 
10977             
10996             [System.CLSCompliant(false)]
10997             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
10998             public static 
10999             void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32[] @params)
11000             {
11001                 #if DEBUG
11002                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11003                 {
11004                 #endif
11005                 unsafe
11006                 {
11007                     fixed (Int32* @params_ptr = @params)
11008                     {
11009                         Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
11010                     }
11011                 }
11012                 #if DEBUG
11013                 }
11014                 #endif
11015             }
11016 
11017             
11036             [System.CLSCompliant(false)]
11037             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
11038             public static 
11039             void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] out Int32 @params)
11040             {
11041                 #if DEBUG
11042                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11043                 {
11044                 #endif
11045                 unsafe
11046                 {
11047                     fixed (Int32* @params_ptr = &@params)
11048                     {
11049                         Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params_ptr);
11050                         @params = *@params_ptr;
11051                     }
11052                 }
11053                 #if DEBUG
11054                 }
11055                 #endif
11056             }
11057 
11058             
11077             [System.CLSCompliant(false)]
11078             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")]
11079             public static 
11080             unsafe void GetUniform(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params)
11081             {
11082                 #if DEBUG
11083                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11084                 {
11085                 #endif
11086                 Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params);
11087                 #if DEBUG
11088                 }
11089                 #endif
11090             }
11091 
11092             
11106             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")]
11107             public static 
11108             Int32 GetUniformLocation(Int32 programObj, String name)
11109             {
11110                 #if DEBUG
11111                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11112                 {
11113                 #endif
11114                 return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name);
11115                 #if DEBUG
11116                 }
11117                 #endif
11118             }
11119 
11120             
11134             [System.CLSCompliant(false)]
11135             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")]
11136             public static 
11137             Int32 GetUniformLocation(UInt32 programObj, String name)
11138             {
11139                 #if DEBUG
11140                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11141                 {
11142                 #endif
11143                 return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name);
11144                 #if DEBUG
11145                 }
11146                 #endif
11147             }
11148 
11149             
11168             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11169             public static 
11170             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params)
11171             {
11172                 #if DEBUG
11173                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11174                 {
11175                 #endif
11176                 unsafe
11177                 {
11178                     fixed (Double* @params_ptr = @params)
11179                     {
11180                         Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr);
11181                     }
11182                 }
11183                 #if DEBUG
11184                 }
11185                 #endif
11186             }
11187 
11188             
11207             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11208             public static 
11209             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params)
11210             {
11211                 #if DEBUG
11212                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11213                 {
11214                 #endif
11215                 unsafe
11216                 {
11217                     fixed (Double* @params_ptr = &@params)
11218                     {
11219                         Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr);
11220                         @params = *@params_ptr;
11221                     }
11222                 }
11223                 #if DEBUG
11224                 }
11225                 #endif
11226             }
11227 
11228             
11247             [System.CLSCompliant(false)]
11248             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11249             public static 
11250             unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params)
11251             {
11252                 #if DEBUG
11253                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11254                 {
11255                 #endif
11256                 Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params);
11257                 #if DEBUG
11258                 }
11259                 #endif
11260             }
11261 
11262             
11281             [System.CLSCompliant(false)]
11282             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11283             public static 
11284             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double[] @params)
11285             {
11286                 #if DEBUG
11287                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11288                 {
11289                 #endif
11290                 unsafe
11291                 {
11292                     fixed (Double* @params_ptr = @params)
11293                     {
11294                         Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr);
11295                     }
11296                 }
11297                 #if DEBUG
11298                 }
11299                 #endif
11300             }
11301 
11302             
11321             [System.CLSCompliant(false)]
11322             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11323             public static 
11324             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Double @params)
11325             {
11326                 #if DEBUG
11327                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11328                 {
11329                 #endif
11330                 unsafe
11331                 {
11332                     fixed (Double* @params_ptr = &@params)
11333                     {
11334                         Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params_ptr);
11335                         @params = *@params_ptr;
11336                     }
11337                 }
11338                 #if DEBUG
11339                 }
11340                 #endif
11341             }
11342 
11343             
11362             [System.CLSCompliant(false)]
11363             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")]
11364             public static 
11365             unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params)
11366             {
11367                 #if DEBUG
11368                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11369                 {
11370                 #endif
11371                 Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params);
11372                 #if DEBUG
11373                 }
11374                 #endif
11375             }
11376 
11377             
11396             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11397             public static 
11398             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params)
11399             {
11400                 #if DEBUG
11401                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11402                 {
11403                 #endif
11404                 unsafe
11405                 {
11406                     fixed (Single* @params_ptr = @params)
11407                     {
11408                         Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr);
11409                     }
11410                 }
11411                 #if DEBUG
11412                 }
11413                 #endif
11414             }
11415 
11416             
11435             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11436             public static 
11437             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params)
11438             {
11439                 #if DEBUG
11440                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11441                 {
11442                 #endif
11443                 unsafe
11444                 {
11445                     fixed (Single* @params_ptr = &@params)
11446                     {
11447                         Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr);
11448                         @params = *@params_ptr;
11449                     }
11450                 }
11451                 #if DEBUG
11452                 }
11453                 #endif
11454             }
11455 
11456             
11475             [System.CLSCompliant(false)]
11476             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11477             public static 
11478             unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params)
11479             {
11480                 #if DEBUG
11481                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11482                 {
11483                 #endif
11484                 Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params);
11485                 #if DEBUG
11486                 }
11487                 #endif
11488             }
11489 
11490             
11509             [System.CLSCompliant(false)]
11510             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11511             public static 
11512             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single[] @params)
11513             {
11514                 #if DEBUG
11515                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11516                 {
11517                 #endif
11518                 unsafe
11519                 {
11520                     fixed (Single* @params_ptr = @params)
11521                     {
11522                         Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr);
11523                     }
11524                 }
11525                 #if DEBUG
11526                 }
11527                 #endif
11528             }
11529 
11530             
11549             [System.CLSCompliant(false)]
11550             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11551             public static 
11552             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Single @params)
11553             {
11554                 #if DEBUG
11555                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11556                 {
11557                 #endif
11558                 unsafe
11559                 {
11560                     fixed (Single* @params_ptr = &@params)
11561                     {
11562                         Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params_ptr);
11563                         @params = *@params_ptr;
11564                     }
11565                 }
11566                 #if DEBUG
11567                 }
11568                 #endif
11569             }
11570 
11571             
11590             [System.CLSCompliant(false)]
11591             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")]
11592             public static 
11593             unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params)
11594             {
11595                 #if DEBUG
11596                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11597                 {
11598                 #endif
11599                 Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params);
11600                 #if DEBUG
11601                 }
11602                 #endif
11603             }
11604 
11605             
11624             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11625             public static 
11626             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params)
11627             {
11628                 #if DEBUG
11629                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11630                 {
11631                 #endif
11632                 unsafe
11633                 {
11634                     fixed (Int32* @params_ptr = @params)
11635                     {
11636                         Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
11637                     }
11638                 }
11639                 #if DEBUG
11640                 }
11641                 #endif
11642             }
11643 
11644             
11663             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11664             public static 
11665             void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params)
11666             {
11667                 #if DEBUG
11668                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11669                 {
11670                 #endif
11671                 unsafe
11672                 {
11673                     fixed (Int32* @params_ptr = &@params)
11674                     {
11675                         Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
11676                         @params = *@params_ptr;
11677                     }
11678                 }
11679                 #if DEBUG
11680                 }
11681                 #endif
11682             }
11683 
11684             
11703             [System.CLSCompliant(false)]
11704             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11705             public static 
11706             unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params)
11707             {
11708                 #if DEBUG
11709                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11710                 {
11711                 #endif
11712                 Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params);
11713                 #if DEBUG
11714                 }
11715                 #endif
11716             }
11717 
11718             
11737             [System.CLSCompliant(false)]
11738             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11739             public static 
11740             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32[] @params)
11741             {
11742                 #if DEBUG
11743                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11744                 {
11745                 #endif
11746                 unsafe
11747                 {
11748                     fixed (Int32* @params_ptr = @params)
11749                     {
11750                         Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
11751                     }
11752                 }
11753                 #if DEBUG
11754                 }
11755                 #endif
11756             }
11757 
11758             
11777             [System.CLSCompliant(false)]
11778             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11779             public static 
11780             void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] out Int32 @params)
11781             {
11782                 #if DEBUG
11783                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11784                 {
11785                 #endif
11786                 unsafe
11787                 {
11788                     fixed (Int32* @params_ptr = &@params)
11789                     {
11790                         Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params_ptr);
11791                         @params = *@params_ptr;
11792                     }
11793                 }
11794                 #if DEBUG
11795                 }
11796                 #endif
11797             }
11798 
11799             
11818             [System.CLSCompliant(false)]
11819             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")]
11820             public static 
11821             unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params)
11822             {
11823                 #if DEBUG
11824                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11825                 {
11826                 #endif
11827                 Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params);
11828                 #if DEBUG
11829                 }
11830                 #endif
11831             }
11832 
11833             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11834             public static 
11835             void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer)
11836             {
11837                 #if DEBUG
11838                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11839                 {
11840                 #endif
11841                 Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
11842                 #if DEBUG
11843                 }
11844                 #endif
11845             }
11846 
11847             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11848             public static 
11849             void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer)
11850                 where T2 : struct
11851             {
11852                 #if DEBUG
11853                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11854                 {
11855                 #endif
11856                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11857                 try
11858                 {
11859                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11860                 }
11861                 finally
11862                 {
11863                     pointer_ptr.Free();
11864                 }
11865                 #if DEBUG
11866                 }
11867                 #endif
11868             }
11869 
11870             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11871             public static 
11872             void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer)
11873                 where T2 : struct
11874             {
11875                 #if DEBUG
11876                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11877                 {
11878                 #endif
11879                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11880                 try
11881                 {
11882                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11883                 }
11884                 finally
11885                 {
11886                     pointer_ptr.Free();
11887                 }
11888                 #if DEBUG
11889                 }
11890                 #endif
11891             }
11892 
11893             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11894             public static 
11895             void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer)
11896                 where T2 : struct
11897             {
11898                 #if DEBUG
11899                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11900                 {
11901                 #endif
11902                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11903                 try
11904                 {
11905                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11906                 }
11907                 finally
11908                 {
11909                     pointer_ptr.Free();
11910                 }
11911                 #if DEBUG
11912                 }
11913                 #endif
11914             }
11915 
11916             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11917             public static 
11918             void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer)
11919                 where T2 : struct
11920             {
11921                 #if DEBUG
11922                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11923                 {
11924                 #endif
11925                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11926                 try
11927                 {
11928                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11929                     pointer = (T2)pointer_ptr.Target;
11930                 }
11931                 finally
11932                 {
11933                     pointer_ptr.Free();
11934                 }
11935                 #if DEBUG
11936                 }
11937                 #endif
11938             }
11939 
11940             [System.CLSCompliant(false)]
11941             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11942             public static 
11943             void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer)
11944             {
11945                 #if DEBUG
11946                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11947                 {
11948                 #endif
11949                 Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer);
11950                 #if DEBUG
11951                 }
11952                 #endif
11953             }
11954 
11955             [System.CLSCompliant(false)]
11956             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11957             public static 
11958             void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[] pointer)
11959                 where T2 : struct
11960             {
11961                 #if DEBUG
11962                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11963                 {
11964                 #endif
11965                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11966                 try
11967                 {
11968                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11969                 }
11970                 finally
11971                 {
11972                     pointer_ptr.Free();
11973                 }
11974                 #if DEBUG
11975                 }
11976                 #endif
11977             }
11978 
11979             [System.CLSCompliant(false)]
11980             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
11981             public static 
11982             void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,] pointer)
11983                 where T2 : struct
11984             {
11985                 #if DEBUG
11986                 using (new ErrorHelper(GraphicsContext.CurrentContext))
11987                 {
11988                 #endif
11989                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
11990                 try
11991                 {
11992                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
11993                 }
11994                 finally
11995                 {
11996                     pointer_ptr.Free();
11997                 }
11998                 #if DEBUG
11999                 }
12000                 #endif
12001             }
12002 
12003             [System.CLSCompliant(false)]
12004             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
12005             public static 
12006             void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] T2[,,] pointer)
12007                 where T2 : struct
12008             {
12009                 #if DEBUG
12010                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12011                 {
12012                 #endif
12013                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12014                 try
12015                 {
12016                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12017                 }
12018                 finally
12019                 {
12020                     pointer_ptr.Free();
12021                 }
12022                 #if DEBUG
12023                 }
12024                 #endif
12025             }
12026 
12027             [System.CLSCompliant(false)]
12028             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")]
12029             public static 
12030             void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [InAttribute, OutAttribute] ref T2 pointer)
12031                 where T2 : struct
12032             {
12033                 #if DEBUG
12034                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12035                 {
12036                 #endif
12037                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12038                 try
12039                 {
12040                     Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12041                     pointer = (T2)pointer_ptr.Target;
12042                 }
12043                 finally
12044                 {
12045                     pointer_ptr.Free();
12046                 }
12047                 #if DEBUG
12048                 }
12049                 #endif
12050             }
12051 
12052             
12061             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")]
12062             public static 
12063             bool IsBuffer(Int32 buffer)
12064             {
12065                 #if DEBUG
12066                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12067                 {
12068                 #endif
12069                 return Delegates.glIsBufferARB((UInt32)buffer);
12070                 #if DEBUG
12071                 }
12072                 #endif
12073             }
12074 
12075             
12084             [System.CLSCompliant(false)]
12085             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")]
12086             public static 
12087             bool IsBuffer(UInt32 buffer)
12088             {
12089                 #if DEBUG
12090                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12091                 {
12092                 #endif
12093                 return Delegates.glIsBufferARB((UInt32)buffer);
12094                 #if DEBUG
12095                 }
12096                 #endif
12097             }
12098 
12099             
12108             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")]
12109             public static 
12110             bool IsProgram(Int32 program)
12111             {
12112                 #if DEBUG
12113                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12114                 {
12115                 #endif
12116                 return Delegates.glIsProgramARB((UInt32)program);
12117                 #if DEBUG
12118                 }
12119                 #endif
12120             }
12121 
12122             
12131             [System.CLSCompliant(false)]
12132             [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")]
12133             public static 
12134             bool IsProgram(UInt32 program)
12135             {
12136                 #if DEBUG
12137                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12138                 {
12139                 #endif
12140                 return Delegates.glIsProgramARB((UInt32)program);
12141                 #if DEBUG
12142                 }
12143                 #endif
12144             }
12145 
12146             
12155             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")]
12156             public static 
12157             bool IsQuery(Int32 id)
12158             {
12159                 #if DEBUG
12160                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12161                 {
12162                 #endif
12163                 return Delegates.glIsQueryARB((UInt32)id);
12164                 #if DEBUG
12165                 }
12166                 #endif
12167             }
12168 
12169             
12178             [System.CLSCompliant(false)]
12179             [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")]
12180             public static 
12181             bool IsQuery(UInt32 id)
12182             {
12183                 #if DEBUG
12184                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12185                 {
12186                 #endif
12187                 return Delegates.glIsQueryARB((UInt32)id);
12188                 #if DEBUG
12189                 }
12190                 #endif
12191             }
12192 
12193             
12202             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")]
12203             public static 
12204             void LinkProgram(Int32 programObj)
12205             {
12206                 #if DEBUG
12207                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12208                 {
12209                 #endif
12210                 Delegates.glLinkProgramARB((UInt32)programObj);
12211                 #if DEBUG
12212                 }
12213                 #endif
12214             }
12215 
12216             
12225             [System.CLSCompliant(false)]
12226             [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")]
12227             public static 
12228             void LinkProgram(UInt32 programObj)
12229             {
12230                 #if DEBUG
12231                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12232                 {
12233                 #endif
12234                 Delegates.glLinkProgramARB((UInt32)programObj);
12235                 #if DEBUG
12236                 }
12237                 #endif
12238             }
12239 
12240             
12249             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
12250             public static 
12251             void LoadTransposeMatrix(Double[] m)
12252             {
12253                 #if DEBUG
12254                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12255                 {
12256                 #endif
12257                 unsafe
12258                 {
12259                     fixed (Double* m_ptr = m)
12260                     {
12261                         Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
12262                     }
12263                 }
12264                 #if DEBUG
12265                 }
12266                 #endif
12267             }
12268 
12269             
12278             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
12279             public static 
12280             void LoadTransposeMatrix(ref Double m)
12281             {
12282                 #if DEBUG
12283                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12284                 {
12285                 #endif
12286                 unsafe
12287                 {
12288                     fixed (Double* m_ptr = &m)
12289                     {
12290                         Delegates.glLoadTransposeMatrixdARB((Double*)m_ptr);
12291                     }
12292                 }
12293                 #if DEBUG
12294                 }
12295                 #endif
12296             }
12297 
12298             
12307             [System.CLSCompliant(false)]
12308             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")]
12309             public static 
12310             unsafe void LoadTransposeMatrix(Double* m)
12311             {
12312                 #if DEBUG
12313                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12314                 {
12315                 #endif
12316                 Delegates.glLoadTransposeMatrixdARB((Double*)m);
12317                 #if DEBUG
12318                 }
12319                 #endif
12320             }
12321 
12322             
12331             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
12332             public static 
12333             void LoadTransposeMatrix(Single[] m)
12334             {
12335                 #if DEBUG
12336                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12337                 {
12338                 #endif
12339                 unsafe
12340                 {
12341                     fixed (Single* m_ptr = m)
12342                     {
12343                         Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
12344                     }
12345                 }
12346                 #if DEBUG
12347                 }
12348                 #endif
12349             }
12350 
12351             
12360             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
12361             public static 
12362             void LoadTransposeMatrix(ref Single m)
12363             {
12364                 #if DEBUG
12365                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12366                 {
12367                 #endif
12368                 unsafe
12369                 {
12370                     fixed (Single* m_ptr = &m)
12371                     {
12372                         Delegates.glLoadTransposeMatrixfARB((Single*)m_ptr);
12373                     }
12374                 }
12375                 #if DEBUG
12376                 }
12377                 #endif
12378             }
12379 
12380             
12389             [System.CLSCompliant(false)]
12390             [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")]
12391             public static 
12392             unsafe void LoadTransposeMatrix(Single* m)
12393             {
12394                 #if DEBUG
12395                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12396                 {
12397                 #endif
12398                 Delegates.glLoadTransposeMatrixfARB((Single*)m);
12399                 #if DEBUG
12400                 }
12401                 #endif
12402             }
12403 
12404             
12418             [System.CLSCompliant(false)]
12419             [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")]
12420             public static 
12421             unsafe System.IntPtr MapBuffer(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access)
12422             {
12423                 #if DEBUG
12424                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12425                 {
12426                 #endif
12427                 return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access);
12428                 #if DEBUG
12429                 }
12430                 #endif
12431             }
12432 
12433             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
12434             public static 
12435             void MatrixIndexPointer(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer)
12436             {
12437                 #if DEBUG
12438                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12439                 {
12440                 #endif
12441                 Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer);
12442                 #if DEBUG
12443                 }
12444                 #endif
12445             }
12446 
12447             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
12448             public static 
12449             void MatrixIndexPointer<T3>(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
12450                 where T3 : struct
12451             {
12452                 #if DEBUG
12453                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12454                 {
12455                 #endif
12456                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12457                 try
12458                 {
12459                     Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12460                 }
12461                 finally
12462                 {
12463                     pointer_ptr.Free();
12464                 }
12465                 #if DEBUG
12466                 }
12467                 #endif
12468             }
12469 
12470             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
12471             public static 
12472             void MatrixIndexPointer<T3>(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
12473                 where T3 : struct
12474             {
12475                 #if DEBUG
12476                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12477                 {
12478                 #endif
12479                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12480                 try
12481                 {
12482                     Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12483                 }
12484                 finally
12485                 {
12486                     pointer_ptr.Free();
12487                 }
12488                 #if DEBUG
12489                 }
12490                 #endif
12491             }
12492 
12493             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
12494             public static 
12495             void MatrixIndexPointer<T3>(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
12496                 where T3 : struct
12497             {
12498                 #if DEBUG
12499                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12500                 {
12501                 #endif
12502                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12503                 try
12504                 {
12505                     Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12506                 }
12507                 finally
12508                 {
12509                     pointer_ptr.Free();
12510                 }
12511                 #if DEBUG
12512                 }
12513                 #endif
12514             }
12515 
12516             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")]
12517             public static 
12518             void MatrixIndexPointer<T3>(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
12519                 where T3 : struct
12520             {
12521                 #if DEBUG
12522                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12523                 {
12524                 #endif
12525                 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
12526                 try
12527                 {
12528                     Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
12529                     pointer = (T3)pointer_ptr.Target;
12530                 }
12531                 finally
12532                 {
12533                     pointer_ptr.Free();
12534                 }
12535                 #if DEBUG
12536                 }
12537                 #endif
12538             }
12539 
12540             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
12541             public static 
12542             void MatrixIndex(Int32 size, Byte[] indices)
12543             {
12544                 #if DEBUG
12545                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12546                 {
12547                 #endif
12548                 unsafe
12549                 {
12550                     fixed (Byte* indices_ptr = indices)
12551                     {
12552                         Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
12553                     }
12554                 }
12555                 #if DEBUG
12556                 }
12557                 #endif
12558             }
12559 
12560             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
12561             public static 
12562             void MatrixIndex(Int32 size, ref Byte indices)
12563             {
12564                 #if DEBUG
12565                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12566                 {
12567                 #endif
12568                 unsafe
12569                 {
12570                     fixed (Byte* indices_ptr = &indices)
12571                     {
12572                         Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices_ptr);
12573                     }
12574                 }
12575                 #if DEBUG
12576                 }
12577                 #endif
12578             }
12579 
12580             [System.CLSCompliant(false)]
12581             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexubvARB")]
12582             public static 
12583             unsafe void MatrixIndex(Int32 size, Byte* indices)
12584             {
12585                 #if DEBUG
12586                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12587                 {
12588                 #endif
12589                 Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices);
12590                 #if DEBUG
12591                 }
12592                 #endif
12593             }
12594 
12595             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12596             public static 
12597             void MatrixIndex(Int32 size, Int32[] indices)
12598             {
12599                 #if DEBUG
12600                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12601                 {
12602                 #endif
12603                 unsafe
12604                 {
12605                     fixed (Int32* indices_ptr = indices)
12606                     {
12607                         Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
12608                     }
12609                 }
12610                 #if DEBUG
12611                 }
12612                 #endif
12613             }
12614 
12615             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12616             public static 
12617             void MatrixIndex(Int32 size, ref Int32 indices)
12618             {
12619                 #if DEBUG
12620                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12621                 {
12622                 #endif
12623                 unsafe
12624                 {
12625                     fixed (Int32* indices_ptr = &indices)
12626                     {
12627                         Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
12628                     }
12629                 }
12630                 #if DEBUG
12631                 }
12632                 #endif
12633             }
12634 
12635             [System.CLSCompliant(false)]
12636             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12637             public static 
12638             unsafe void MatrixIndex(Int32 size, Int32* indices)
12639             {
12640                 #if DEBUG
12641                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12642                 {
12643                 #endif
12644                 Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
12645                 #if DEBUG
12646                 }
12647                 #endif
12648             }
12649 
12650             [System.CLSCompliant(false)]
12651             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12652             public static 
12653             void MatrixIndex(Int32 size, UInt32[] indices)
12654             {
12655                 #if DEBUG
12656                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12657                 {
12658                 #endif
12659                 unsafe
12660                 {
12661                     fixed (UInt32* indices_ptr = indices)
12662                     {
12663                         Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
12664                     }
12665                 }
12666                 #if DEBUG
12667                 }
12668                 #endif
12669             }
12670 
12671             [System.CLSCompliant(false)]
12672             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12673             public static 
12674             void MatrixIndex(Int32 size, ref UInt32 indices)
12675             {
12676                 #if DEBUG
12677                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12678                 {
12679                 #endif
12680                 unsafe
12681                 {
12682                     fixed (UInt32* indices_ptr = &indices)
12683                     {
12684                         Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices_ptr);
12685                     }
12686                 }
12687                 #if DEBUG
12688                 }
12689                 #endif
12690             }
12691 
12692             [System.CLSCompliant(false)]
12693             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexuivARB")]
12694             public static 
12695             unsafe void MatrixIndex(Int32 size, UInt32* indices)
12696             {
12697                 #if DEBUG
12698                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12699                 {
12700                 #endif
12701                 Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices);
12702                 #if DEBUG
12703                 }
12704                 #endif
12705             }
12706 
12707             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12708             public static 
12709             void MatrixIndex(Int32 size, Int16[] indices)
12710             {
12711                 #if DEBUG
12712                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12713                 {
12714                 #endif
12715                 unsafe
12716                 {
12717                     fixed (Int16* indices_ptr = indices)
12718                     {
12719                         Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
12720                     }
12721                 }
12722                 #if DEBUG
12723                 }
12724                 #endif
12725             }
12726 
12727             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12728             public static 
12729             void MatrixIndex(Int32 size, ref Int16 indices)
12730             {
12731                 #if DEBUG
12732                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12733                 {
12734                 #endif
12735                 unsafe
12736                 {
12737                     fixed (Int16* indices_ptr = &indices)
12738                     {
12739                         Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
12740                     }
12741                 }
12742                 #if DEBUG
12743                 }
12744                 #endif
12745             }
12746 
12747             [System.CLSCompliant(false)]
12748             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12749             public static 
12750             unsafe void MatrixIndex(Int32 size, Int16* indices)
12751             {
12752                 #if DEBUG
12753                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12754                 {
12755                 #endif
12756                 Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
12757                 #if DEBUG
12758                 }
12759                 #endif
12760             }
12761 
12762             [System.CLSCompliant(false)]
12763             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12764             public static 
12765             void MatrixIndex(Int32 size, UInt16[] indices)
12766             {
12767                 #if DEBUG
12768                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12769                 {
12770                 #endif
12771                 unsafe
12772                 {
12773                     fixed (UInt16* indices_ptr = indices)
12774                     {
12775                         Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
12776                     }
12777                 }
12778                 #if DEBUG
12779                 }
12780                 #endif
12781             }
12782 
12783             [System.CLSCompliant(false)]
12784             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12785             public static 
12786             void MatrixIndex(Int32 size, ref UInt16 indices)
12787             {
12788                 #if DEBUG
12789                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12790                 {
12791                 #endif
12792                 unsafe
12793                 {
12794                     fixed (UInt16* indices_ptr = &indices)
12795                     {
12796                         Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices_ptr);
12797                     }
12798                 }
12799                 #if DEBUG
12800                 }
12801                 #endif
12802             }
12803 
12804             [System.CLSCompliant(false)]
12805             [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexusvARB")]
12806             public static 
12807             unsafe void MatrixIndex(Int32 size, UInt16* indices)
12808             {
12809                 #if DEBUG
12810                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12811                 {
12812                 #endif
12813                 Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices);
12814                 #if DEBUG
12815                 }
12816                 #endif
12817             }
12818 
12819             
12833             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")]
12834             public static 
12835             void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double s)
12836             {
12837                 #if DEBUG
12838                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12839                 {
12840                 #endif
12841                 Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s);
12842                 #if DEBUG
12843                 }
12844                 #endif
12845             }
12846 
12847             
12861             [System.CLSCompliant(false)]
12862             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dvARB")]
12863             public static 
12864             unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v)
12865             {
12866                 #if DEBUG
12867                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12868                 {
12869                 #endif
12870                 Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v);
12871                 #if DEBUG
12872                 }
12873                 #endif
12874             }
12875 
12876             
12890             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")]
12891             public static 
12892             void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single s)
12893             {
12894                 #if DEBUG
12895                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12896                 {
12897                 #endif
12898                 Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s);
12899                 #if DEBUG
12900                 }
12901                 #endif
12902             }
12903 
12904             
12918             [System.CLSCompliant(false)]
12919             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fvARB")]
12920             public static 
12921             unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v)
12922             {
12923                 #if DEBUG
12924                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12925                 {
12926                 #endif
12927                 Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v);
12928                 #if DEBUG
12929                 }
12930                 #endif
12931             }
12932 
12933             
12947             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")]
12948             public static 
12949             void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s)
12950             {
12951                 #if DEBUG
12952                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12953                 {
12954                 #endif
12955                 Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s);
12956                 #if DEBUG
12957                 }
12958                 #endif
12959             }
12960 
12961             
12975             [System.CLSCompliant(false)]
12976             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1ivARB")]
12977             public static 
12978             unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v)
12979             {
12980                 #if DEBUG
12981                 using (new ErrorHelper(GraphicsContext.CurrentContext))
12982                 {
12983                 #endif
12984                 Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v);
12985                 #if DEBUG
12986                 }
12987                 #endif
12988             }
12989 
12990             
13004             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")]
13005             public static 
13006             void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s)
13007             {
13008                 #if DEBUG
13009                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13010                 {
13011                 #endif
13012                 Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s);
13013                 #if DEBUG
13014                 }
13015                 #endif
13016             }
13017 
13018             
13032             [System.CLSCompliant(false)]
13033             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1svARB")]
13034             public static 
13035             unsafe void MultiTexCoord1(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v)
13036             {
13037                 #if DEBUG
13038                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13039                 {
13040                 #endif
13041                 Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v);
13042                 #if DEBUG
13043                 }
13044                 #endif
13045             }
13046 
13047             
13061             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")]
13062             public static 
13063             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t)
13064             {
13065                 #if DEBUG
13066                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13067                 {
13068                 #endif
13069                 Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t);
13070                 #if DEBUG
13071                 }
13072                 #endif
13073             }
13074 
13075             
13089             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
13090             public static 
13091             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double[] v)
13092             {
13093                 #if DEBUG
13094                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13095                 {
13096                 #endif
13097                 unsafe
13098                 {
13099                     fixed (Double* v_ptr = v)
13100                     {
13101                         Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr);
13102                     }
13103                 }
13104                 #if DEBUG
13105                 }
13106                 #endif
13107             }
13108 
13109             
13123             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
13124             public static 
13125             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Double v)
13126             {
13127                 #if DEBUG
13128                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13129                 {
13130                 #endif
13131                 unsafe
13132                 {
13133                     fixed (Double* v_ptr = &v)
13134                     {
13135                         Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v_ptr);
13136                     }
13137                 }
13138                 #if DEBUG
13139                 }
13140                 #endif
13141             }
13142 
13143             
13157             [System.CLSCompliant(false)]
13158             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")]
13159             public static 
13160             unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v)
13161             {
13162                 #if DEBUG
13163                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13164                 {
13165                 #endif
13166                 Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v);
13167                 #if DEBUG
13168                 }
13169                 #endif
13170             }
13171 
13172             
13186             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")]
13187             public static 
13188             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t)
13189             {
13190                 #if DEBUG
13191                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13192                 {
13193                 #endif
13194                 Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t);
13195                 #if DEBUG
13196                 }
13197                 #endif
13198             }
13199 
13200             
13214             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
13215             public static 
13216             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single[] v)
13217             {
13218                 #if DEBUG
13219                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13220                 {
13221                 #endif
13222                 unsafe
13223                 {
13224                     fixed (Single* v_ptr = v)
13225                     {
13226                         Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr);
13227                     }
13228                 }
13229                 #if DEBUG
13230                 }
13231                 #endif
13232             }
13233 
13234             
13248             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
13249             public static 
13250             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Single v)
13251             {
13252                 #if DEBUG
13253                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13254                 {
13255                 #endif
13256                 unsafe
13257                 {
13258                     fixed (Single* v_ptr = &v)
13259                     {
13260                         Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v_ptr);
13261                     }
13262                 }
13263                 #if DEBUG
13264                 }
13265                 #endif
13266             }
13267 
13268             
13282             [System.CLSCompliant(false)]
13283             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")]
13284             public static 
13285             unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v)
13286             {
13287                 #if DEBUG
13288                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13289                 {
13290                 #endif
13291                 Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v);
13292                 #if DEBUG
13293                 }
13294                 #endif
13295             }
13296 
13297             
13311             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")]
13312             public static 
13313             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t)
13314             {
13315                 #if DEBUG
13316                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13317                 {
13318                 #endif
13319                 Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t);
13320                 #if DEBUG
13321                 }
13322                 #endif
13323             }
13324 
13325             
13339             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
13340             public static 
13341             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32[] v)
13342             {
13343                 #if DEBUG
13344                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13345                 {
13346                 #endif
13347                 unsafe
13348                 {
13349                     fixed (Int32* v_ptr = v)
13350                     {
13351                         Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr);
13352                     }
13353                 }
13354                 #if DEBUG
13355                 }
13356                 #endif
13357             }
13358 
13359             
13373             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
13374             public static 
13375             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int32 v)
13376             {
13377                 #if DEBUG
13378                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13379                 {
13380                 #endif
13381                 unsafe
13382                 {
13383                     fixed (Int32* v_ptr = &v)
13384                     {
13385                         Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v_ptr);
13386                     }
13387                 }
13388                 #if DEBUG
13389                 }
13390                 #endif
13391             }
13392 
13393             
13407             [System.CLSCompliant(false)]
13408             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")]
13409             public static 
13410             unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v)
13411             {
13412                 #if DEBUG
13413                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13414                 {
13415                 #endif
13416                 Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v);
13417                 #if DEBUG
13418                 }
13419                 #endif
13420             }
13421 
13422             
13436             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")]
13437             public static 
13438             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t)
13439             {
13440                 #if DEBUG
13441                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13442                 {
13443                 #endif
13444                 Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t);
13445                 #if DEBUG
13446                 }
13447                 #endif
13448             }
13449 
13450             
13464             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
13465             public static 
13466             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16[] v)
13467             {
13468                 #if DEBUG
13469                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13470                 {
13471                 #endif
13472                 unsafe
13473                 {
13474                     fixed (Int16* v_ptr = v)
13475                     {
13476                         Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr);
13477                     }
13478                 }
13479                 #if DEBUG
13480                 }
13481                 #endif
13482             }
13483 
13484             
13498             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
13499             public static 
13500             void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, ref Int16 v)
13501             {
13502                 #if DEBUG
13503                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13504                 {
13505                 #endif
13506                 unsafe
13507                 {
13508                     fixed (Int16* v_ptr = &v)
13509                     {
13510                         Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v_ptr);
13511                     }
13512                 }
13513                 #if DEBUG
13514                 }
13515                 #endif
13516             }
13517 
13518             
13532             [System.CLSCompliant(false)]
13533             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")]
13534             public static 
13535             unsafe void MultiTexCoord2(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v)
13536             {
13537                 #if DEBUG
13538                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13539                 {
13540                 #endif
13541                 Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v);
13542                 #if DEBUG
13543                 }
13544                 #endif
13545             }
13546 
13547             
13561             [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")]
13562             public static 
13563             void MultiTexCoord3(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r)
13564             {
13565                 #if DEBUG
13566                 using (new ErrorHelper(GraphicsContext.CurrentContext))
13567                 {
13568                 #endif
13569                 Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r);
13570                 #if DEBUG
13571                 }
13572                 #endif
13573             }
<