• Main Page
  • Classes
  • Files
  • File List

Source/OpenTK/Graphics/ES20/ES.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.ES20
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 Amd
00042         {
00043             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")]
00044             public static 
00045             void BeginPerfMonitor(Int32 monitor)
00046             {
00047                 #if DEBUG
00048                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00049                 {
00050                 #endif
00051                 Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
00052                 #if DEBUG
00053                 }
00054                 #endif
00055             }
00056 
00057             [System.CLSCompliant(false)]
00058             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")]
00059             public static 
00060             void BeginPerfMonitor(UInt32 monitor)
00061             {
00062                 #if DEBUG
00063                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00064                 {
00065                 #endif
00066                 Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
00067                 #if DEBUG
00068                 }
00069                 #endif
00070             }
00071 
00072             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00073             public static 
00074             void DeletePerfMonitors(Int32 n, Int32[] monitors)
00075             {
00076                 #if DEBUG
00077                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00078                 {
00079                 #endif
00080                 unsafe
00081                 {
00082                     fixed (Int32* monitors_ptr = monitors)
00083                     {
00084                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00085                     }
00086                 }
00087                 #if DEBUG
00088                 }
00089                 #endif
00090             }
00091 
00092             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00093             public static 
00094             void DeletePerfMonitors(Int32 n, ref Int32 monitors)
00095             {
00096                 #if DEBUG
00097                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00098                 {
00099                 #endif
00100                 unsafe
00101                 {
00102                     fixed (Int32* monitors_ptr = &monitors)
00103                     {
00104                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00105                     }
00106                 }
00107                 #if DEBUG
00108                 }
00109                 #endif
00110             }
00111 
00112             [System.CLSCompliant(false)]
00113             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00114             public static 
00115             unsafe void DeletePerfMonitors(Int32 n, Int32* monitors)
00116             {
00117                 #if DEBUG
00118                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00119                 {
00120                 #endif
00121                 Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00122                 #if DEBUG
00123                 }
00124                 #endif
00125             }
00126 
00127             [System.CLSCompliant(false)]
00128             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00129             public static 
00130             void DeletePerfMonitors(Int32 n, UInt32[] monitors)
00131             {
00132                 #if DEBUG
00133                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00134                 {
00135                 #endif
00136                 unsafe
00137                 {
00138                     fixed (UInt32* monitors_ptr = monitors)
00139                     {
00140                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00141                     }
00142                 }
00143                 #if DEBUG
00144                 }
00145                 #endif
00146             }
00147 
00148             [System.CLSCompliant(false)]
00149             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00150             public static 
00151             void DeletePerfMonitors(Int32 n, ref UInt32 monitors)
00152             {
00153                 #if DEBUG
00154                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00155                 {
00156                 #endif
00157                 unsafe
00158                 {
00159                     fixed (UInt32* monitors_ptr = &monitors)
00160                     {
00161                         Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00162                     }
00163                 }
00164                 #if DEBUG
00165                 }
00166                 #endif
00167             }
00168 
00169             [System.CLSCompliant(false)]
00170             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
00171             public static 
00172             unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors)
00173             {
00174                 #if DEBUG
00175                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00176                 {
00177                 #endif
00178                 Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00179                 #if DEBUG
00180                 }
00181                 #endif
00182             }
00183 
00184             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")]
00185             public static 
00186             void EndPerfMonitor(Int32 monitor)
00187             {
00188                 #if DEBUG
00189                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00190                 {
00191                 #endif
00192                 Delegates.glEndPerfMonitorAMD((UInt32)monitor);
00193                 #if DEBUG
00194                 }
00195                 #endif
00196             }
00197 
00198             [System.CLSCompliant(false)]
00199             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")]
00200             public static 
00201             void EndPerfMonitor(UInt32 monitor)
00202             {
00203                 #if DEBUG
00204                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00205                 {
00206                 #endif
00207                 Delegates.glEndPerfMonitorAMD((UInt32)monitor);
00208                 #if DEBUG
00209                 }
00210                 #endif
00211             }
00212 
00213             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00214             public static 
00215             void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors)
00216             {
00217                 #if DEBUG
00218                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00219                 {
00220                 #endif
00221                 unsafe
00222                 {
00223                     fixed (Int32* monitors_ptr = monitors)
00224                     {
00225                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00226                     }
00227                 }
00228                 #if DEBUG
00229                 }
00230                 #endif
00231             }
00232 
00233             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00234             public static 
00235             void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors)
00236             {
00237                 #if DEBUG
00238                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00239                 {
00240                 #endif
00241                 unsafe
00242                 {
00243                     fixed (Int32* monitors_ptr = &monitors)
00244                     {
00245                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00246                         monitors = *monitors_ptr;
00247                     }
00248                 }
00249                 #if DEBUG
00250                 }
00251                 #endif
00252             }
00253 
00254             [System.CLSCompliant(false)]
00255             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00256             public static 
00257             unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors)
00258             {
00259                 #if DEBUG
00260                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00261                 {
00262                 #endif
00263                 Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00264                 #if DEBUG
00265                 }
00266                 #endif
00267             }
00268 
00269             [System.CLSCompliant(false)]
00270             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00271             public static 
00272             void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors)
00273             {
00274                 #if DEBUG
00275                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00276                 {
00277                 #endif
00278                 unsafe
00279                 {
00280                     fixed (UInt32* monitors_ptr = monitors)
00281                     {
00282                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00283                     }
00284                 }
00285                 #if DEBUG
00286                 }
00287                 #endif
00288             }
00289 
00290             [System.CLSCompliant(false)]
00291             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00292             public static 
00293             void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors)
00294             {
00295                 #if DEBUG
00296                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00297                 {
00298                 #endif
00299                 unsafe
00300                 {
00301                     fixed (UInt32* monitors_ptr = &monitors)
00302                     {
00303                         Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
00304                         monitors = *monitors_ptr;
00305                     }
00306                 }
00307                 #if DEBUG
00308                 }
00309                 #endif
00310             }
00311 
00312             [System.CLSCompliant(false)]
00313             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
00314             public static 
00315             unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors)
00316             {
00317                 #if DEBUG
00318                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00319                 {
00320                 #endif
00321                 Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
00322                 #if DEBUG
00323                 }
00324                 #endif
00325             }
00326 
00327             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00328             public static 
00329             void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32[] bytesWritten)
00330             {
00331                 #if DEBUG
00332                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00333                 {
00334                 #endif
00335                 unsafe
00336                 {
00337                     fixed (Int32* data_ptr = data)
00338                     fixed (Int32* bytesWritten_ptr = bytesWritten)
00339                     {
00340                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00341                     }
00342                 }
00343                 #if DEBUG
00344                 }
00345                 #endif
00346             }
00347 
00348             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00349             public static 
00350             void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten)
00351             {
00352                 #if DEBUG
00353                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00354                 {
00355                 #endif
00356                 unsafe
00357                 {
00358                     fixed (Int32* data_ptr = &data)
00359                     fixed (Int32* bytesWritten_ptr = &bytesWritten)
00360                     {
00361                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00362                         data = *data_ptr;
00363                         bytesWritten = *bytesWritten_ptr;
00364                     }
00365                 }
00366                 #if DEBUG
00367                 }
00368                 #endif
00369             }
00370 
00371             [System.CLSCompliant(false)]
00372             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00373             public static 
00374             unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten)
00375             {
00376                 #if DEBUG
00377                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00378                 {
00379                 #endif
00380                 Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
00381                 #if DEBUG
00382                 }
00383                 #endif
00384             }
00385 
00386             [System.CLSCompliant(false)]
00387             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00388             public static 
00389             void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32[] bytesWritten)
00390             {
00391                 #if DEBUG
00392                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00393                 {
00394                 #endif
00395                 unsafe
00396                 {
00397                     fixed (UInt32* data_ptr = data)
00398                     fixed (Int32* bytesWritten_ptr = bytesWritten)
00399                     {
00400                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00401                     }
00402                 }
00403                 #if DEBUG
00404                 }
00405                 #endif
00406             }
00407 
00408             [System.CLSCompliant(false)]
00409             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00410             public static 
00411             void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten)
00412             {
00413                 #if DEBUG
00414                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00415                 {
00416                 #endif
00417                 unsafe
00418                 {
00419                     fixed (UInt32* data_ptr = &data)
00420                     fixed (Int32* bytesWritten_ptr = &bytesWritten)
00421                     {
00422                         Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
00423                         data = *data_ptr;
00424                         bytesWritten = *bytesWritten_ptr;
00425                     }
00426                 }
00427                 #if DEBUG
00428                 }
00429                 #endif
00430             }
00431 
00432             [System.CLSCompliant(false)]
00433             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
00434             public static 
00435             unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten)
00436             {
00437                 #if DEBUG
00438                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00439                 {
00440                 #endif
00441                 Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
00442                 #if DEBUG
00443                 }
00444                 #endif
00445             }
00446 
00447             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00448             public static 
00449             void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data)
00450             {
00451                 #if DEBUG
00452                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00453                 {
00454                 #endif
00455                 Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data);
00456                 #if DEBUG
00457                 }
00458                 #endif
00459             }
00460 
00461             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00462             public static 
00463             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
00464                 where T3 : struct
00465             {
00466                 #if DEBUG
00467                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00468                 {
00469                 #endif
00470                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00471                 try
00472                 {
00473                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00474                 }
00475                 finally
00476                 {
00477                     data_ptr.Free();
00478                 }
00479                 #if DEBUG
00480                 }
00481                 #endif
00482             }
00483 
00484             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00485             public static 
00486             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
00487                 where T3 : struct
00488             {
00489                 #if DEBUG
00490                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00491                 {
00492                 #endif
00493                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00494                 try
00495                 {
00496                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00497                 }
00498                 finally
00499                 {
00500                     data_ptr.Free();
00501                 }
00502                 #if DEBUG
00503                 }
00504                 #endif
00505             }
00506 
00507             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00508             public static 
00509             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
00510                 where T3 : struct
00511             {
00512                 #if DEBUG
00513                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00514                 {
00515                 #endif
00516                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00517                 try
00518                 {
00519                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00520                 }
00521                 finally
00522                 {
00523                     data_ptr.Free();
00524                 }
00525                 #if DEBUG
00526                 }
00527                 #endif
00528             }
00529 
00530             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00531             public static 
00532             void GetPerfMonitorCounterInfo<T3>(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
00533                 where T3 : struct
00534             {
00535                 #if DEBUG
00536                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00537                 {
00538                 #endif
00539                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00540                 try
00541                 {
00542                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00543                     data = (T3)data_ptr.Target;
00544                 }
00545                 finally
00546                 {
00547                     data_ptr.Free();
00548                 }
00549                 #if DEBUG
00550                 }
00551                 #endif
00552             }
00553 
00554             [System.CLSCompliant(false)]
00555             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00556             public static 
00557             void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data)
00558             {
00559                 #if DEBUG
00560                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00561                 {
00562                 #endif
00563                 Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data);
00564                 #if DEBUG
00565                 }
00566                 #endif
00567             }
00568 
00569             [System.CLSCompliant(false)]
00570             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00571             public static 
00572             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
00573                 where T3 : struct
00574             {
00575                 #if DEBUG
00576                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00577                 {
00578                 #endif
00579                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00580                 try
00581                 {
00582                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00583                 }
00584                 finally
00585                 {
00586                     data_ptr.Free();
00587                 }
00588                 #if DEBUG
00589                 }
00590                 #endif
00591             }
00592 
00593             [System.CLSCompliant(false)]
00594             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00595             public static 
00596             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
00597                 where T3 : struct
00598             {
00599                 #if DEBUG
00600                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00601                 {
00602                 #endif
00603                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00604                 try
00605                 {
00606                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00607                 }
00608                 finally
00609                 {
00610                     data_ptr.Free();
00611                 }
00612                 #if DEBUG
00613                 }
00614                 #endif
00615             }
00616 
00617             [System.CLSCompliant(false)]
00618             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00619             public static 
00620             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
00621                 where T3 : struct
00622             {
00623                 #if DEBUG
00624                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00625                 {
00626                 #endif
00627                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00628                 try
00629                 {
00630                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00631                 }
00632                 finally
00633                 {
00634                     data_ptr.Free();
00635                 }
00636                 #if DEBUG
00637                 }
00638                 #endif
00639             }
00640 
00641             [System.CLSCompliant(false)]
00642             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
00643             public static 
00644             void GetPerfMonitorCounterInfo<T3>(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
00645                 where T3 : struct
00646             {
00647                 #if DEBUG
00648                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00649                 {
00650                 #endif
00651                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00652                 try
00653                 {
00654                     Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
00655                     data = (T3)data_ptr.Target;
00656                 }
00657                 finally
00658                 {
00659                     data_ptr.Free();
00660                 }
00661                 #if DEBUG
00662                 }
00663                 #endif
00664             }
00665 
00666             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00667             public static 
00668             void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters)
00669             {
00670                 #if DEBUG
00671                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00672                 {
00673                 #endif
00674                 unsafe
00675                 {
00676                     fixed (Int32* numCounters_ptr = numCounters)
00677                     fixed (Int32* maxActiveCounters_ptr = maxActiveCounters)
00678                     fixed (Int32* counters_ptr = counters)
00679                     {
00680                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00681                     }
00682                 }
00683                 #if DEBUG
00684                 }
00685                 #endif
00686             }
00687 
00688             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00689             public static 
00690             void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters)
00691             {
00692                 #if DEBUG
00693                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00694                 {
00695                 #endif
00696                 unsafe
00697                 {
00698                     fixed (Int32* numCounters_ptr = &numCounters)
00699                     fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
00700                     fixed (Int32* counters_ptr = &counters)
00701                     {
00702                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00703                         numCounters = *numCounters_ptr;
00704                         maxActiveCounters = *maxActiveCounters_ptr;
00705                         counters = *counters_ptr;
00706                     }
00707                 }
00708                 #if DEBUG
00709                 }
00710                 #endif
00711             }
00712 
00713             [System.CLSCompliant(false)]
00714             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00715             public static 
00716             unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters)
00717             {
00718                 #if DEBUG
00719                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00720                 {
00721                 #endif
00722                 Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
00723                 #if DEBUG
00724                 }
00725                 #endif
00726             }
00727 
00728             [System.CLSCompliant(false)]
00729             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00730             public static 
00731             void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters)
00732             {
00733                 #if DEBUG
00734                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00735                 {
00736                 #endif
00737                 unsafe
00738                 {
00739                     fixed (Int32* numCounters_ptr = numCounters)
00740                     fixed (Int32* maxActiveCounters_ptr = maxActiveCounters)
00741                     fixed (UInt32* counters_ptr = counters)
00742                     {
00743                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00744                     }
00745                 }
00746                 #if DEBUG
00747                 }
00748                 #endif
00749             }
00750 
00751             [System.CLSCompliant(false)]
00752             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00753             public static 
00754             void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters)
00755             {
00756                 #if DEBUG
00757                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00758                 {
00759                 #endif
00760                 unsafe
00761                 {
00762                     fixed (Int32* numCounters_ptr = &numCounters)
00763                     fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
00764                     fixed (UInt32* counters_ptr = &counters)
00765                     {
00766                         Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
00767                         numCounters = *numCounters_ptr;
00768                         maxActiveCounters = *maxActiveCounters_ptr;
00769                         counters = *counters_ptr;
00770                     }
00771                 }
00772                 #if DEBUG
00773                 }
00774                 #endif
00775             }
00776 
00777             [System.CLSCompliant(false)]
00778             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
00779             public static 
00780             unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters)
00781             {
00782                 #if DEBUG
00783                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00784                 {
00785                 #endif
00786                 Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
00787                 #if DEBUG
00788                 }
00789                 #endif
00790             }
00791 
00792             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00793             public static 
00794             void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString)
00795             {
00796                 #if DEBUG
00797                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00798                 {
00799                 #endif
00800                 unsafe
00801                 {
00802                     fixed (Int32* length_ptr = length)
00803                     {
00804                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00805                     }
00806                 }
00807                 #if DEBUG
00808                 }
00809                 #endif
00810             }
00811 
00812             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00813             public static 
00814             void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
00815             {
00816                 #if DEBUG
00817                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00818                 {
00819                 #endif
00820                 unsafe
00821                 {
00822                     fixed (Int32* length_ptr = &length)
00823                     {
00824                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00825                         length = *length_ptr;
00826                     }
00827                 }
00828                 #if DEBUG
00829                 }
00830                 #endif
00831             }
00832 
00833             [System.CLSCompliant(false)]
00834             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00835             public static 
00836             unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
00837             {
00838                 #if DEBUG
00839                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00840                 {
00841                 #endif
00842                 Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
00843                 #if DEBUG
00844                 }
00845                 #endif
00846             }
00847 
00848             [System.CLSCompliant(false)]
00849             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00850             public static 
00851             void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString)
00852             {
00853                 #if DEBUG
00854                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00855                 {
00856                 #endif
00857                 unsafe
00858                 {
00859                     fixed (Int32* length_ptr = length)
00860                     {
00861                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00862                     }
00863                 }
00864                 #if DEBUG
00865                 }
00866                 #endif
00867             }
00868 
00869             [System.CLSCompliant(false)]
00870             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00871             public static 
00872             void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
00873             {
00874                 #if DEBUG
00875                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00876                 {
00877                 #endif
00878                 unsafe
00879                 {
00880                     fixed (Int32* length_ptr = &length)
00881                     {
00882                         Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
00883                         length = *length_ptr;
00884                     }
00885                 }
00886                 #if DEBUG
00887                 }
00888                 #endif
00889             }
00890 
00891             [System.CLSCompliant(false)]
00892             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
00893             public static 
00894             unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
00895             {
00896                 #if DEBUG
00897                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00898                 {
00899                 #endif
00900                 Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
00901                 #if DEBUG
00902                 }
00903                 #endif
00904             }
00905 
00906             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
00907             public static 
00908             void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups)
00909             {
00910                 #if DEBUG
00911                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00912                 {
00913                 #endif
00914                 unsafe
00915                 {
00916                     fixed (Int32* numGroups_ptr = numGroups)
00917                     fixed (Int32* groups_ptr = groups)
00918                     {
00919                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
00920                     }
00921                 }
00922                 #if DEBUG
00923                 }
00924                 #endif
00925             }
00926 
00927             [System.CLSCompliant(false)]
00928             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
00929             public static 
00930             void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups)
00931             {
00932                 #if DEBUG
00933                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00934                 {
00935                 #endif
00936                 unsafe
00937                 {
00938                     fixed (Int32* numGroups_ptr = numGroups)
00939                     fixed (UInt32* groups_ptr = groups)
00940                     {
00941                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
00942                     }
00943                 }
00944                 #if DEBUG
00945                 }
00946                 #endif
00947             }
00948 
00949             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
00950             public static 
00951             void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups)
00952             {
00953                 #if DEBUG
00954                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00955                 {
00956                 #endif
00957                 unsafe
00958                 {
00959                     fixed (Int32* numGroups_ptr = &numGroups)
00960                     fixed (Int32* groups_ptr = &groups)
00961                     {
00962                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
00963                         numGroups = *numGroups_ptr;
00964                         groups = *groups_ptr;
00965                     }
00966                 }
00967                 #if DEBUG
00968                 }
00969                 #endif
00970             }
00971 
00972             [System.CLSCompliant(false)]
00973             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
00974             public static 
00975             void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups)
00976             {
00977                 #if DEBUG
00978                 using (new ErrorHelper(GraphicsContext.CurrentContext))
00979                 {
00980                 #endif
00981                 unsafe
00982                 {
00983                     fixed (Int32* numGroups_ptr = &numGroups)
00984                     fixed (UInt32* groups_ptr = &groups)
00985                     {
00986                         Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
00987                         numGroups = *numGroups_ptr;
00988                         groups = *groups_ptr;
00989                     }
00990                 }
00991                 #if DEBUG
00992                 }
00993                 #endif
00994             }
00995 
00996             [System.CLSCompliant(false)]
00997             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
00998             public static 
00999             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups)
01000             {
01001                 #if DEBUG
01002                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01003                 {
01004                 #endif
01005                 Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
01006                 #if DEBUG
01007                 }
01008                 #endif
01009             }
01010 
01011             [System.CLSCompliant(false)]
01012             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
01013             public static 
01014             unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups)
01015             {
01016                 #if DEBUG
01017                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01018                 {
01019                 #endif
01020                 Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
01021                 #if DEBUG
01022                 }
01023                 #endif
01024             }
01025 
01026             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01027             public static 
01028             void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder groupString)
01029             {
01030                 #if DEBUG
01031                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01032                 {
01033                 #endif
01034                 unsafe
01035                 {
01036                     fixed (Int32* length_ptr = length)
01037                     {
01038                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01039                     }
01040                 }
01041                 #if DEBUG
01042                 }
01043                 #endif
01044             }
01045 
01046             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01047             public static 
01048             void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
01049             {
01050                 #if DEBUG
01051                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01052                 {
01053                 #endif
01054                 unsafe
01055                 {
01056                     fixed (Int32* length_ptr = &length)
01057                     {
01058                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01059                         length = *length_ptr;
01060                     }
01061                 }
01062                 #if DEBUG
01063                 }
01064                 #endif
01065             }
01066 
01067             [System.CLSCompliant(false)]
01068             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01069             public static 
01070             unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
01071             {
01072                 #if DEBUG
01073                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01074                 {
01075                 #endif
01076                 Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
01077                 #if DEBUG
01078                 }
01079                 #endif
01080             }
01081 
01082             [System.CLSCompliant(false)]
01083             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01084             public static 
01085             void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder groupString)
01086             {
01087                 #if DEBUG
01088                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01089                 {
01090                 #endif
01091                 unsafe
01092                 {
01093                     fixed (Int32* length_ptr = length)
01094                     {
01095                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01096                     }
01097                 }
01098                 #if DEBUG
01099                 }
01100                 #endif
01101             }
01102 
01103             [System.CLSCompliant(false)]
01104             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01105             public static 
01106             void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
01107             {
01108                 #if DEBUG
01109                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01110                 {
01111                 #endif
01112                 unsafe
01113                 {
01114                     fixed (Int32* length_ptr = &length)
01115                     {
01116                         Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
01117                         length = *length_ptr;
01118                     }
01119                 }
01120                 #if DEBUG
01121                 }
01122                 #endif
01123             }
01124 
01125             [System.CLSCompliant(false)]
01126             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
01127             public static 
01128             unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
01129             {
01130                 #if DEBUG
01131                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01132                 {
01133                 #endif
01134                 Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
01135                 #if DEBUG
01136                 }
01137                 #endif
01138             }
01139 
01140             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01141             public static 
01142             void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32[] countersList)
01143             {
01144                 #if DEBUG
01145                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01146                 {
01147                 #endif
01148                 unsafe
01149                 {
01150                     fixed (Int32* countersList_ptr = countersList)
01151                     {
01152                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
01153                     }
01154                 }
01155                 #if DEBUG
01156                 }
01157                 #endif
01158             }
01159 
01160             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01161             public static 
01162             void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, ref Int32 countersList)
01163             {
01164                 #if DEBUG
01165                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01166                 {
01167                 #endif
01168                 unsafe
01169                 {
01170                     fixed (Int32* countersList_ptr = &countersList)
01171                     {
01172                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
01173                     }
01174                 }
01175                 #if DEBUG
01176                 }
01177                 #endif
01178             }
01179 
01180             [System.CLSCompliant(false)]
01181             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01182             public static 
01183             unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32* countersList)
01184             {
01185                 #if DEBUG
01186                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01187                 {
01188                 #endif
01189                 Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList);
01190                 #if DEBUG
01191                 }
01192                 #endif
01193             }
01194 
01195             [System.CLSCompliant(false)]
01196             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01197             public static 
01198             void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32[] countersList)
01199             {
01200                 #if DEBUG
01201                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01202                 {
01203                 #endif
01204                 unsafe
01205                 {
01206                     fixed (UInt32* countersList_ptr = countersList)
01207                     {
01208                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
01209                     }
01210                 }
01211                 #if DEBUG
01212                 }
01213                 #endif
01214             }
01215 
01216             [System.CLSCompliant(false)]
01217             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01218             public static 
01219             void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, ref UInt32 countersList)
01220             {
01221                 #if DEBUG
01222                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01223                 {
01224                 #endif
01225                 unsafe
01226                 {
01227                     fixed (UInt32* countersList_ptr = &countersList)
01228                     {
01229                         Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
01230                     }
01231                 }
01232                 #if DEBUG
01233                 }
01234                 #endif
01235             }
01236 
01237             [System.CLSCompliant(false)]
01238             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
01239             public static 
01240             unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList)
01241             {
01242                 #if DEBUG
01243                 using (new ErrorHelper(GraphicsContext.CurrentContext))
01244                 {
01245                 #endif
01246                 Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList);
01247                 #if DEBUG
01248                 }
01249                 #endif
01250             }
01251 
01252         }
01253 
01254         
01263         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glActiveTexture")]
01264         public static 
01265         void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture)
01266         {
01267             #if DEBUG
01268             using (new ErrorHelper(GraphicsContext.CurrentContext))
01269             {
01270             #endif
01271             Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture);
01272             #if DEBUG
01273             }
01274             #endif
01275         }
01276 
01277         
01291         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
01292         public static 
01293         void AttachShader(Int32 program, Int32 shader)
01294         {
01295             #if DEBUG
01296             using (new ErrorHelper(GraphicsContext.CurrentContext))
01297             {
01298             #endif
01299             Delegates.glAttachShader((UInt32)program, (UInt32)shader);
01300             #if DEBUG
01301             }
01302             #endif
01303         }
01304 
01305         
01319         [System.CLSCompliant(false)]
01320         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
01321         public static 
01322         void AttachShader(UInt32 program, UInt32 shader)
01323         {
01324             #if DEBUG
01325             using (new ErrorHelper(GraphicsContext.CurrentContext))
01326             {
01327             #endif
01328             Delegates.glAttachShader((UInt32)program, (UInt32)shader);
01329             #if DEBUG
01330             }
01331             #endif
01332         }
01333 
01334         
01353         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
01354         public static 
01355         void BindAttribLocation(Int32 program, Int32 index, String name)
01356         {
01357             #if DEBUG
01358             using (new ErrorHelper(GraphicsContext.CurrentContext))
01359             {
01360             #endif
01361             Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
01362             #if DEBUG
01363             }
01364             #endif
01365         }
01366 
01367         
01386         [System.CLSCompliant(false)]
01387         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
01388         public static 
01389         void BindAttribLocation(UInt32 program, UInt32 index, String name)
01390         {
01391             #if DEBUG
01392             using (new ErrorHelper(GraphicsContext.CurrentContext))
01393             {
01394             #endif
01395             Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
01396             #if DEBUG
01397             }
01398             #endif
01399         }
01400 
01401         
01415         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
01416         public static 
01417         void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer)
01418         {
01419             #if DEBUG
01420             using (new ErrorHelper(GraphicsContext.CurrentContext))
01421             {
01422             #endif
01423             Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer);
01424             #if DEBUG
01425             }
01426             #endif
01427         }
01428 
01429         
01443         [System.CLSCompliant(false)]
01444         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
01445         public static 
01446         void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer)
01447         {
01448             #if DEBUG
01449             using (new ErrorHelper(GraphicsContext.CurrentContext))
01450             {
01451             #endif
01452             Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer);
01453             #if DEBUG
01454             }
01455             #endif
01456         }
01457 
01458         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
01459         public static 
01460         void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer)
01461         {
01462             #if DEBUG
01463             using (new ErrorHelper(GraphicsContext.CurrentContext))
01464             {
01465             #endif
01466             Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer);
01467             #if DEBUG
01468             }
01469             #endif
01470         }
01471 
01472         [System.CLSCompliant(false)]
01473         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
01474         public static 
01475         void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer)
01476         {
01477             #if DEBUG
01478             using (new ErrorHelper(GraphicsContext.CurrentContext))
01479             {
01480             #endif
01481             Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer);
01482             #if DEBUG
01483             }
01484             #endif
01485         }
01486 
01487         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
01488         public static 
01489         void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer)
01490         {
01491             #if DEBUG
01492             using (new ErrorHelper(GraphicsContext.CurrentContext))
01493             {
01494             #endif
01495             Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer);
01496             #if DEBUG
01497             }
01498             #endif
01499         }
01500 
01501         [System.CLSCompliant(false)]
01502         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
01503         public static 
01504         void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer)
01505         {
01506             #if DEBUG
01507             using (new ErrorHelper(GraphicsContext.CurrentContext))
01508             {
01509             #endif
01510             Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer);
01511             #if DEBUG
01512             }
01513             #endif
01514         }
01515 
01516         
01530         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
01531         public static 
01532         void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture)
01533         {
01534             #if DEBUG
01535             using (new ErrorHelper(GraphicsContext.CurrentContext))
01536             {
01537             #endif
01538             Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture);
01539             #if DEBUG
01540             }
01541             #endif
01542         }
01543 
01544         
01558         [System.CLSCompliant(false)]
01559         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
01560         public static 
01561         void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture)
01562         {
01563             #if DEBUG
01564             using (new ErrorHelper(GraphicsContext.CurrentContext))
01565             {
01566             #endif
01567             Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture);
01568             #if DEBUG
01569             }
01570             #endif
01571         }
01572 
01573         
01582         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendColor")]
01583         public static 
01584         void BlendColor(Single red, Single green, Single blue, Single alpha)
01585         {
01586             #if DEBUG
01587             using (new ErrorHelper(GraphicsContext.CurrentContext))
01588             {
01589             #endif
01590             Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
01591             #if DEBUG
01592             }
01593             #endif
01594         }
01595 
01596         
01605         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquation")]
01606         public static 
01607         void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode)
01608         {
01609             #if DEBUG
01610             using (new ErrorHelper(GraphicsContext.CurrentContext))
01611             {
01612             #endif
01613             Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode);
01614             #if DEBUG
01615             }
01616             #endif
01617         }
01618 
01619         
01633         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
01634         public static 
01635         void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha)
01636         {
01637             #if DEBUG
01638             using (new ErrorHelper(GraphicsContext.CurrentContext))
01639             {
01640             #endif
01641             Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha);
01642             #if DEBUG
01643             }
01644             #endif
01645         }
01646 
01647         
01661         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFunc")]
01662         public static 
01663         void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor)
01664         {
01665             #if DEBUG
01666             using (new ErrorHelper(GraphicsContext.CurrentContext))
01667             {
01668             #endif
01669             Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor);
01670             #if DEBUG
01671             }
01672             #endif
01673         }
01674 
01675         
01699         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
01700         public static 
01701         void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha)
01702         {
01703             #if DEBUG
01704             using (new ErrorHelper(GraphicsContext.CurrentContext))
01705             {
01706             #endif
01707             Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dstRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dstAlpha);
01708             #if DEBUG
01709             }
01710             #endif
01711         }
01712 
01713         
01737         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
01738         public static 
01739         void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage)
01740         {
01741             #if DEBUG
01742             using (new ErrorHelper(GraphicsContext.CurrentContext))
01743             {
01744             #endif
01745             Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsage)usage);
01746             #if DEBUG
01747             }
01748             #endif
01749         }
01750 
01751         
01775         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
01776         public static 
01777         void BufferData<T2>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsage usage)
01778             where T2 : struct
01779         {
01780             #if DEBUG
01781             using (new ErrorHelper(GraphicsContext.CurrentContext))
01782             {
01783             #endif
01784             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01785             try
01786             {
01787                 Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
01788             }
01789             finally
01790             {
01791                 data_ptr.Free();
01792             }
01793             #if DEBUG
01794             }
01795             #endif
01796         }
01797 
01798         
01822         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
01823         public static 
01824         void BufferData<T2>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage)
01825             where T2 : struct
01826         {
01827             #if DEBUG
01828             using (new ErrorHelper(GraphicsContext.CurrentContext))
01829             {
01830             #endif
01831             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01832             try
01833             {
01834                 Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
01835             }
01836             finally
01837             {
01838                 data_ptr.Free();
01839             }
01840             #if DEBUG
01841             }
01842             #endif
01843         }
01844 
01845         
01869         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
01870         public static 
01871         void BufferData<T2>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage)
01872             where T2 : struct
01873         {
01874             #if DEBUG
01875             using (new ErrorHelper(GraphicsContext.CurrentContext))
01876             {
01877             #endif
01878             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01879             try
01880             {
01881                 Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
01882             }
01883             finally
01884             {
01885                 data_ptr.Free();
01886             }
01887             #if DEBUG
01888             }
01889             #endif
01890         }
01891 
01892         
01916         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
01917         public static 
01918         void BufferData<T2>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsage usage)
01919             where T2 : struct
01920         {
01921             #if DEBUG
01922             using (new ErrorHelper(GraphicsContext.CurrentContext))
01923             {
01924             #endif
01925             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01926             try
01927             {
01928                 Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
01929                 data = (T2)data_ptr.Target;
01930             }
01931             finally
01932             {
01933                 data_ptr.Free();
01934             }
01935             #if DEBUG
01936             }
01937             #endif
01938         }
01939 
01940         
01964         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
01965         public static 
01966         void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
01967         {
01968             #if DEBUG
01969             using (new ErrorHelper(GraphicsContext.CurrentContext))
01970             {
01971             #endif
01972             Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
01973             #if DEBUG
01974             }
01975             #endif
01976         }
01977 
01978         
02002         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
02003         public static 
02004         void BufferSubData<T3>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
02005             where T3 : struct
02006         {
02007             #if DEBUG
02008             using (new ErrorHelper(GraphicsContext.CurrentContext))
02009             {
02010             #endif
02011             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02012             try
02013             {
02014                 Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
02015             }
02016             finally
02017             {
02018                 data_ptr.Free();
02019             }
02020             #if DEBUG
02021             }
02022             #endif
02023         }
02024 
02025         
02049         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
02050         public static 
02051         void BufferSubData<T3>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
02052             where T3 : struct
02053         {
02054             #if DEBUG
02055             using (new ErrorHelper(GraphicsContext.CurrentContext))
02056             {
02057             #endif
02058             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02059             try
02060             {
02061                 Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
02062             }
02063             finally
02064             {
02065                 data_ptr.Free();
02066             }
02067             #if DEBUG
02068             }
02069             #endif
02070         }
02071 
02072         
02096         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
02097         public static 
02098         void BufferSubData<T3>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
02099             where T3 : struct
02100         {
02101             #if DEBUG
02102             using (new ErrorHelper(GraphicsContext.CurrentContext))
02103             {
02104             #endif
02105             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02106             try
02107             {
02108                 Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
02109             }
02110             finally
02111             {
02112                 data_ptr.Free();
02113             }
02114             #if DEBUG
02115             }
02116             #endif
02117         }
02118 
02119         
02143         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
02144         public static 
02145         void BufferSubData<T3>(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
02146             where T3 : struct
02147         {
02148             #if DEBUG
02149             using (new ErrorHelper(GraphicsContext.CurrentContext))
02150             {
02151             #endif
02152             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02153             try
02154             {
02155                 Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
02156                 data = (T3)data_ptr.Target;
02157             }
02158             finally
02159             {
02160                 data_ptr.Free();
02161             }
02162             #if DEBUG
02163             }
02164             #endif
02165         }
02166 
02167         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
02168         public static 
02169         OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target)
02170         {
02171             #if DEBUG
02172             using (new ErrorHelper(GraphicsContext.CurrentContext))
02173             {
02174             #endif
02175             return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target);
02176             #if DEBUG
02177             }
02178             #endif
02179         }
02180 
02181         
02190         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClear")]
02191         public static 
02192         void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask)
02193         {
02194             #if DEBUG
02195             using (new ErrorHelper(GraphicsContext.CurrentContext))
02196             {
02197             #endif
02198             Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask);
02199             #if DEBUG
02200             }
02201             #endif
02202         }
02203 
02204         
02213         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearColor")]
02214         public static 
02215         void ClearColor(Single red, Single green, Single blue, Single alpha)
02216         {
02217             #if DEBUG
02218             using (new ErrorHelper(GraphicsContext.CurrentContext))
02219             {
02220             #endif
02221             Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
02222             #if DEBUG
02223             }
02224             #endif
02225         }
02226 
02227         
02236         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearDepthf")]
02237         public static 
02238         void ClearDepth(Single depth)
02239         {
02240             #if DEBUG
02241             using (new ErrorHelper(GraphicsContext.CurrentContext))
02242             {
02243             #endif
02244             Delegates.glClearDepthf((Single)depth);
02245             #if DEBUG
02246             }
02247             #endif
02248         }
02249 
02250         
02259         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearStencil")]
02260         public static 
02261         void ClearStencil(Int32 s)
02262         {
02263             #if DEBUG
02264             using (new ErrorHelper(GraphicsContext.CurrentContext))
02265             {
02266             #endif
02267             Delegates.glClearStencil((Int32)s);
02268             #if DEBUG
02269             }
02270             #endif
02271         }
02272 
02273         
02282         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glColorMask")]
02283         public static 
02284         void ColorMask(bool red, bool green, bool blue, bool alpha)
02285         {
02286             #if DEBUG
02287             using (new ErrorHelper(GraphicsContext.CurrentContext))
02288             {
02289             #endif
02290             Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
02291             #if DEBUG
02292             }
02293             #endif
02294         }
02295 
02296         
02305         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
02306         public static 
02307         void CompileShader(Int32 shader)
02308         {
02309             #if DEBUG
02310             using (new ErrorHelper(GraphicsContext.CurrentContext))
02311             {
02312             #endif
02313             Delegates.glCompileShader((UInt32)shader);
02314             #if DEBUG
02315             }
02316             #endif
02317         }
02318 
02319         
02328         [System.CLSCompliant(false)]
02329         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
02330         public static 
02331         void CompileShader(UInt32 shader)
02332         {
02333             #if DEBUG
02334             using (new ErrorHelper(GraphicsContext.CurrentContext))
02335             {
02336             #endif
02337             Delegates.glCompileShader((UInt32)shader);
02338             #if DEBUG
02339             }
02340             #endif
02341         }
02342 
02343         
02387         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
02388         public static 
02389         void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
02390         {
02391             #if DEBUG
02392             using (new ErrorHelper(GraphicsContext.CurrentContext))
02393             {
02394             #endif
02395             Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
02396             #if DEBUG
02397             }
02398             #endif
02399         }
02400 
02401         
02445         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
02446         public static 
02447         void CompressedTexImage2D<T7>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
02448             where T7 : struct
02449         {
02450             #if DEBUG
02451             using (new ErrorHelper(GraphicsContext.CurrentContext))
02452             {
02453             #endif
02454             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02455             try
02456             {
02457                 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02458             }
02459             finally
02460             {
02461                 data_ptr.Free();
02462             }
02463             #if DEBUG
02464             }
02465             #endif
02466         }
02467 
02468         
02512         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
02513         public static 
02514         void CompressedTexImage2D<T7>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
02515             where T7 : struct
02516         {
02517             #if DEBUG
02518             using (new ErrorHelper(GraphicsContext.CurrentContext))
02519             {
02520             #endif
02521             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02522             try
02523             {
02524                 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02525             }
02526             finally
02527             {
02528                 data_ptr.Free();
02529             }
02530             #if DEBUG
02531             }
02532             #endif
02533         }
02534 
02535         
02579         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
02580         public static 
02581         void CompressedTexImage2D<T7>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
02582             where T7 : struct
02583         {
02584             #if DEBUG
02585             using (new ErrorHelper(GraphicsContext.CurrentContext))
02586             {
02587             #endif
02588             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02589             try
02590             {
02591                 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02592             }
02593             finally
02594             {
02595                 data_ptr.Free();
02596             }
02597             #if DEBUG
02598             }
02599             #endif
02600         }
02601 
02602         
02646         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
02647         public static 
02648         void CompressedTexImage2D<T7>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
02649             where T7 : struct
02650         {
02651             #if DEBUG
02652             using (new ErrorHelper(GraphicsContext.CurrentContext))
02653             {
02654             #endif
02655             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02656             try
02657             {
02658                 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02659                 data = (T7)data_ptr.Target;
02660             }
02661             finally
02662             {
02663                 data_ptr.Free();
02664             }
02665             #if DEBUG
02666             }
02667             #endif
02668         }
02669 
02670         
02719         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
02720         public static 
02721         void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data)
02722         {
02723             #if DEBUG
02724             using (new ErrorHelper(GraphicsContext.CurrentContext))
02725             {
02726             #endif
02727             Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
02728             #if DEBUG
02729             }
02730             #endif
02731         }
02732 
02733         
02782         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
02783         public static 
02784         void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
02785             where T8 : struct
02786         {
02787             #if DEBUG
02788             using (new ErrorHelper(GraphicsContext.CurrentContext))
02789             {
02790             #endif
02791             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02792             try
02793             {
02794                 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02795             }
02796             finally
02797             {
02798                 data_ptr.Free();
02799             }
02800             #if DEBUG
02801             }
02802             #endif
02803         }
02804 
02805         
02854         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
02855         public static 
02856         void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
02857             where T8 : struct
02858         {
02859             #if DEBUG
02860             using (new ErrorHelper(GraphicsContext.CurrentContext))
02861             {
02862             #endif
02863             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02864             try
02865             {
02866                 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02867             }
02868             finally
02869             {
02870                 data_ptr.Free();
02871             }
02872             #if DEBUG
02873             }
02874             #endif
02875         }
02876 
02877         
02926         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
02927         public static 
02928         void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
02929             where T8 : struct
02930         {
02931             #if DEBUG
02932             using (new ErrorHelper(GraphicsContext.CurrentContext))
02933             {
02934             #endif
02935             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
02936             try
02937             {
02938                 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
02939             }
02940             finally
02941             {
02942                 data_ptr.Free();
02943             }
02944             #if DEBUG
02945             }
02946             #endif
02947         }
02948 
02949         
02998         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
02999         public static 
03000         void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
03001             where T8 : struct
03002         {
03003             #if DEBUG
03004             using (new ErrorHelper(GraphicsContext.CurrentContext))
03005             {
03006             #endif
03007             GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
03008             try
03009             {
03010                 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
03011                 data = (T8)data_ptr.Target;
03012             }
03013             finally
03014             {
03015                 data_ptr.Free();
03016             }
03017             #if DEBUG
03018             }
03019             #endif
03020         }
03021 
03022         
03061         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
03062         public static 
03063         void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
03064         {
03065             #if DEBUG
03066             using (new ErrorHelper(GraphicsContext.CurrentContext))
03067             {
03068             #endif
03069             Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
03070             #if DEBUG
03071             }
03072             #endif
03073         }
03074 
03075         
03114         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
03115         public static 
03116         void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
03117         {
03118             #if DEBUG
03119             using (new ErrorHelper(GraphicsContext.CurrentContext))
03120             {
03121             #endif
03122             Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
03123             #if DEBUG
03124             }
03125             #endif
03126         }
03127 
03128         
03132         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateProgram")]
03133         public static 
03134         Int32 CreateProgram()
03135         {
03136             #if DEBUG
03137             using (new ErrorHelper(GraphicsContext.CurrentContext))
03138             {
03139             #endif
03140             return Delegates.glCreateProgram();
03141             #if DEBUG
03142             }
03143             #endif
03144         }
03145 
03146         
03155         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateShader")]
03156         public static 
03157         Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type)
03158         {
03159             #if DEBUG
03160             using (new ErrorHelper(GraphicsContext.CurrentContext))
03161             {
03162             #endif
03163             return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type);
03164             #if DEBUG
03165             }
03166             #endif
03167         }
03168 
03169         
03178         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCullFace")]
03179         public static 
03180         void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode)
03181         {
03182             #if DEBUG
03183             using (new ErrorHelper(GraphicsContext.CurrentContext))
03184             {
03185             #endif
03186             Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode);
03187             #if DEBUG
03188             }
03189             #endif
03190         }
03191 
03192         
03206         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03207         public static 
03208         void DeleteBuffers(Int32 n, Int32[] buffers)
03209         {
03210             #if DEBUG
03211             using (new ErrorHelper(GraphicsContext.CurrentContext))
03212             {
03213             #endif
03214             unsafe
03215             {
03216                 fixed (Int32* buffers_ptr = buffers)
03217                 {
03218                     Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
03219                 }
03220             }
03221             #if DEBUG
03222             }
03223             #endif
03224         }
03225 
03226         
03240         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03241         public static 
03242         void DeleteBuffers(Int32 n, ref Int32 buffers)
03243         {
03244             #if DEBUG
03245             using (new ErrorHelper(GraphicsContext.CurrentContext))
03246             {
03247             #endif
03248             unsafe
03249             {
03250                 fixed (Int32* buffers_ptr = &buffers)
03251                 {
03252                     Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
03253                 }
03254             }
03255             #if DEBUG
03256             }
03257             #endif
03258         }
03259 
03260         
03274         [System.CLSCompliant(false)]
03275         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03276         public static 
03277         unsafe void DeleteBuffers(Int32 n, Int32* buffers)
03278         {
03279             #if DEBUG
03280             using (new ErrorHelper(GraphicsContext.CurrentContext))
03281             {
03282             #endif
03283             Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
03284             #if DEBUG
03285             }
03286             #endif
03287         }
03288 
03289         
03303         [System.CLSCompliant(false)]
03304         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03305         public static 
03306         void DeleteBuffers(Int32 n, UInt32[] buffers)
03307         {
03308             #if DEBUG
03309             using (new ErrorHelper(GraphicsContext.CurrentContext))
03310             {
03311             #endif
03312             unsafe
03313             {
03314                 fixed (UInt32* buffers_ptr = buffers)
03315                 {
03316                     Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
03317                 }
03318             }
03319             #if DEBUG
03320             }
03321             #endif
03322         }
03323 
03324         
03338         [System.CLSCompliant(false)]
03339         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03340         public static 
03341         void DeleteBuffers(Int32 n, ref UInt32 buffers)
03342         {
03343             #if DEBUG
03344             using (new ErrorHelper(GraphicsContext.CurrentContext))
03345             {
03346             #endif
03347             unsafe
03348             {
03349                 fixed (UInt32* buffers_ptr = &buffers)
03350                 {
03351                     Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
03352                 }
03353             }
03354             #if DEBUG
03355             }
03356             #endif
03357         }
03358 
03359         
03373         [System.CLSCompliant(false)]
03374         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
03375         public static 
03376         unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
03377         {
03378             #if DEBUG
03379             using (new ErrorHelper(GraphicsContext.CurrentContext))
03380             {
03381             #endif
03382             Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
03383             #if DEBUG
03384             }
03385             #endif
03386         }
03387 
03388         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03389         public static 
03390         void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
03391         {
03392             #if DEBUG
03393             using (new ErrorHelper(GraphicsContext.CurrentContext))
03394             {
03395             #endif
03396             unsafe
03397             {
03398                 fixed (Int32* framebuffers_ptr = framebuffers)
03399                 {
03400                     Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
03401                 }
03402             }
03403             #if DEBUG
03404             }
03405             #endif
03406         }
03407 
03408         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03409         public static 
03410         void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
03411         {
03412             #if DEBUG
03413             using (new ErrorHelper(GraphicsContext.CurrentContext))
03414             {
03415             #endif
03416             unsafe
03417             {
03418                 fixed (Int32* framebuffers_ptr = &framebuffers)
03419                 {
03420                     Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
03421                 }
03422             }
03423             #if DEBUG
03424             }
03425             #endif
03426         }
03427 
03428         [System.CLSCompliant(false)]
03429         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03430         public static 
03431         unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
03432         {
03433             #if DEBUG
03434             using (new ErrorHelper(GraphicsContext.CurrentContext))
03435             {
03436             #endif
03437             Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
03438             #if DEBUG
03439             }
03440             #endif
03441         }
03442 
03443         [System.CLSCompliant(false)]
03444         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03445         public static 
03446         void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
03447         {
03448             #if DEBUG
03449             using (new ErrorHelper(GraphicsContext.CurrentContext))
03450             {
03451             #endif
03452             unsafe
03453             {
03454                 fixed (UInt32* framebuffers_ptr = framebuffers)
03455                 {
03456                     Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
03457                 }
03458             }
03459             #if DEBUG
03460             }
03461             #endif
03462         }
03463 
03464         [System.CLSCompliant(false)]
03465         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03466         public static 
03467         void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
03468         {
03469             #if DEBUG
03470             using (new ErrorHelper(GraphicsContext.CurrentContext))
03471             {
03472             #endif
03473             unsafe
03474             {
03475                 fixed (UInt32* framebuffers_ptr = &framebuffers)
03476                 {
03477                     Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
03478                 }
03479             }
03480             #if DEBUG
03481             }
03482             #endif
03483         }
03484 
03485         [System.CLSCompliant(false)]
03486         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
03487         public static 
03488         unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
03489         {
03490             #if DEBUG
03491             using (new ErrorHelper(GraphicsContext.CurrentContext))
03492             {
03493             #endif
03494             Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
03495             #if DEBUG
03496             }
03497             #endif
03498         }
03499 
03500         
03509         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
03510         public static 
03511         void DeleteProgram(Int32 program)
03512         {
03513             #if DEBUG
03514             using (new ErrorHelper(GraphicsContext.CurrentContext))
03515             {
03516             #endif
03517             Delegates.glDeleteProgram((UInt32)program);
03518             #if DEBUG
03519             }
03520             #endif
03521         }
03522 
03523         
03532         [System.CLSCompliant(false)]
03533         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
03534         public static 
03535         void DeleteProgram(UInt32 program)
03536         {
03537             #if DEBUG
03538             using (new ErrorHelper(GraphicsContext.CurrentContext))
03539             {
03540             #endif
03541             Delegates.glDeleteProgram((UInt32)program);
03542             #if DEBUG
03543             }
03544             #endif
03545         }
03546 
03547         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03548         public static 
03549         void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
03550         {
03551             #if DEBUG
03552             using (new ErrorHelper(GraphicsContext.CurrentContext))
03553             {
03554             #endif
03555             unsafe
03556             {
03557                 fixed (Int32* renderbuffers_ptr = renderbuffers)
03558                 {
03559                     Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
03560                 }
03561             }
03562             #if DEBUG
03563             }
03564             #endif
03565         }
03566 
03567         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03568         public static 
03569         void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
03570         {
03571             #if DEBUG
03572             using (new ErrorHelper(GraphicsContext.CurrentContext))
03573             {
03574             #endif
03575             unsafe
03576             {
03577                 fixed (Int32* renderbuffers_ptr = &renderbuffers)
03578                 {
03579                     Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
03580                 }
03581             }
03582             #if DEBUG
03583             }
03584             #endif
03585         }
03586 
03587         [System.CLSCompliant(false)]
03588         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03589         public static 
03590         unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
03591         {
03592             #if DEBUG
03593             using (new ErrorHelper(GraphicsContext.CurrentContext))
03594             {
03595             #endif
03596             Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
03597             #if DEBUG
03598             }
03599             #endif
03600         }
03601 
03602         [System.CLSCompliant(false)]
03603         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03604         public static 
03605         void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
03606         {
03607             #if DEBUG
03608             using (new ErrorHelper(GraphicsContext.CurrentContext))
03609             {
03610             #endif
03611             unsafe
03612             {
03613                 fixed (UInt32* renderbuffers_ptr = renderbuffers)
03614                 {
03615                     Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
03616                 }
03617             }
03618             #if DEBUG
03619             }
03620             #endif
03621         }
03622 
03623         [System.CLSCompliant(false)]
03624         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03625         public static 
03626         void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
03627         {
03628             #if DEBUG
03629             using (new ErrorHelper(GraphicsContext.CurrentContext))
03630             {
03631             #endif
03632             unsafe
03633             {
03634                 fixed (UInt32* renderbuffers_ptr = &renderbuffers)
03635                 {
03636                     Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
03637                 }
03638             }
03639             #if DEBUG
03640             }
03641             #endif
03642         }
03643 
03644         [System.CLSCompliant(false)]
03645         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
03646         public static 
03647         unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
03648         {
03649             #if DEBUG
03650             using (new ErrorHelper(GraphicsContext.CurrentContext))
03651             {
03652             #endif
03653             Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
03654             #if DEBUG
03655             }
03656             #endif
03657         }
03658 
03659         
03668         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
03669         public static 
03670         void DeleteShader(Int32 shader)
03671         {
03672             #if DEBUG
03673             using (new ErrorHelper(GraphicsContext.CurrentContext))
03674             {
03675             #endif
03676             Delegates.glDeleteShader((UInt32)shader);
03677             #if DEBUG
03678             }
03679             #endif
03680         }
03681 
03682         
03691         [System.CLSCompliant(false)]
03692         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
03693         public static 
03694         void DeleteShader(UInt32 shader)
03695         {
03696             #if DEBUG
03697             using (new ErrorHelper(GraphicsContext.CurrentContext))
03698             {
03699             #endif
03700             Delegates.glDeleteShader((UInt32)shader);
03701             #if DEBUG
03702             }
03703             #endif
03704         }
03705 
03706         
03720         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03721         public static 
03722         void DeleteTextures(Int32 n, Int32[] textures)
03723         {
03724             #if DEBUG
03725             using (new ErrorHelper(GraphicsContext.CurrentContext))
03726             {
03727             #endif
03728             unsafe
03729             {
03730                 fixed (Int32* textures_ptr = textures)
03731                 {
03732                     Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
03733                 }
03734             }
03735             #if DEBUG
03736             }
03737             #endif
03738         }
03739 
03740         
03754         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03755         public static 
03756         void DeleteTextures(Int32 n, ref Int32 textures)
03757         {
03758             #if DEBUG
03759             using (new ErrorHelper(GraphicsContext.CurrentContext))
03760             {
03761             #endif
03762             unsafe
03763             {
03764                 fixed (Int32* textures_ptr = &textures)
03765                 {
03766                     Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
03767                 }
03768             }
03769             #if DEBUG
03770             }
03771             #endif
03772         }
03773 
03774         
03788         [System.CLSCompliant(false)]
03789         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03790         public static 
03791         unsafe void DeleteTextures(Int32 n, Int32* textures)
03792         {
03793             #if DEBUG
03794             using (new ErrorHelper(GraphicsContext.CurrentContext))
03795             {
03796             #endif
03797             Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
03798             #if DEBUG
03799             }
03800             #endif
03801         }
03802 
03803         
03817         [System.CLSCompliant(false)]
03818         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03819         public static 
03820         void DeleteTextures(Int32 n, UInt32[] textures)
03821         {
03822             #if DEBUG
03823             using (new ErrorHelper(GraphicsContext.CurrentContext))
03824             {
03825             #endif
03826             unsafe
03827             {
03828                 fixed (UInt32* textures_ptr = textures)
03829                 {
03830                     Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
03831                 }
03832             }
03833             #if DEBUG
03834             }
03835             #endif
03836         }
03837 
03838         
03852         [System.CLSCompliant(false)]
03853         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03854         public static 
03855         void DeleteTextures(Int32 n, ref UInt32 textures)
03856         {
03857             #if DEBUG
03858             using (new ErrorHelper(GraphicsContext.CurrentContext))
03859             {
03860             #endif
03861             unsafe
03862             {
03863                 fixed (UInt32* textures_ptr = &textures)
03864                 {
03865                     Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
03866                 }
03867             }
03868             #if DEBUG
03869             }
03870             #endif
03871         }
03872 
03873         
03887         [System.CLSCompliant(false)]
03888         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
03889         public static 
03890         unsafe void DeleteTextures(Int32 n, UInt32* textures)
03891         {
03892             #if DEBUG
03893             using (new ErrorHelper(GraphicsContext.CurrentContext))
03894             {
03895             #endif
03896             Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
03897             #if DEBUG
03898             }
03899             #endif
03900         }
03901 
03902         
03911         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthFunc")]
03912         public static 
03913         void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func)
03914         {
03915             #if DEBUG
03916             using (new ErrorHelper(GraphicsContext.CurrentContext))
03917             {
03918             #endif
03919             Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func);
03920             #if DEBUG
03921             }
03922             #endif
03923         }
03924 
03925         
03934         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthMask")]
03935         public static 
03936         void DepthMask(bool flag)
03937         {
03938             #if DEBUG
03939             using (new ErrorHelper(GraphicsContext.CurrentContext))
03940             {
03941             #endif
03942             Delegates.glDepthMask((bool)flag);
03943             #if DEBUG
03944             }
03945             #endif
03946         }
03947 
03948         
03962         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthRangef")]
03963         public static 
03964         void DepthRange(Single zNear, Single zFar)
03965         {
03966             #if DEBUG
03967             using (new ErrorHelper(GraphicsContext.CurrentContext))
03968             {
03969             #endif
03970             Delegates.glDepthRangef((Single)zNear, (Single)zFar);
03971             #if DEBUG
03972             }
03973             #endif
03974         }
03975 
03976         
03990         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
03991         public static 
03992         void DetachShader(Int32 program, Int32 shader)
03993         {
03994             #if DEBUG
03995             using (new ErrorHelper(GraphicsContext.CurrentContext))
03996             {
03997             #endif
03998             Delegates.glDetachShader((UInt32)program, (UInt32)shader);
03999             #if DEBUG
04000             }
04001             #endif
04002         }
04003 
04004         
04018         [System.CLSCompliant(false)]
04019         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
04020         public static 
04021         void DetachShader(UInt32 program, UInt32 shader)
04022         {
04023             #if DEBUG
04024             using (new ErrorHelper(GraphicsContext.CurrentContext))
04025             {
04026             #endif
04027             Delegates.glDetachShader((UInt32)program, (UInt32)shader);
04028             #if DEBUG
04029             }
04030             #endif
04031         }
04032 
04033         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisable")]
04034         public static 
04035         void Disable(OpenTK.Graphics.ES20.EnableCap cap)
04036         {
04037             #if DEBUG
04038             using (new ErrorHelper(GraphicsContext.CurrentContext))
04039             {
04040             #endif
04041             Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap);
04042             #if DEBUG
04043             }
04044             #endif
04045         }
04046 
04047         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")]
04048         public static 
04049         void DisableDriverControlQCOM(Int32 driverControl)
04050         {
04051             #if DEBUG
04052             using (new ErrorHelper(GraphicsContext.CurrentContext))
04053             {
04054             #endif
04055             Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
04056             #if DEBUG
04057             }
04058             #endif
04059         }
04060 
04061         [System.CLSCompliant(false)]
04062         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableDriverControlQCOM")]
04063         public static 
04064         void DisableDriverControlQCOM(UInt32 driverControl)
04065         {
04066             #if DEBUG
04067             using (new ErrorHelper(GraphicsContext.CurrentContext))
04068             {
04069             #endif
04070             Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
04071             #if DEBUG
04072             }
04073             #endif
04074         }
04075 
04076         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
04077         public static 
04078         void DisableVertexAttribArray(Int32 index)
04079         {
04080             #if DEBUG
04081             using (new ErrorHelper(GraphicsContext.CurrentContext))
04082             {
04083             #endif
04084             Delegates.glDisableVertexAttribArray((UInt32)index);
04085             #if DEBUG
04086             }
04087             #endif
04088         }
04089 
04090         [System.CLSCompliant(false)]
04091         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
04092         public static 
04093         void DisableVertexAttribArray(UInt32 index)
04094         {
04095             #if DEBUG
04096             using (new ErrorHelper(GraphicsContext.CurrentContext))
04097             {
04098             #endif
04099             Delegates.glDisableVertexAttribArray((UInt32)index);
04100             #if DEBUG
04101             }
04102             #endif
04103         }
04104 
04105         
04124         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawArrays")]
04125         public static 
04126         void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count)
04127         {
04128             #if DEBUG
04129             using (new ErrorHelper(GraphicsContext.CurrentContext))
04130             {
04131             #endif
04132             Delegates.glDrawArrays((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)first, (Int32)count);
04133             #if DEBUG
04134             }
04135             #endif
04136         }
04137 
04138         
04162         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
04163         public static 
04164         void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices)
04165         {
04166             #if DEBUG
04167             using (new ErrorHelper(GraphicsContext.CurrentContext))
04168             {
04169             #endif
04170             Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices);
04171             #if DEBUG
04172             }
04173             #endif
04174         }
04175 
04176         
04200         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
04201         public static 
04202         void DrawElements<T3>(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices)
04203             where T3 : struct
04204         {
04205             #if DEBUG
04206             using (new ErrorHelper(GraphicsContext.CurrentContext))
04207             {
04208             #endif
04209             GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
04210             try
04211             {
04212                 Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
04213             }
04214             finally
04215             {
04216                 indices_ptr.Free();
04217             }
04218             #if DEBUG
04219             }
04220             #endif
04221         }
04222 
04223         
04247         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
04248         public static 
04249         void DrawElements<T3>(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices)
04250             where T3 : struct
04251         {
04252             #if DEBUG
04253             using (new ErrorHelper(GraphicsContext.CurrentContext))
04254             {
04255             #endif
04256             GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
04257             try
04258             {
04259                 Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
04260             }
04261             finally
04262             {
04263                 indices_ptr.Free();
04264             }
04265             #if DEBUG
04266             }
04267             #endif
04268         }
04269 
04270         
04294         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
04295         public static 
04296         void DrawElements<T3>(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices)
04297             where T3 : struct
04298         {
04299             #if DEBUG
04300             using (new ErrorHelper(GraphicsContext.CurrentContext))
04301             {
04302             #endif
04303             GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
04304             try
04305             {
04306                 Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
04307             }
04308             finally
04309             {
04310                 indices_ptr.Free();
04311             }
04312             #if DEBUG
04313             }
04314             #endif
04315         }
04316 
04317         
04341         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
04342         public static 
04343         void DrawElements<T3>(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices)
04344             where T3 : struct
04345         {
04346             #if DEBUG
04347             using (new ErrorHelper(GraphicsContext.CurrentContext))
04348             {
04349             #endif
04350             GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
04351             try
04352             {
04353                 Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
04354                 indices = (T3)indices_ptr.Target;
04355             }
04356             finally
04357             {
04358                 indices_ptr.Free();
04359             }
04360             #if DEBUG
04361             }
04362             #endif
04363         }
04364 
04365         
04374         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnable")]
04375         public static 
04376         void Enable(OpenTK.Graphics.ES20.EnableCap cap)
04377         {
04378             #if DEBUG
04379             using (new ErrorHelper(GraphicsContext.CurrentContext))
04380             {
04381             #endif
04382             Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap);
04383             #if DEBUG
04384             }
04385             #endif
04386         }
04387 
04388         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")]
04389         public static 
04390         void EnableDriverControlQCOM(Int32 driverControl)
04391         {
04392             #if DEBUG
04393             using (new ErrorHelper(GraphicsContext.CurrentContext))
04394             {
04395             #endif
04396             Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
04397             #if DEBUG
04398             }
04399             #endif
04400         }
04401 
04402         [System.CLSCompliant(false)]
04403         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableDriverControlQCOM")]
04404         public static 
04405         void EnableDriverControlQCOM(UInt32 driverControl)
04406         {
04407             #if DEBUG
04408             using (new ErrorHelper(GraphicsContext.CurrentContext))
04409             {
04410             #endif
04411             Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
04412             #if DEBUG
04413             }
04414             #endif
04415         }
04416 
04417         
04426         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
04427         public static 
04428         void EnableVertexAttribArray(Int32 index)
04429         {
04430             #if DEBUG
04431             using (new ErrorHelper(GraphicsContext.CurrentContext))
04432             {
04433             #endif
04434             Delegates.glEnableVertexAttribArray((UInt32)index);
04435             #if DEBUG
04436             }
04437             #endif
04438         }
04439 
04440         
04449         [System.CLSCompliant(false)]
04450         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
04451         public static 
04452         void EnableVertexAttribArray(UInt32 index)
04453         {
04454             #if DEBUG
04455             using (new ErrorHelper(GraphicsContext.CurrentContext))
04456             {
04457             #endif
04458             Delegates.glEnableVertexAttribArray((UInt32)index);
04459             #if DEBUG
04460             }
04461             #endif
04462         }
04463 
04464         
04468         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinish")]
04469         public static 
04470         void Finish()
04471         {
04472             #if DEBUG
04473             using (new ErrorHelper(GraphicsContext.CurrentContext))
04474             {
04475             #endif
04476             Delegates.glFinish();
04477             #if DEBUG
04478             }
04479             #endif
04480         }
04481 
04482         
04486         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFlush")]
04487         public static 
04488         void Flush()
04489         {
04490             #if DEBUG
04491             using (new ErrorHelper(GraphicsContext.CurrentContext))
04492             {
04493             #endif
04494             Delegates.glFlush();
04495             #if DEBUG
04496             }
04497             #endif
04498         }
04499 
04500         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
04501         public static 
04502         void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
04503         {
04504             #if DEBUG
04505             using (new ErrorHelper(GraphicsContext.CurrentContext))
04506             {
04507             #endif
04508             Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
04509             #if DEBUG
04510             }
04511             #endif
04512         }
04513 
04514         [System.CLSCompliant(false)]
04515         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
04516         public static 
04517         void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
04518         {
04519             #if DEBUG
04520             using (new ErrorHelper(GraphicsContext.CurrentContext))
04521             {
04522             #endif
04523             Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
04524             #if DEBUG
04525             }
04526             #endif
04527         }
04528 
04529         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
04530         public static 
04531         void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level)
04532         {
04533             #if DEBUG
04534             using (new ErrorHelper(GraphicsContext.CurrentContext))
04535             {
04536             #endif
04537             Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level);
04538             #if DEBUG
04539             }
04540             #endif
04541         }
04542 
04543         [System.CLSCompliant(false)]
04544         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
04545         public static 
04546         void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level)
04547         {
04548             #if DEBUG
04549             using (new ErrorHelper(GraphicsContext.CurrentContext))
04550             {
04551             #endif
04552             Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level);
04553             #if DEBUG
04554             }
04555             #endif
04556         }
04557 
04558         
04567         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFrontFace")]
04568         public static 
04569         void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode)
04570         {
04571             #if DEBUG
04572             using (new ErrorHelper(GraphicsContext.CurrentContext))
04573             {
04574             #endif
04575             Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode);
04576             #if DEBUG
04577             }
04578             #endif
04579         }
04580 
04581         
04595         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04596         public static 
04597         void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers)
04598         {
04599             #if DEBUG
04600             using (new ErrorHelper(GraphicsContext.CurrentContext))
04601             {
04602             #endif
04603             unsafe
04604             {
04605                 fixed (Int32* buffers_ptr = buffers)
04606                 {
04607                     Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
04608                 }
04609             }
04610             #if DEBUG
04611             }
04612             #endif
04613         }
04614 
04615         
04629         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04630         public static 
04631         void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers)
04632         {
04633             #if DEBUG
04634             using (new ErrorHelper(GraphicsContext.CurrentContext))
04635             {
04636             #endif
04637             unsafe
04638             {
04639                 fixed (Int32* buffers_ptr = &buffers)
04640                 {
04641                     Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
04642                     buffers = *buffers_ptr;
04643                 }
04644             }
04645             #if DEBUG
04646             }
04647             #endif
04648         }
04649 
04650         
04664         [System.CLSCompliant(false)]
04665         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04666         public static 
04667         unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers)
04668         {
04669             #if DEBUG
04670             using (new ErrorHelper(GraphicsContext.CurrentContext))
04671             {
04672             #endif
04673             Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
04674             #if DEBUG
04675             }
04676             #endif
04677         }
04678 
04679         
04693         [System.CLSCompliant(false)]
04694         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04695         public static 
04696         void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers)
04697         {
04698             #if DEBUG
04699             using (new ErrorHelper(GraphicsContext.CurrentContext))
04700             {
04701             #endif
04702             unsafe
04703             {
04704                 fixed (UInt32* buffers_ptr = buffers)
04705                 {
04706                     Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
04707                 }
04708             }
04709             #if DEBUG
04710             }
04711             #endif
04712         }
04713 
04714         
04728         [System.CLSCompliant(false)]
04729         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04730         public static 
04731         void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers)
04732         {
04733             #if DEBUG
04734             using (new ErrorHelper(GraphicsContext.CurrentContext))
04735             {
04736             #endif
04737             unsafe
04738             {
04739                 fixed (UInt32* buffers_ptr = &buffers)
04740                 {
04741                     Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
04742                     buffers = *buffers_ptr;
04743                 }
04744             }
04745             #if DEBUG
04746             }
04747             #endif
04748         }
04749 
04750         
04764         [System.CLSCompliant(false)]
04765         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
04766         public static 
04767         unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers)
04768         {
04769             #if DEBUG
04770             using (new ErrorHelper(GraphicsContext.CurrentContext))
04771             {
04772             #endif
04773             Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
04774             #if DEBUG
04775             }
04776             #endif
04777         }
04778 
04779         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
04780         public static 
04781         void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target)
04782         {
04783             #if DEBUG
04784             using (new ErrorHelper(GraphicsContext.CurrentContext))
04785             {
04786             #endif
04787             Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target);
04788             #if DEBUG
04789             }
04790             #endif
04791         }
04792 
04793         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04794         public static 
04795         void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers)
04796         {
04797             #if DEBUG
04798             using (new ErrorHelper(GraphicsContext.CurrentContext))
04799             {
04800             #endif
04801             unsafe
04802             {
04803                 fixed (Int32* framebuffers_ptr = framebuffers)
04804                 {
04805                     Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
04806                 }
04807             }
04808             #if DEBUG
04809             }
04810             #endif
04811         }
04812 
04813         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04814         public static 
04815         void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers)
04816         {
04817             #if DEBUG
04818             using (new ErrorHelper(GraphicsContext.CurrentContext))
04819             {
04820             #endif
04821             unsafe
04822             {
04823                 fixed (Int32* framebuffers_ptr = &framebuffers)
04824                 {
04825                     Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
04826                     framebuffers = *framebuffers_ptr;
04827                 }
04828             }
04829             #if DEBUG
04830             }
04831             #endif
04832         }
04833 
04834         [System.CLSCompliant(false)]
04835         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04836         public static 
04837         unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers)
04838         {
04839             #if DEBUG
04840             using (new ErrorHelper(GraphicsContext.CurrentContext))
04841             {
04842             #endif
04843             Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
04844             #if DEBUG
04845             }
04846             #endif
04847         }
04848 
04849         [System.CLSCompliant(false)]
04850         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04851         public static 
04852         void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers)
04853         {
04854             #if DEBUG
04855             using (new ErrorHelper(GraphicsContext.CurrentContext))
04856             {
04857             #endif
04858             unsafe
04859             {
04860                 fixed (UInt32* framebuffers_ptr = framebuffers)
04861                 {
04862                     Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
04863                 }
04864             }
04865             #if DEBUG
04866             }
04867             #endif
04868         }
04869 
04870         [System.CLSCompliant(false)]
04871         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04872         public static 
04873         void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers)
04874         {
04875             #if DEBUG
04876             using (new ErrorHelper(GraphicsContext.CurrentContext))
04877             {
04878             #endif
04879             unsafe
04880             {
04881                 fixed (UInt32* framebuffers_ptr = &framebuffers)
04882                 {
04883                     Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
04884                     framebuffers = *framebuffers_ptr;
04885                 }
04886             }
04887             #if DEBUG
04888             }
04889             #endif
04890         }
04891 
04892         [System.CLSCompliant(false)]
04893         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
04894         public static 
04895         unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers)
04896         {
04897             #if DEBUG
04898             using (new ErrorHelper(GraphicsContext.CurrentContext))
04899             {
04900             #endif
04901             Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
04902             #if DEBUG
04903             }
04904             #endif
04905         }
04906 
04907         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
04908         public static 
04909         void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers)
04910         {
04911             #if DEBUG
04912             using (new ErrorHelper(GraphicsContext.CurrentContext))
04913             {
04914             #endif
04915             unsafe
04916             {
04917                 fixed (Int32* renderbuffers_ptr = renderbuffers)
04918                 {
04919                     Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
04920                 }
04921             }
04922             #if DEBUG
04923             }
04924             #endif
04925         }
04926 
04927         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
04928         public static 
04929         void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers)
04930         {
04931             #if DEBUG
04932             using (new ErrorHelper(GraphicsContext.CurrentContext))
04933             {
04934             #endif
04935             unsafe
04936             {
04937                 fixed (Int32* renderbuffers_ptr = &renderbuffers)
04938                 {
04939                     Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
04940                     renderbuffers = *renderbuffers_ptr;
04941                 }
04942             }
04943             #if DEBUG
04944             }
04945             #endif
04946         }
04947 
04948         [System.CLSCompliant(false)]
04949         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
04950         public static 
04951         unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers)
04952         {
04953             #if DEBUG
04954             using (new ErrorHelper(GraphicsContext.CurrentContext))
04955             {
04956             #endif
04957             Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
04958             #if DEBUG
04959             }
04960             #endif
04961         }
04962 
04963         [System.CLSCompliant(false)]
04964         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
04965         public static 
04966         void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers)
04967         {
04968             #if DEBUG
04969             using (new ErrorHelper(GraphicsContext.CurrentContext))
04970             {
04971             #endif
04972             unsafe
04973             {
04974                 fixed (UInt32* renderbuffers_ptr = renderbuffers)
04975                 {
04976                     Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
04977                 }
04978             }
04979             #if DEBUG
04980             }
04981             #endif
04982         }
04983 
04984         [System.CLSCompliant(false)]
04985         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
04986         public static 
04987         void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers)
04988         {
04989             #if DEBUG
04990             using (new ErrorHelper(GraphicsContext.CurrentContext))
04991             {
04992             #endif
04993             unsafe
04994             {
04995                 fixed (UInt32* renderbuffers_ptr = &renderbuffers)
04996                 {
04997                     Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
04998                     renderbuffers = *renderbuffers_ptr;
04999                 }
05000             }
05001             #if DEBUG
05002             }
05003             #endif
05004         }
05005 
05006         [System.CLSCompliant(false)]
05007         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
05008         public static 
05009         unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers)
05010         {
05011             #if DEBUG
05012             using (new ErrorHelper(GraphicsContext.CurrentContext))
05013             {
05014             #endif
05015             Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
05016             #if DEBUG
05017             }
05018             #endif
05019         }
05020 
05021         
05035         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05036         public static 
05037         void GenTextures(Int32 n, [OutAttribute] Int32[] textures)
05038         {
05039             #if DEBUG
05040             using (new ErrorHelper(GraphicsContext.CurrentContext))
05041             {
05042             #endif
05043             unsafe
05044             {
05045                 fixed (Int32* textures_ptr = textures)
05046                 {
05047                     Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
05048                 }
05049             }
05050             #if DEBUG
05051             }
05052             #endif
05053         }
05054 
05055         
05069         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05070         public static 
05071         void GenTextures(Int32 n, [OutAttribute] out Int32 textures)
05072         {
05073             #if DEBUG
05074             using (new ErrorHelper(GraphicsContext.CurrentContext))
05075             {
05076             #endif
05077             unsafe
05078             {
05079                 fixed (Int32* textures_ptr = &textures)
05080                 {
05081                     Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
05082                     textures = *textures_ptr;
05083                 }
05084             }
05085             #if DEBUG
05086             }
05087             #endif
05088         }
05089 
05090         
05104         [System.CLSCompliant(false)]
05105         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05106         public static 
05107         unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures)
05108         {
05109             #if DEBUG
05110             using (new ErrorHelper(GraphicsContext.CurrentContext))
05111             {
05112             #endif
05113             Delegates.glGenTextures((Int32)n, (UInt32*)textures);
05114             #if DEBUG
05115             }
05116             #endif
05117         }
05118 
05119         
05133         [System.CLSCompliant(false)]
05134         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05135         public static 
05136         void GenTextures(Int32 n, [OutAttribute] UInt32[] textures)
05137         {
05138             #if DEBUG
05139             using (new ErrorHelper(GraphicsContext.CurrentContext))
05140             {
05141             #endif
05142             unsafe
05143             {
05144                 fixed (UInt32* textures_ptr = textures)
05145                 {
05146                     Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
05147                 }
05148             }
05149             #if DEBUG
05150             }
05151             #endif
05152         }
05153 
05154         
05168         [System.CLSCompliant(false)]
05169         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05170         public static 
05171         void GenTextures(Int32 n, [OutAttribute] out UInt32 textures)
05172         {
05173             #if DEBUG
05174             using (new ErrorHelper(GraphicsContext.CurrentContext))
05175             {
05176             #endif
05177             unsafe
05178             {
05179                 fixed (UInt32* textures_ptr = &textures)
05180                 {
05181                     Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
05182                     textures = *textures_ptr;
05183                 }
05184             }
05185             #if DEBUG
05186             }
05187             #endif
05188         }
05189 
05190         
05204         [System.CLSCompliant(false)]
05205         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
05206         public static 
05207         unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures)
05208         {
05209             #if DEBUG
05210             using (new ErrorHelper(GraphicsContext.CurrentContext))
05211             {
05212             #endif
05213             Delegates.glGenTextures((Int32)n, (UInt32*)textures);
05214             #if DEBUG
05215             }
05216             #endif
05217         }
05218 
05219         
05258         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05259         public static 
05260         void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name)
05261         {
05262             #if DEBUG
05263             using (new ErrorHelper(GraphicsContext.CurrentContext))
05264             {
05265             #endif
05266             unsafe
05267             {
05268                 fixed (Int32* length_ptr = length)
05269                 fixed (Int32* size_ptr = size)
05270                 fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type)
05271                 {
05272                     Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
05273                 }
05274             }
05275             #if DEBUG
05276             }
05277             #endif
05278         }
05279 
05280         
05319         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05320         public static 
05321         void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name)
05322         {
05323             #if DEBUG
05324             using (new ErrorHelper(GraphicsContext.CurrentContext))
05325             {
05326             #endif
05327             unsafe
05328             {
05329                 fixed (Int32* length_ptr = &length)
05330                 fixed (Int32* size_ptr = &size)
05331                 fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type)
05332                 {
05333                     Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
05334                     length = *length_ptr;
05335                     size = *size_ptr;
05336                     type = *type_ptr;
05337                 }
05338             }
05339             #if DEBUG
05340             }
05341             #endif
05342         }
05343 
05344         
05383         [System.CLSCompliant(false)]
05384         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05385         public static 
05386         unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name)
05387         {
05388             #if DEBUG
05389             using (new ErrorHelper(GraphicsContext.CurrentContext))
05390             {
05391             #endif
05392             Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name);
05393             #if DEBUG
05394             }
05395             #endif
05396         }
05397 
05398         
05437         [System.CLSCompliant(false)]
05438         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05439         public static 
05440         void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name)
05441         {
05442             #if DEBUG
05443             using (new ErrorHelper(GraphicsContext.CurrentContext))
05444             {
05445             #endif
05446             unsafe
05447             {
05448                 fixed (Int32* length_ptr = length)
05449                 fixed (Int32* size_ptr = size)
05450                 fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type)
05451                 {
05452                     Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
05453                 }
05454             }
05455             #if DEBUG
05456             }
05457             #endif
05458         }
05459 
05460         
05499         [System.CLSCompliant(false)]
05500         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05501         public static 
05502         void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name)
05503         {
05504             #if DEBUG
05505             using (new ErrorHelper(GraphicsContext.CurrentContext))
05506             {
05507             #endif
05508             unsafe
05509             {
05510                 fixed (Int32* length_ptr = &length)
05511                 fixed (Int32* size_ptr = &size)
05512                 fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type)
05513                 {
05514                     Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
05515                     length = *length_ptr;
05516                     size = *size_ptr;
05517                     type = *type_ptr;
05518                 }
05519             }
05520             #if DEBUG
05521             }
05522             #endif
05523         }
05524 
05525         
05564         [System.CLSCompliant(false)]
05565         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
05566         public static 
05567         unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name)
05568         {
05569             #if DEBUG
05570             using (new ErrorHelper(GraphicsContext.CurrentContext))
05571             {
05572             #endif
05573             Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name);
05574             #if DEBUG
05575             }
05576             #endif
05577         }
05578 
05579         
05618         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05619         public static 
05620         void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name)
05621         {
05622             #if DEBUG
05623             using (new ErrorHelper(GraphicsContext.CurrentContext))
05624             {
05625             #endif
05626             unsafe
05627             {
05628                 fixed (Int32* length_ptr = length)
05629                 fixed (Int32* size_ptr = size)
05630                 fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type)
05631                 {
05632                     Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
05633                 }
05634             }
05635             #if DEBUG
05636             }
05637             #endif
05638         }
05639 
05640         
05679         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05680         public static 
05681         void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name)
05682         {
05683             #if DEBUG
05684             using (new ErrorHelper(GraphicsContext.CurrentContext))
05685             {
05686             #endif
05687             unsafe
05688             {
05689                 fixed (Int32* length_ptr = &length)
05690                 fixed (Int32* size_ptr = &size)
05691                 fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type)
05692                 {
05693                     Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
05694                     length = *length_ptr;
05695                     size = *size_ptr;
05696                     type = *type_ptr;
05697                 }
05698             }
05699             #if DEBUG
05700             }
05701             #endif
05702         }
05703 
05704         
05743         [System.CLSCompliant(false)]
05744         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05745         public static 
05746         unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name)
05747         {
05748             #if DEBUG
05749             using (new ErrorHelper(GraphicsContext.CurrentContext))
05750             {
05751             #endif
05752             Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name);
05753             #if DEBUG
05754             }
05755             #endif
05756         }
05757 
05758         
05797         [System.CLSCompliant(false)]
05798         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05799         public static 
05800         void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name)
05801         {
05802             #if DEBUG
05803             using (new ErrorHelper(GraphicsContext.CurrentContext))
05804             {
05805             #endif
05806             unsafe
05807             {
05808                 fixed (Int32* length_ptr = length)
05809                 fixed (Int32* size_ptr = size)
05810                 fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type)
05811                 {
05812                     Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
05813                 }
05814             }
05815             #if DEBUG
05816             }
05817             #endif
05818         }
05819 
05820         
05859         [System.CLSCompliant(false)]
05860         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05861         public static 
05862         void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name)
05863         {
05864             #if DEBUG
05865             using (new ErrorHelper(GraphicsContext.CurrentContext))
05866             {
05867             #endif
05868             unsafe
05869             {
05870                 fixed (Int32* length_ptr = &length)
05871                 fixed (Int32* size_ptr = &size)
05872                 fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type)
05873                 {
05874                     Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
05875                     length = *length_ptr;
05876                     size = *size_ptr;
05877                     type = *type_ptr;
05878                 }
05879             }
05880             #if DEBUG
05881             }
05882             #endif
05883         }
05884 
05885         
05924         [System.CLSCompliant(false)]
05925         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
05926         public static 
05927         unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name)
05928         {
05929             #if DEBUG
05930             using (new ErrorHelper(GraphicsContext.CurrentContext))
05931             {
05932             #endif
05933             Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name);
05934             #if DEBUG
05935             }
05936             #endif
05937         }
05938 
05939         
05963         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
05964         public static 
05965         void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] Int32[] shaders)
05966         {
05967             #if DEBUG
05968             using (new ErrorHelper(GraphicsContext.CurrentContext))
05969             {
05970             #endif
05971             unsafe
05972             {
05973                 fixed (Int32* count_ptr = count)
05974                 fixed (Int32* shaders_ptr = shaders)
05975                 {
05976                     Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
05977                 }
05978             }
05979             #if DEBUG
05980             }
05981             #endif
05982         }
05983 
05984         
06008         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
06009         public static 
06010         void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders)
06011         {
06012             #if DEBUG
06013             using (new ErrorHelper(GraphicsContext.CurrentContext))
06014             {
06015             #endif
06016             unsafe
06017             {
06018                 fixed (Int32* count_ptr = &count)
06019                 fixed (Int32* shaders_ptr = &shaders)
06020                 {
06021                     Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
06022                     count = *count_ptr;
06023                     shaders = *shaders_ptr;
06024                 }
06025             }
06026             #if DEBUG
06027             }
06028             #endif
06029         }
06030 
06031         
06055         [System.CLSCompliant(false)]
06056         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
06057         public static 
06058         unsafe void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders)
06059         {
06060             #if DEBUG
06061             using (new ErrorHelper(GraphicsContext.CurrentContext))
06062             {
06063             #endif
06064             Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders);
06065             #if DEBUG
06066             }
06067             #endif
06068         }
06069 
06070         
06094         [System.CLSCompliant(false)]
06095         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
06096         public static 
06097         void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] UInt32[] shaders)
06098         {
06099             #if DEBUG
06100             using (new ErrorHelper(GraphicsContext.CurrentContext))
06101             {
06102             #endif
06103             unsafe
06104             {
06105                 fixed (Int32* count_ptr = count)
06106                 fixed (UInt32* shaders_ptr = shaders)
06107                 {
06108                     Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
06109                 }
06110             }
06111             #if DEBUG
06112             }
06113             #endif
06114         }
06115 
06116         
06140         [System.CLSCompliant(false)]
06141         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
06142         public static 
06143         void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders)
06144         {
06145             #if DEBUG
06146             using (new ErrorHelper(GraphicsContext.CurrentContext))
06147             {
06148             #endif
06149             unsafe
06150             {
06151                 fixed (Int32* count_ptr = &count)
06152                 fixed (UInt32* shaders_ptr = &shaders)
06153                 {
06154                     Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
06155                     count = *count_ptr;
06156                     shaders = *shaders_ptr;
06157                 }
06158             }
06159             #if DEBUG
06160             }
06161             #endif
06162         }
06163 
06164         
06188         [System.CLSCompliant(false)]
06189         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
06190         public static 
06191         unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders)
06192         {
06193             #if DEBUG
06194             using (new ErrorHelper(GraphicsContext.CurrentContext))
06195             {
06196             #endif
06197             Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders);
06198             #if DEBUG
06199             }
06200             #endif
06201         }
06202 
06203         
06217         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
06218         public static 
06219         int GetAttribLocation(Int32 program, String name)
06220         {
06221             #if DEBUG
06222             using (new ErrorHelper(GraphicsContext.CurrentContext))
06223             {
06224             #endif
06225             return Delegates.glGetAttribLocation((UInt32)program, (String)name);
06226             #if DEBUG
06227             }
06228             #endif
06229         }
06230 
06231         
06245         [System.CLSCompliant(false)]
06246         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
06247         public static 
06248         int GetAttribLocation(UInt32 program, String name)
06249         {
06250             #if DEBUG
06251             using (new ErrorHelper(GraphicsContext.CurrentContext))
06252             {
06253             #endif
06254             return Delegates.glGetAttribLocation((UInt32)program, (String)name);
06255             #if DEBUG
06256             }
06257             #endif
06258         }
06259 
06260         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
06261         public static 
06262         void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] @params)
06263         {
06264             #if DEBUG
06265             using (new ErrorHelper(GraphicsContext.CurrentContext))
06266             {
06267             #endif
06268             unsafe
06269             {
06270                 fixed (bool* @params_ptr = @params)
06271                 {
06272                     Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr);
06273                 }
06274             }
06275             #if DEBUG
06276             }
06277             #endif
06278         }
06279 
06280         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
06281         public static 
06282         void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out bool @params)
06283         {
06284             #if DEBUG
06285             using (new ErrorHelper(GraphicsContext.CurrentContext))
06286             {
06287             #endif
06288             unsafe
06289             {
06290                 fixed (bool* @params_ptr = &@params)
06291                 {
06292                     Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr);
06293                     @params = *@params_ptr;
06294                 }
06295             }
06296             #if DEBUG
06297             }
06298             #endif
06299         }
06300 
06301         [System.CLSCompliant(false)]
06302         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
06303         public static 
06304         unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params)
06305         {
06306             #if DEBUG
06307             using (new ErrorHelper(GraphicsContext.CurrentContext))
06308             {
06309             #endif
06310             Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params);
06311             #if DEBUG
06312             }
06313             #endif
06314         }
06315 
06316         
06335         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
06336         public static 
06337         void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32[] @params)
06338         {
06339             #if DEBUG
06340             using (new ErrorHelper(GraphicsContext.CurrentContext))
06341             {
06342             #endif
06343             unsafe
06344             {
06345                 fixed (Int32* @params_ptr = @params)
06346                 {
06347                     Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr);
06348                 }
06349             }
06350             #if DEBUG
06351             }
06352             #endif
06353         }
06354 
06355         
06374         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
06375         public static 
06376         void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] out Int32 @params)
06377         {
06378             #if DEBUG
06379             using (new ErrorHelper(GraphicsContext.CurrentContext))
06380             {
06381             #endif
06382             unsafe
06383             {
06384                 fixed (Int32* @params_ptr = &@params)
06385                 {
06386                     Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr);
06387                     @params = *@params_ptr;
06388                 }
06389             }
06390             #if DEBUG
06391             }
06392             #endif
06393         }
06394 
06395         
06414         [System.CLSCompliant(false)]
06415         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
06416         public static 
06417         unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params)
06418         {
06419             #if DEBUG
06420             using (new ErrorHelper(GraphicsContext.CurrentContext))
06421             {
06422             #endif
06423             Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params);
06424             #if DEBUG
06425             }
06426             #endif
06427         }
06428 
06429         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06430         public static 
06431         void GetDriverControlsQCOM([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls)
06432         {
06433             #if DEBUG
06434             using (new ErrorHelper(GraphicsContext.CurrentContext))
06435             {
06436             #endif
06437             unsafe
06438             {
06439                 fixed (Int32* num_ptr = num)
06440                 fixed (Int32* driverControls_ptr = driverControls)
06441                 {
06442                     Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
06443                 }
06444             }
06445             #if DEBUG
06446             }
06447             #endif
06448         }
06449 
06450         [System.CLSCompliant(false)]
06451         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06452         public static 
06453         void GetDriverControlsQCOM([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls)
06454         {
06455             #if DEBUG
06456             using (new ErrorHelper(GraphicsContext.CurrentContext))
06457             {
06458             #endif
06459             unsafe
06460             {
06461                 fixed (Int32* num_ptr = num)
06462                 fixed (UInt32* driverControls_ptr = driverControls)
06463                 {
06464                     Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
06465                 }
06466             }
06467             #if DEBUG
06468             }
06469             #endif
06470         }
06471 
06472         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06473         public static 
06474         void GetDriverControlsQCOM([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls)
06475         {
06476             #if DEBUG
06477             using (new ErrorHelper(GraphicsContext.CurrentContext))
06478             {
06479             #endif
06480             unsafe
06481             {
06482                 fixed (Int32* num_ptr = &num)
06483                 fixed (Int32* driverControls_ptr = &driverControls)
06484                 {
06485                     Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
06486                     num = *num_ptr;
06487                     driverControls = *driverControls_ptr;
06488                 }
06489             }
06490             #if DEBUG
06491             }
06492             #endif
06493         }
06494 
06495         [System.CLSCompliant(false)]
06496         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06497         public static 
06498         void GetDriverControlsQCOM([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls)
06499         {
06500             #if DEBUG
06501             using (new ErrorHelper(GraphicsContext.CurrentContext))
06502             {
06503             #endif
06504             unsafe
06505             {
06506                 fixed (Int32* num_ptr = &num)
06507                 fixed (UInt32* driverControls_ptr = &driverControls)
06508                 {
06509                     Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
06510                     num = *num_ptr;
06511                     driverControls = *driverControls_ptr;
06512                 }
06513             }
06514             #if DEBUG
06515             }
06516             #endif
06517         }
06518 
06519         [System.CLSCompliant(false)]
06520         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06521         public static 
06522         unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls)
06523         {
06524             #if DEBUG
06525             using (new ErrorHelper(GraphicsContext.CurrentContext))
06526             {
06527             #endif
06528             Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
06529             #if DEBUG
06530             }
06531             #endif
06532         }
06533 
06534         [System.CLSCompliant(false)]
06535         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlsQCOM")]
06536         public static 
06537         unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls)
06538         {
06539             #if DEBUG
06540             using (new ErrorHelper(GraphicsContext.CurrentContext))
06541             {
06542             #endif
06543             Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
06544             #if DEBUG
06545             }
06546             #endif
06547         }
06548 
06549         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06550         public static 
06551         void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString)
06552         {
06553             #if DEBUG
06554             using (new ErrorHelper(GraphicsContext.CurrentContext))
06555             {
06556             #endif
06557             unsafe
06558             {
06559                 fixed (Int32* length_ptr = length)
06560                 {
06561                     Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
06562                 }
06563             }
06564             #if DEBUG
06565             }
06566             #endif
06567         }
06568 
06569         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06570         public static 
06571         void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString)
06572         {
06573             #if DEBUG
06574             using (new ErrorHelper(GraphicsContext.CurrentContext))
06575             {
06576             #endif
06577             unsafe
06578             {
06579                 fixed (Int32* length_ptr = &length)
06580                 {
06581                     Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
06582                     length = *length_ptr;
06583                 }
06584             }
06585             #if DEBUG
06586             }
06587             #endif
06588         }
06589 
06590         [System.CLSCompliant(false)]
06591         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06592         public static 
06593         unsafe void GetDriverControlStringQCOM(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString)
06594         {
06595             #if DEBUG
06596             using (new ErrorHelper(GraphicsContext.CurrentContext))
06597             {
06598             #endif
06599             Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString);
06600             #if DEBUG
06601             }
06602             #endif
06603         }
06604 
06605         [System.CLSCompliant(false)]
06606         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06607         public static 
06608         void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString)
06609         {
06610             #if DEBUG
06611             using (new ErrorHelper(GraphicsContext.CurrentContext))
06612             {
06613             #endif
06614             unsafe
06615             {
06616                 fixed (Int32* length_ptr = length)
06617                 {
06618                     Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
06619                 }
06620             }
06621             #if DEBUG
06622             }
06623             #endif
06624         }
06625 
06626         [System.CLSCompliant(false)]
06627         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06628         public static 
06629         void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString)
06630         {
06631             #if DEBUG
06632             using (new ErrorHelper(GraphicsContext.CurrentContext))
06633             {
06634             #endif
06635             unsafe
06636             {
06637                 fixed (Int32* length_ptr = &length)
06638                 {
06639                     Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
06640                     length = *length_ptr;
06641                 }
06642             }
06643             #if DEBUG
06644             }
06645             #endif
06646         }
06647 
06648         [System.CLSCompliant(false)]
06649         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetDriverControlStringQCOM")]
06650         public static 
06651         unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString)
06652         {
06653             #if DEBUG
06654             using (new ErrorHelper(GraphicsContext.CurrentContext))
06655             {
06656             #endif
06657             Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString);
06658             #if DEBUG
06659             }
06660             #endif
06661         }
06662 
06663         
06667         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetError")]
06668         public static 
06669         OpenTK.Graphics.ES20.ErrorCode GetError()
06670         {
06671             return Delegates.glGetError();
06672         }
06673 
06674         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
06675         public static 
06676         void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] @params)
06677         {
06678             #if DEBUG
06679             using (new ErrorHelper(GraphicsContext.CurrentContext))
06680             {
06681             #endif
06682             unsafe
06683             {
06684                 fixed (Single* @params_ptr = @params)
06685                 {
06686                     Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr);
06687                 }
06688             }
06689             #if DEBUG
06690             }
06691             #endif
06692         }
06693 
06694         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
06695         public static 
06696         void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Single @params)
06697         {
06698             #if DEBUG
06699             using (new ErrorHelper(GraphicsContext.CurrentContext))
06700             {
06701             #endif
06702             unsafe
06703             {
06704                 fixed (Single* @params_ptr = &@params)
06705                 {
06706                     Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr);
06707                     @params = *@params_ptr;
06708                 }
06709             }
06710             #if DEBUG
06711             }
06712             #endif
06713         }
06714 
06715         [System.CLSCompliant(false)]
06716         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
06717         public static 
06718         unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params)
06719         {
06720             #if DEBUG
06721             using (new ErrorHelper(GraphicsContext.CurrentContext))
06722             {
06723             #endif
06724             Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params);
06725             #if DEBUG
06726             }
06727             #endif
06728         }
06729 
06730         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
06731         public static 
06732         void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params)
06733         {
06734             #if DEBUG
06735             using (new ErrorHelper(GraphicsContext.CurrentContext))
06736             {
06737             #endif
06738             unsafe
06739             {
06740                 fixed (Int32* @params_ptr = @params)
06741                 {
06742                     Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr);
06743                 }
06744             }
06745             #if DEBUG
06746             }
06747             #endif
06748         }
06749 
06750         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
06751         public static 
06752         void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params)
06753         {
06754             #if DEBUG
06755             using (new ErrorHelper(GraphicsContext.CurrentContext))
06756             {
06757             #endif
06758             unsafe
06759             {
06760                 fixed (Int32* @params_ptr = &@params)
06761                 {
06762                     Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr);
06763                     @params = *@params_ptr;
06764                 }
06765             }
06766             #if DEBUG
06767             }
06768             #endif
06769         }
06770 
06771         [System.CLSCompliant(false)]
06772         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
06773         public static 
06774         unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params)
06775         {
06776             #if DEBUG
06777             using (new ErrorHelper(GraphicsContext.CurrentContext))
06778             {
06779             #endif
06780             Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params);
06781             #if DEBUG
06782             }
06783             #endif
06784         }
06785 
06786         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
06787         public static 
06788         void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] @params)
06789         {
06790             #if DEBUG
06791             using (new ErrorHelper(GraphicsContext.CurrentContext))
06792             {
06793             #endif
06794             unsafe
06795             {
06796                 fixed (Int32* @params_ptr = @params)
06797                 {
06798                     Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr);
06799                 }
06800             }
06801             #if DEBUG
06802             }
06803             #endif
06804         }
06805 
06806         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
06807         public static 
06808         void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int32 @params)
06809         {
06810             #if DEBUG
06811             using (new ErrorHelper(GraphicsContext.CurrentContext))
06812             {
06813             #endif
06814             unsafe
06815             {
06816                 fixed (Int32* @params_ptr = &@params)
06817                 {
06818                     Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr);
06819                     @params = *@params_ptr;
06820                 }
06821             }
06822             #if DEBUG
06823             }
06824             #endif
06825         }
06826 
06827         [System.CLSCompliant(false)]
06828         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
06829         public static 
06830         unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params)
06831         {
06832             #if DEBUG
06833             using (new ErrorHelper(GraphicsContext.CurrentContext))
06834             {
06835             #endif
06836             Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params);
06837             #if DEBUG
06838             }
06839             #endif
06840         }
06841 
06842         
06866         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
06867         public static 
06868         void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
06869         {
06870             #if DEBUG
06871             using (new ErrorHelper(GraphicsContext.CurrentContext))
06872             {
06873             #endif
06874             unsafe
06875             {
06876                 fixed (Int32* length_ptr = length)
06877                 {
06878                     Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
06879                 }
06880             }
06881             #if DEBUG
06882             }
06883             #endif
06884         }
06885 
06886         
06910         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
06911         public static 
06912         void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
06913         {
06914             #if DEBUG
06915             using (new ErrorHelper(GraphicsContext.CurrentContext))
06916             {
06917             #endif
06918             unsafe
06919             {
06920                 fixed (Int32* length_ptr = &length)
06921                 {
06922                     Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
06923                     length = *length_ptr;
06924                 }
06925             }
06926             #if DEBUG
06927             }
06928             #endif
06929         }
06930 
06931         
06955         [System.CLSCompliant(false)]
06956         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
06957         public static 
06958         unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
06959         {
06960             #if DEBUG
06961             using (new ErrorHelper(GraphicsContext.CurrentContext))
06962             {
06963             #endif
06964             Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
06965             #if DEBUG
06966             }
06967             #endif
06968         }
06969 
06970         
06994         [System.CLSCompliant(false)]
06995         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
06996         public static 
06997         void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
06998         {
06999             #if DEBUG
07000             using (new ErrorHelper(GraphicsContext.CurrentContext))
07001             {
07002             #endif
07003             unsafe
07004             {
07005                 fixed (Int32* length_ptr = length)
07006                 {
07007                     Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07008                 }
07009             }
07010             #if DEBUG
07011             }
07012             #endif
07013         }
07014 
07015         
07039         [System.CLSCompliant(false)]
07040         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
07041         public static 
07042         void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
07043         {
07044             #if DEBUG
07045             using (new ErrorHelper(GraphicsContext.CurrentContext))
07046             {
07047             #endif
07048             unsafe
07049             {
07050                 fixed (Int32* length_ptr = &length)
07051                 {
07052                     Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07053                     length = *length_ptr;
07054                 }
07055             }
07056             #if DEBUG
07057             }
07058             #endif
07059         }
07060 
07061         
07085         [System.CLSCompliant(false)]
07086         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
07087         public static 
07088         unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
07089         {
07090             #if DEBUG
07091             using (new ErrorHelper(GraphicsContext.CurrentContext))
07092             {
07093             #endif
07094             Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
07095             #if DEBUG
07096             }
07097             #endif
07098         }
07099 
07100         
07119         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07120         public static 
07121         void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params)
07122         {
07123             #if DEBUG
07124             using (new ErrorHelper(GraphicsContext.CurrentContext))
07125             {
07126             #endif
07127             unsafe
07128             {
07129                 fixed (Int32* @params_ptr = @params)
07130                 {
07131                     Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
07132                 }
07133             }
07134             #if DEBUG
07135             }
07136             #endif
07137         }
07138 
07139         
07158         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07159         public static 
07160         void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params)
07161         {
07162             #if DEBUG
07163             using (new ErrorHelper(GraphicsContext.CurrentContext))
07164             {
07165             #endif
07166             unsafe
07167             {
07168                 fixed (Int32* @params_ptr = &@params)
07169                 {
07170                     Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
07171                     @params = *@params_ptr;
07172                 }
07173             }
07174             #if DEBUG
07175             }
07176             #endif
07177         }
07178 
07179         
07198         [System.CLSCompliant(false)]
07199         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07200         public static 
07201         unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params)
07202         {
07203             #if DEBUG
07204             using (new ErrorHelper(GraphicsContext.CurrentContext))
07205             {
07206             #endif
07207             Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params);
07208             #if DEBUG
07209             }
07210             #endif
07211         }
07212 
07213         
07232         [System.CLSCompliant(false)]
07233         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07234         public static 
07235         void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params)
07236         {
07237             #if DEBUG
07238             using (new ErrorHelper(GraphicsContext.CurrentContext))
07239             {
07240             #endif
07241             unsafe
07242             {
07243                 fixed (Int32* @params_ptr = @params)
07244                 {
07245                     Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
07246                 }
07247             }
07248             #if DEBUG
07249             }
07250             #endif
07251         }
07252 
07253         
07272         [System.CLSCompliant(false)]
07273         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07274         public static 
07275         void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params)
07276         {
07277             #if DEBUG
07278             using (new ErrorHelper(GraphicsContext.CurrentContext))
07279             {
07280             #endif
07281             unsafe
07282             {
07283                 fixed (Int32* @params_ptr = &@params)
07284                 {
07285                     Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
07286                     @params = *@params_ptr;
07287                 }
07288             }
07289             #if DEBUG
07290             }
07291             #endif
07292         }
07293 
07294         
07313         [System.CLSCompliant(false)]
07314         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
07315         public static 
07316         unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params)
07317         {
07318             #if DEBUG
07319             using (new ErrorHelper(GraphicsContext.CurrentContext))
07320             {
07321             #endif
07322             Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params);
07323             #if DEBUG
07324             }
07325             #endif
07326         }
07327 
07328         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
07329         public static 
07330         void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32[] @params)
07331         {
07332             #if DEBUG
07333             using (new ErrorHelper(GraphicsContext.CurrentContext))
07334             {
07335             #endif
07336             unsafe
07337             {
07338                 fixed (Int32* @params_ptr = @params)
07339                 {
07340                     Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr);
07341                 }
07342             }
07343             #if DEBUG
07344             }
07345             #endif
07346         }
07347 
07348         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
07349         public static 
07350         void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] out Int32 @params)
07351         {
07352             #if DEBUG
07353             using (new ErrorHelper(GraphicsContext.CurrentContext))
07354             {
07355             #endif
07356             unsafe
07357             {
07358                 fixed (Int32* @params_ptr = &@params)
07359                 {
07360                     Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr);
07361                     @params = *@params_ptr;
07362                 }
07363             }
07364             #if DEBUG
07365             }
07366             #endif
07367         }
07368 
07369         [System.CLSCompliant(false)]
07370         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
07371         public static 
07372         unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params)
07373         {
07374             #if DEBUG
07375             using (new ErrorHelper(GraphicsContext.CurrentContext))
07376             {
07377             #endif
07378             Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params);
07379             #if DEBUG
07380             }
07381             #endif
07382         }
07383 
07384         
07408         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07409         public static 
07410         void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
07411         {
07412             #if DEBUG
07413             using (new ErrorHelper(GraphicsContext.CurrentContext))
07414             {
07415             #endif
07416             unsafe
07417             {
07418                 fixed (Int32* length_ptr = length)
07419                 {
07420                     Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07421                 }
07422             }
07423             #if DEBUG
07424             }
07425             #endif
07426         }
07427 
07428         
07452         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07453         public static 
07454         void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
07455         {
07456             #if DEBUG
07457             using (new ErrorHelper(GraphicsContext.CurrentContext))
07458             {
07459             #endif
07460             unsafe
07461             {
07462                 fixed (Int32* length_ptr = &length)
07463                 {
07464                     Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07465                     length = *length_ptr;
07466                 }
07467             }
07468             #if DEBUG
07469             }
07470             #endif
07471         }
07472 
07473         
07497         [System.CLSCompliant(false)]
07498         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07499         public static 
07500         unsafe void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
07501         {
07502             #if DEBUG
07503             using (new ErrorHelper(GraphicsContext.CurrentContext))
07504             {
07505             #endif
07506             Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
07507             #if DEBUG
07508             }
07509             #endif
07510         }
07511 
07512         
07536         [System.CLSCompliant(false)]
07537         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07538         public static 
07539         void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
07540         {
07541             #if DEBUG
07542             using (new ErrorHelper(GraphicsContext.CurrentContext))
07543             {
07544             #endif
07545             unsafe
07546             {
07547                 fixed (Int32* length_ptr = length)
07548                 {
07549                     Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07550                 }
07551             }
07552             #if DEBUG
07553             }
07554             #endif
07555         }
07556 
07557         
07581         [System.CLSCompliant(false)]
07582         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07583         public static 
07584         void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
07585         {
07586             #if DEBUG
07587             using (new ErrorHelper(GraphicsContext.CurrentContext))
07588             {
07589             #endif
07590             unsafe
07591             {
07592                 fixed (Int32* length_ptr = &length)
07593                 {
07594                     Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
07595                     length = *length_ptr;
07596                 }
07597             }
07598             #if DEBUG
07599             }
07600             #endif
07601         }
07602 
07603         
07627         [System.CLSCompliant(false)]
07628         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
07629         public static 
07630         unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
07631         {
07632             #if DEBUG
07633             using (new ErrorHelper(GraphicsContext.CurrentContext))
07634             {
07635             #endif
07636             Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
07637             #if DEBUG
07638             }
07639             #endif
07640         }
07641 
07642         
07661         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07662         public static 
07663         void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params)
07664         {
07665             #if DEBUG
07666             using (new ErrorHelper(GraphicsContext.CurrentContext))
07667             {
07668             #endif
07669             unsafe
07670             {
07671                 fixed (Int32* @params_ptr = @params)
07672                 {
07673                     Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
07674                 }
07675             }
07676             #if DEBUG
07677             }
07678             #endif
07679         }
07680 
07681         
07700         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07701         public static 
07702         void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params)
07703         {
07704             #if DEBUG
07705             using (new ErrorHelper(GraphicsContext.CurrentContext))
07706             {
07707             #endif
07708             unsafe
07709             {
07710                 fixed (Int32* @params_ptr = &@params)
07711                 {
07712                     Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
07713                     @params = *@params_ptr;
07714                 }
07715             }
07716             #if DEBUG
07717             }
07718             #endif
07719         }
07720 
07721         
07740         [System.CLSCompliant(false)]
07741         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07742         public static 
07743         unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params)
07744         {
07745             #if DEBUG
07746             using (new ErrorHelper(GraphicsContext.CurrentContext))
07747             {
07748             #endif
07749             Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params);
07750             #if DEBUG
07751             }
07752             #endif
07753         }
07754 
07755         
07774         [System.CLSCompliant(false)]
07775         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07776         public static 
07777         void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params)
07778         {
07779             #if DEBUG
07780             using (new ErrorHelper(GraphicsContext.CurrentContext))
07781             {
07782             #endif
07783             unsafe
07784             {
07785                 fixed (Int32* @params_ptr = @params)
07786                 {
07787                     Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
07788                 }
07789             }
07790             #if DEBUG
07791             }
07792             #endif
07793         }
07794 
07795         
07814         [System.CLSCompliant(false)]
07815         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07816         public static 
07817         void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params)
07818         {
07819             #if DEBUG
07820             using (new ErrorHelper(GraphicsContext.CurrentContext))
07821             {
07822             #endif
07823             unsafe
07824             {
07825                 fixed (Int32* @params_ptr = &@params)
07826                 {
07827                     Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
07828                     @params = *@params_ptr;
07829                 }
07830             }
07831             #if DEBUG
07832             }
07833             #endif
07834         }
07835 
07836         
07855         [System.CLSCompliant(false)]
07856         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
07857         public static 
07858         unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params)
07859         {
07860             #if DEBUG
07861             using (new ErrorHelper(GraphicsContext.CurrentContext))
07862             {
07863             #endif
07864             Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params);
07865             #if DEBUG
07866             }
07867             #endif
07868         }
07869 
07870         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
07871         public static 
07872         void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision)
07873         {
07874             #if DEBUG
07875             using (new ErrorHelper(GraphicsContext.CurrentContext))
07876             {
07877             #endif
07878             unsafe
07879             {
07880                 fixed (Int32* range_ptr = range)
07881                 fixed (Int32* precision_ptr = precision)
07882                 {
07883                     Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
07884                 }
07885             }
07886             #if DEBUG
07887             }
07888             #endif
07889         }
07890 
07891         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
07892         public static 
07893         void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision)
07894         {
07895             #if DEBUG
07896             using (new ErrorHelper(GraphicsContext.CurrentContext))
07897             {
07898             #endif
07899             unsafe
07900             {
07901                 fixed (Int32* range_ptr = &range)
07902                 fixed (Int32* precision_ptr = &precision)
07903                 {
07904                     Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
07905                     range = *range_ptr;
07906                     precision = *precision_ptr;
07907                 }
07908             }
07909             #if DEBUG
07910             }
07911             #endif
07912         }
07913 
07914         [System.CLSCompliant(false)]
07915         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
07916         public static 
07917         unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision)
07918         {
07919             #if DEBUG
07920             using (new ErrorHelper(GraphicsContext.CurrentContext))
07921             {
07922             #endif
07923             Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision);
07924             #if DEBUG
07925             }
07926             #endif
07927         }
07928 
07929         
07953         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
07954         public static 
07955         void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
07956         {
07957             #if DEBUG
07958             using (new ErrorHelper(GraphicsContext.CurrentContext))
07959             {
07960             #endif
07961             unsafe
07962             {
07963                 fixed (Int32* length_ptr = length)
07964                 {
07965                     Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
07966                 }
07967             }
07968             #if DEBUG
07969             }
07970             #endif
07971         }
07972 
07973         
07997         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
07998         public static 
07999         void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
08000         {
08001             #if DEBUG
08002             using (new ErrorHelper(GraphicsContext.CurrentContext))
08003             {
08004             #endif
08005             unsafe
08006             {
08007                 fixed (Int32* length_ptr = &length)
08008                 {
08009                     Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
08010                     length = *length_ptr;
08011                 }
08012             }
08013             #if DEBUG
08014             }
08015             #endif
08016         }
08017 
08018         
08042         [System.CLSCompliant(false)]
08043         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
08044         public static 
08045         unsafe void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
08046         {
08047             #if DEBUG
08048             using (new ErrorHelper(GraphicsContext.CurrentContext))
08049             {
08050             #endif
08051             Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
08052             #if DEBUG
08053             }
08054             #endif
08055         }
08056 
08057         
08081         [System.CLSCompliant(false)]
08082         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
08083         public static 
08084         void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
08085         {
08086             #if DEBUG
08087             using (new ErrorHelper(GraphicsContext.CurrentContext))
08088             {
08089             #endif
08090             unsafe
08091             {
08092                 fixed (Int32* length_ptr = length)
08093                 {
08094                     Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
08095                 }
08096             }
08097             #if DEBUG
08098             }
08099             #endif
08100         }
08101 
08102         
08126         [System.CLSCompliant(false)]
08127         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
08128         public static 
08129         void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
08130         {
08131             #if DEBUG
08132             using (new ErrorHelper(GraphicsContext.CurrentContext))
08133             {
08134             #endif
08135             unsafe
08136             {
08137                 fixed (Int32* length_ptr = &length)
08138                 {
08139                     Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
08140                     length = *length_ptr;
08141                 }
08142             }
08143             #if DEBUG
08144             }
08145             #endif
08146         }
08147 
08148         
08172         [System.CLSCompliant(false)]
08173         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
08174         public static 
08175         unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
08176         {
08177             #if DEBUG
08178             using (new ErrorHelper(GraphicsContext.CurrentContext))
08179             {
08180             #endif
08181             Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
08182             #if DEBUG
08183             }
08184             #endif
08185         }
08186 
08187         
08196         [System.CLSCompliant(false)]
08197         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetString")]
08198         public static 
08199         unsafe System.String GetString(OpenTK.Graphics.ES20.StringName name)
08200         {
08201             #if DEBUG
08202             using (new ErrorHelper(GraphicsContext.CurrentContext))
08203             {
08204             #endif
08205             unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name)); }
08206             #if DEBUG
08207             }
08208             #endif
08209         }
08210 
08211         
08230         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
08231         public static 
08232         void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single[] @params)
08233         {
08234             #if DEBUG
08235             using (new ErrorHelper(GraphicsContext.CurrentContext))
08236             {
08237             #endif
08238             unsafe
08239             {
08240                 fixed (Single* @params_ptr = @params)
08241                 {
08242                     Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr);
08243                 }
08244             }
08245             #if DEBUG
08246             }
08247             #endif
08248         }
08249 
08250         
08269         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
08270         public static 
08271         void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Single @params)
08272         {
08273             #if DEBUG
08274             using (new ErrorHelper(GraphicsContext.CurrentContext))
08275             {
08276             #endif
08277             unsafe
08278             {
08279                 fixed (Single* @params_ptr = &@params)
08280                 {
08281                     Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr);
08282                     @params = *@params_ptr;
08283                 }
08284             }
08285             #if DEBUG
08286             }
08287             #endif
08288         }
08289 
08290         
08309         [System.CLSCompliant(false)]
08310         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
08311         public static 
08312         unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params)
08313         {
08314             #if DEBUG
08315             using (new ErrorHelper(GraphicsContext.CurrentContext))
08316             {
08317             #endif
08318             Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params);
08319             #if DEBUG
08320             }
08321             #endif
08322         }
08323 
08324         
08343         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
08344         public static 
08345         void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32[] @params)
08346         {
08347             #if DEBUG
08348             using (new ErrorHelper(GraphicsContext.CurrentContext))
08349             {
08350             #endif
08351             unsafe
08352             {
08353                 fixed (Int32* @params_ptr = @params)
08354                 {
08355                     Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr);
08356                 }
08357             }
08358             #if DEBUG
08359             }
08360             #endif
08361         }
08362 
08363         
08382         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
08383         public static 
08384         void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Int32 @params)
08385         {
08386             #if DEBUG
08387             using (new ErrorHelper(GraphicsContext.CurrentContext))
08388             {
08389             #endif
08390             unsafe
08391             {
08392                 fixed (Int32* @params_ptr = &@params)
08393                 {
08394                     Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr);
08395                     @params = *@params_ptr;
08396                 }
08397             }
08398             #if DEBUG
08399             }
08400             #endif
08401         }
08402 
08403         
08422         [System.CLSCompliant(false)]
08423         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
08424         public static 
08425         unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params)
08426         {
08427             #if DEBUG
08428             using (new ErrorHelper(GraphicsContext.CurrentContext))
08429             {
08430             #endif
08431             Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params);
08432             #if DEBUG
08433             }
08434             #endif
08435         }
08436 
08437         
08456         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08457         public static 
08458         void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params)
08459         {
08460             #if DEBUG
08461             using (new ErrorHelper(GraphicsContext.CurrentContext))
08462             {
08463             #endif
08464             unsafe
08465             {
08466                 fixed (Single* @params_ptr = @params)
08467                 {
08468                     Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
08469                 }
08470             }
08471             #if DEBUG
08472             }
08473             #endif
08474         }
08475 
08476         
08495         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08496         public static 
08497         void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params)
08498         {
08499             #if DEBUG
08500             using (new ErrorHelper(GraphicsContext.CurrentContext))
08501             {
08502             #endif
08503             unsafe
08504             {
08505                 fixed (Single* @params_ptr = &@params)
08506                 {
08507                     Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
08508                     @params = *@params_ptr;
08509                 }
08510             }
08511             #if DEBUG
08512             }
08513             #endif
08514         }
08515 
08516         
08535         [System.CLSCompliant(false)]
08536         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08537         public static 
08538         unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params)
08539         {
08540             #if DEBUG
08541             using (new ErrorHelper(GraphicsContext.CurrentContext))
08542             {
08543             #endif
08544             Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
08545             #if DEBUG
08546             }
08547             #endif
08548         }
08549 
08550         
08569         [System.CLSCompliant(false)]
08570         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08571         public static 
08572         void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params)
08573         {
08574             #if DEBUG
08575             using (new ErrorHelper(GraphicsContext.CurrentContext))
08576             {
08577             #endif
08578             unsafe
08579             {
08580                 fixed (Single* @params_ptr = @params)
08581                 {
08582                     Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
08583                 }
08584             }
08585             #if DEBUG
08586             }
08587             #endif
08588         }
08589 
08590         
08609         [System.CLSCompliant(false)]
08610         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08611         public static 
08612         void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params)
08613         {
08614             #if DEBUG
08615             using (new ErrorHelper(GraphicsContext.CurrentContext))
08616             {
08617             #endif
08618             unsafe
08619             {
08620                 fixed (Single* @params_ptr = &@params)
08621                 {
08622                     Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
08623                     @params = *@params_ptr;
08624                 }
08625             }
08626             #if DEBUG
08627             }
08628             #endif
08629         }
08630 
08631         
08650         [System.CLSCompliant(false)]
08651         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
08652         public static 
08653         unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params)
08654         {
08655             #if DEBUG
08656             using (new ErrorHelper(GraphicsContext.CurrentContext))
08657             {
08658             #endif
08659             Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
08660             #if DEBUG
08661             }
08662             #endif
08663         }
08664 
08665         
08684         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08685         public static 
08686         void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params)
08687         {
08688             #if DEBUG
08689             using (new ErrorHelper(GraphicsContext.CurrentContext))
08690             {
08691             #endif
08692             unsafe
08693             {
08694                 fixed (Int32* @params_ptr = @params)
08695                 {
08696                     Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
08697                 }
08698             }
08699             #if DEBUG
08700             }
08701             #endif
08702         }
08703 
08704         
08723         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08724         public static 
08725         void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params)
08726         {
08727             #if DEBUG
08728             using (new ErrorHelper(GraphicsContext.CurrentContext))
08729             {
08730             #endif
08731             unsafe
08732             {
08733                 fixed (Int32* @params_ptr = &@params)
08734                 {
08735                     Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
08736                     @params = *@params_ptr;
08737                 }
08738             }
08739             #if DEBUG
08740             }
08741             #endif
08742         }
08743 
08744         
08763         [System.CLSCompliant(false)]
08764         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08765         public static 
08766         unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params)
08767         {
08768             #if DEBUG
08769             using (new ErrorHelper(GraphicsContext.CurrentContext))
08770             {
08771             #endif
08772             Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
08773             #if DEBUG
08774             }
08775             #endif
08776         }
08777 
08778         
08797         [System.CLSCompliant(false)]
08798         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08799         public static 
08800         void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params)
08801         {
08802             #if DEBUG
08803             using (new ErrorHelper(GraphicsContext.CurrentContext))
08804             {
08805             #endif
08806             unsafe
08807             {
08808                 fixed (Int32* @params_ptr = @params)
08809                 {
08810                     Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
08811                 }
08812             }
08813             #if DEBUG
08814             }
08815             #endif
08816         }
08817 
08818         
08837         [System.CLSCompliant(false)]
08838         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08839         public static 
08840         void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params)
08841         {
08842             #if DEBUG
08843             using (new ErrorHelper(GraphicsContext.CurrentContext))
08844             {
08845             #endif
08846             unsafe
08847             {
08848                 fixed (Int32* @params_ptr = &@params)
08849                 {
08850                     Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
08851                     @params = *@params_ptr;
08852                 }
08853             }
08854             #if DEBUG
08855             }
08856             #endif
08857         }
08858 
08859         
08878         [System.CLSCompliant(false)]
08879         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
08880         public static 
08881         unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params)
08882         {
08883             #if DEBUG
08884             using (new ErrorHelper(GraphicsContext.CurrentContext))
08885             {
08886             #endif
08887             Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
08888             #if DEBUG
08889             }
08890             #endif
08891         }
08892 
08893         
08907         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
08908         public static 
08909         int GetUniformLocation(Int32 program, String name)
08910         {
08911             #if DEBUG
08912             using (new ErrorHelper(GraphicsContext.CurrentContext))
08913             {
08914             #endif
08915             return Delegates.glGetUniformLocation((UInt32)program, (String)name);
08916             #if DEBUG
08917             }
08918             #endif
08919         }
08920 
08921         
08935         [System.CLSCompliant(false)]
08936         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
08937         public static 
08938         int GetUniformLocation(UInt32 program, String name)
08939         {
08940             #if DEBUG
08941             using (new ErrorHelper(GraphicsContext.CurrentContext))
08942             {
08943             #endif
08944             return Delegates.glGetUniformLocation((UInt32)program, (String)name);
08945             #if DEBUG
08946             }
08947             #endif
08948         }
08949 
08950         
08969         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
08970         public static 
08971         void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params)
08972         {
08973             #if DEBUG
08974             using (new ErrorHelper(GraphicsContext.CurrentContext))
08975             {
08976             #endif
08977             unsafe
08978             {
08979                 fixed (Single* @params_ptr = @params)
08980                 {
08981                     Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
08982                 }
08983             }
08984             #if DEBUG
08985             }
08986             #endif
08987         }
08988 
08989         
09008         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
09009         public static 
09010         void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params)
09011         {
09012             #if DEBUG
09013             using (new ErrorHelper(GraphicsContext.CurrentContext))
09014             {
09015             #endif
09016             unsafe
09017             {
09018                 fixed (Single* @params_ptr = &@params)
09019                 {
09020                     Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
09021                     @params = *@params_ptr;
09022                 }
09023             }
09024             #if DEBUG
09025             }
09026             #endif
09027         }
09028 
09029         
09048         [System.CLSCompliant(false)]
09049         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
09050         public static 
09051         unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params)
09052         {
09053             #if DEBUG
09054             using (new ErrorHelper(GraphicsContext.CurrentContext))
09055             {
09056             #endif
09057             Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params);
09058             #if DEBUG
09059             }
09060             #endif
09061         }
09062 
09063         
09082         [System.CLSCompliant(false)]
09083         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
09084         public static 
09085         void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params)
09086         {
09087             #if DEBUG
09088             using (new ErrorHelper(GraphicsContext.CurrentContext))
09089             {
09090             #endif
09091             unsafe
09092             {
09093                 fixed (Single* @params_ptr = @params)
09094                 {
09095                     Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
09096                 }
09097             }
09098             #if DEBUG
09099             }
09100             #endif
09101         }
09102 
09103         
09122         [System.CLSCompliant(false)]
09123         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
09124         public static 
09125         void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params)
09126         {
09127             #if DEBUG
09128             using (new ErrorHelper(GraphicsContext.CurrentContext))
09129             {
09130             #endif
09131             unsafe
09132             {
09133                 fixed (Single* @params_ptr = &@params)
09134                 {
09135                     Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
09136                     @params = *@params_ptr;
09137                 }
09138             }
09139             #if DEBUG
09140             }
09141             #endif
09142         }
09143 
09144         
09163         [System.CLSCompliant(false)]
09164         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
09165         public static 
09166         unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params)
09167         {
09168             #if DEBUG
09169             using (new ErrorHelper(GraphicsContext.CurrentContext))
09170             {
09171             #endif
09172             Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params);
09173             #if DEBUG
09174             }
09175             #endif
09176         }
09177 
09178         
09197         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09198         public static 
09199         void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
09200         {
09201             #if DEBUG
09202             using (new ErrorHelper(GraphicsContext.CurrentContext))
09203             {
09204             #endif
09205             unsafe
09206             {
09207                 fixed (Int32* @params_ptr = @params)
09208                 {
09209                     Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
09210                 }
09211             }
09212             #if DEBUG
09213             }
09214             #endif
09215         }
09216 
09217         
09236         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09237         public static 
09238         void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
09239         {
09240             #if DEBUG
09241             using (new ErrorHelper(GraphicsContext.CurrentContext))
09242             {
09243             #endif
09244             unsafe
09245             {
09246                 fixed (Int32* @params_ptr = &@params)
09247                 {
09248                     Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
09249                     @params = *@params_ptr;
09250                 }
09251             }
09252             #if DEBUG
09253             }
09254             #endif
09255         }
09256 
09257         
09276         [System.CLSCompliant(false)]
09277         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09278         public static 
09279         unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params)
09280         {
09281             #if DEBUG
09282             using (new ErrorHelper(GraphicsContext.CurrentContext))
09283             {
09284             #endif
09285             Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params);
09286             #if DEBUG
09287             }
09288             #endif
09289         }
09290 
09291         
09310         [System.CLSCompliant(false)]
09311         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09312         public static 
09313         void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
09314         {
09315             #if DEBUG
09316             using (new ErrorHelper(GraphicsContext.CurrentContext))
09317             {
09318             #endif
09319             unsafe
09320             {
09321                 fixed (Int32* @params_ptr = @params)
09322                 {
09323                     Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
09324                 }
09325             }
09326             #if DEBUG
09327             }
09328             #endif
09329         }
09330 
09331         
09350         [System.CLSCompliant(false)]
09351         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09352         public static 
09353         void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
09354         {
09355             #if DEBUG
09356             using (new ErrorHelper(GraphicsContext.CurrentContext))
09357             {
09358             #endif
09359             unsafe
09360             {
09361                 fixed (Int32* @params_ptr = &@params)
09362                 {
09363                     Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
09364                     @params = *@params_ptr;
09365                 }
09366             }
09367             #if DEBUG
09368             }
09369             #endif
09370         }
09371 
09372         
09391         [System.CLSCompliant(false)]
09392         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
09393         public static 
09394         unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params)
09395         {
09396             #if DEBUG
09397             using (new ErrorHelper(GraphicsContext.CurrentContext))
09398             {
09399             #endif
09400             Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params);
09401             #if DEBUG
09402             }
09403             #endif
09404         }
09405 
09406         
09425         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09426         public static 
09427         void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
09428         {
09429             #if DEBUG
09430             using (new ErrorHelper(GraphicsContext.CurrentContext))
09431             {
09432             #endif
09433             Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer);
09434             #if DEBUG
09435             }
09436             #endif
09437         }
09438 
09439         
09458         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09459         public static 
09460         void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
09461             where T2 : struct
09462         {
09463             #if DEBUG
09464             using (new ErrorHelper(GraphicsContext.CurrentContext))
09465             {
09466             #endif
09467             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09468             try
09469             {
09470                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09471             }
09472             finally
09473             {
09474                 pointer_ptr.Free();
09475             }
09476             #if DEBUG
09477             }
09478             #endif
09479         }
09480 
09481         
09500         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09501         public static 
09502         void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
09503             where T2 : struct
09504         {
09505             #if DEBUG
09506             using (new ErrorHelper(GraphicsContext.CurrentContext))
09507             {
09508             #endif
09509             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09510             try
09511             {
09512                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09513             }
09514             finally
09515             {
09516                 pointer_ptr.Free();
09517             }
09518             #if DEBUG
09519             }
09520             #endif
09521         }
09522 
09523         
09542         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09543         public static 
09544         void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
09545             where T2 : struct
09546         {
09547             #if DEBUG
09548             using (new ErrorHelper(GraphicsContext.CurrentContext))
09549             {
09550             #endif
09551             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09552             try
09553             {
09554                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09555             }
09556             finally
09557             {
09558                 pointer_ptr.Free();
09559             }
09560             #if DEBUG
09561             }
09562             #endif
09563         }
09564 
09565         
09584         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09585         public static 
09586         void GetVertexAttribPointer<T2>(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
09587             where T2 : struct
09588         {
09589             #if DEBUG
09590             using (new ErrorHelper(GraphicsContext.CurrentContext))
09591             {
09592             #endif
09593             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09594             try
09595             {
09596                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09597                 pointer = (T2)pointer_ptr.Target;
09598             }
09599             finally
09600             {
09601                 pointer_ptr.Free();
09602             }
09603             #if DEBUG
09604             }
09605             #endif
09606         }
09607 
09608         
09627         [System.CLSCompliant(false)]
09628         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09629         public static 
09630         void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
09631         {
09632             #if DEBUG
09633             using (new ErrorHelper(GraphicsContext.CurrentContext))
09634             {
09635             #endif
09636             Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer);
09637             #if DEBUG
09638             }
09639             #endif
09640         }
09641 
09642         
09661         [System.CLSCompliant(false)]
09662         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09663         public static 
09664         void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
09665             where T2 : struct
09666         {
09667             #if DEBUG
09668             using (new ErrorHelper(GraphicsContext.CurrentContext))
09669             {
09670             #endif
09671             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09672             try
09673             {
09674                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09675             }
09676             finally
09677             {
09678                 pointer_ptr.Free();
09679             }
09680             #if DEBUG
09681             }
09682             #endif
09683         }
09684 
09685         
09704         [System.CLSCompliant(false)]
09705         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09706         public static 
09707         void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
09708             where T2 : struct
09709         {
09710             #if DEBUG
09711             using (new ErrorHelper(GraphicsContext.CurrentContext))
09712             {
09713             #endif
09714             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09715             try
09716             {
09717                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09718             }
09719             finally
09720             {
09721                 pointer_ptr.Free();
09722             }
09723             #if DEBUG
09724             }
09725             #endif
09726         }
09727 
09728         
09747         [System.CLSCompliant(false)]
09748         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09749         public static 
09750         void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
09751             where T2 : struct
09752         {
09753             #if DEBUG
09754             using (new ErrorHelper(GraphicsContext.CurrentContext))
09755             {
09756             #endif
09757             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09758             try
09759             {
09760                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09761             }
09762             finally
09763             {
09764                 pointer_ptr.Free();
09765             }
09766             #if DEBUG
09767             }
09768             #endif
09769         }
09770 
09771         
09790         [System.CLSCompliant(false)]
09791         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
09792         public static 
09793         void GetVertexAttribPointer<T2>(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
09794             where T2 : struct
09795         {
09796             #if DEBUG
09797             using (new ErrorHelper(GraphicsContext.CurrentContext))
09798             {
09799             #endif
09800             GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
09801             try
09802             {
09803                 Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
09804                 pointer = (T2)pointer_ptr.Target;
09805             }
09806             finally
09807             {
09808                 pointer_ptr.Free();
09809             }
09810             #if DEBUG
09811             }
09812             #endif
09813         }
09814 
09815         
09829         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glHint")]
09830         public static 
09831         void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode)
09832         {
09833             #if DEBUG
09834             using (new ErrorHelper(GraphicsContext.CurrentContext))
09835             {
09836             #endif
09837             Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode);
09838             #if DEBUG
09839             }
09840             #endif
09841         }
09842 
09843         
09852         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
09853         public static 
09854         bool IsBuffer(Int32 buffer)
09855         {
09856             #if DEBUG
09857             using (new ErrorHelper(GraphicsContext.CurrentContext))
09858             {
09859             #endif
09860             return Delegates.glIsBuffer((UInt32)buffer);
09861             #if DEBUG
09862             }
09863             #endif
09864         }
09865 
09866         
09875         [System.CLSCompliant(false)]
09876         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
09877         public static 
09878         bool IsBuffer(UInt32 buffer)
09879         {
09880             #if DEBUG
09881             using (new ErrorHelper(GraphicsContext.CurrentContext))
09882             {
09883             #endif
09884             return Delegates.glIsBuffer((UInt32)buffer);
09885             #if DEBUG
09886             }
09887             #endif
09888         }
09889 
09890         
09899         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsEnabled")]
09900         public static 
09901         bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap)
09902         {
09903             #if DEBUG
09904             using (new ErrorHelper(GraphicsContext.CurrentContext))
09905             {
09906             #endif
09907             return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap);
09908             #if DEBUG
09909             }
09910             #endif
09911         }
09912 
09913         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
09914         public static 
09915         bool IsFramebuffer(Int32 framebuffer)
09916         {
09917             #if DEBUG
09918             using (new ErrorHelper(GraphicsContext.CurrentContext))
09919             {
09920             #endif
09921             return Delegates.glIsFramebuffer((UInt32)framebuffer);
09922             #if DEBUG
09923             }
09924             #endif
09925         }
09926 
09927         [System.CLSCompliant(false)]
09928         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
09929         public static 
09930         bool IsFramebuffer(UInt32 framebuffer)
09931         {
09932             #if DEBUG
09933             using (new ErrorHelper(GraphicsContext.CurrentContext))
09934             {
09935             #endif
09936             return Delegates.glIsFramebuffer((UInt32)framebuffer);
09937             #if DEBUG
09938             }
09939             #endif
09940         }
09941 
09942         
09951         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
09952         public static 
09953         bool IsProgram(Int32 program)
09954         {
09955             #if DEBUG
09956             using (new ErrorHelper(GraphicsContext.CurrentContext))
09957             {
09958             #endif
09959             return Delegates.glIsProgram((UInt32)program);
09960             #if DEBUG
09961             }
09962             #endif
09963         }
09964 
09965         
09974         [System.CLSCompliant(false)]
09975         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
09976         public static 
09977         bool IsProgram(UInt32 program)
09978         {
09979             #if DEBUG
09980             using (new ErrorHelper(GraphicsContext.CurrentContext))
09981             {
09982             #endif
09983             return Delegates.glIsProgram((UInt32)program);
09984             #if DEBUG
09985             }
09986             #endif
09987         }
09988 
09989         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
09990         public static 
09991         bool IsRenderbuffer(Int32 renderbuffer)
09992         {
09993             #if DEBUG
09994             using (new ErrorHelper(GraphicsContext.CurrentContext))
09995             {
09996             #endif
09997             return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
09998             #if DEBUG
09999             }
10000             #endif
10001         }
10002 
10003         [System.CLSCompliant(false)]
10004         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
10005         public static 
10006         bool IsRenderbuffer(UInt32 renderbuffer)
10007         {
10008             #if DEBUG
10009             using (new ErrorHelper(GraphicsContext.CurrentContext))
10010             {
10011             #endif
10012             return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
10013             #if DEBUG
10014             }
10015             #endif
10016         }
10017 
10018         
10027         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
10028         public static 
10029         bool IsShader(Int32 shader)
10030         {
10031             #if DEBUG
10032             using (new ErrorHelper(GraphicsContext.CurrentContext))
10033             {
10034             #endif
10035             return Delegates.glIsShader((UInt32)shader);
10036             #if DEBUG
10037             }
10038             #endif
10039         }
10040 
10041         
10050         [System.CLSCompliant(false)]
10051         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
10052         public static 
10053         bool IsShader(UInt32 shader)
10054         {
10055             #if DEBUG
10056             using (new ErrorHelper(GraphicsContext.CurrentContext))
10057             {
10058             #endif
10059             return Delegates.glIsShader((UInt32)shader);
10060             #if DEBUG
10061             }
10062             #endif
10063         }
10064 
10065         
10074         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
10075         public static 
10076         bool IsTexture(Int32 texture)
10077         {
10078             #if DEBUG
10079             using (new ErrorHelper(GraphicsContext.CurrentContext))
10080             {
10081             #endif
10082             return Delegates.glIsTexture((UInt32)texture);
10083             #if DEBUG
10084             }
10085             #endif
10086         }
10087 
10088         
10097         [System.CLSCompliant(false)]
10098         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
10099         public static 
10100         bool IsTexture(UInt32 texture)
10101         {
10102             #if DEBUG
10103             using (new ErrorHelper(GraphicsContext.CurrentContext))
10104             {
10105             #endif
10106             return Delegates.glIsTexture((UInt32)texture);
10107             #if DEBUG
10108             }
10109             #endif
10110         }
10111 
10112         
10121         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLineWidth")]
10122         public static 
10123         void LineWidth(Single width)
10124         {
10125             #if DEBUG
10126             using (new ErrorHelper(GraphicsContext.CurrentContext))
10127             {
10128             #endif
10129             Delegates.glLineWidth((Single)width);
10130             #if DEBUG
10131             }
10132             #endif
10133         }
10134 
10135         
10144         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
10145         public static 
10146         void LinkProgram(Int32 program)
10147         {
10148             #if DEBUG
10149             using (new ErrorHelper(GraphicsContext.CurrentContext))
10150             {
10151             #endif
10152             Delegates.glLinkProgram((UInt32)program);
10153             #if DEBUG
10154             }
10155             #endif
10156         }
10157 
10158         
10167         [System.CLSCompliant(false)]
10168         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
10169         public static 
10170         void LinkProgram(UInt32 program)
10171         {
10172             #if DEBUG
10173             using (new ErrorHelper(GraphicsContext.CurrentContext))
10174             {
10175             #endif
10176             Delegates.glLinkProgram((UInt32)program);
10177             #if DEBUG
10178             }
10179             #endif
10180         }
10181 
10182         
10196         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPixelStorei")]
10197         public static 
10198         void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param)
10199         {
10200             #if DEBUG
10201             using (new ErrorHelper(GraphicsContext.CurrentContext))
10202             {
10203             #endif
10204             Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param);
10205             #if DEBUG
10206             }
10207             #endif
10208         }
10209 
10210         
10224         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPolygonOffset")]
10225         public static 
10226         void PolygonOffset(Single factor, Single units)
10227         {
10228             #if DEBUG
10229             using (new ErrorHelper(GraphicsContext.CurrentContext))
10230             {
10231             #endif
10232             Delegates.glPolygonOffset((Single)factor, (Single)units);
10233             #if DEBUG
10234             }
10235             #endif
10236         }
10237 
10238         
10267         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
10268         public static 
10269         void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
10270         {
10271             #if DEBUG
10272             using (new ErrorHelper(GraphicsContext.CurrentContext))
10273             {
10274             #endif
10275             Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
10276             #if DEBUG
10277             }
10278             #endif
10279         }
10280 
10281         
10310         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
10311         public static 
10312         void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[] pixels)
10313             where T6 : struct
10314         {
10315             #if DEBUG
10316             using (new ErrorHelper(GraphicsContext.CurrentContext))
10317             {
10318             #endif
10319             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
10320             try
10321             {
10322                 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
10323             }
10324             finally
10325             {
10326                 pixels_ptr.Free();
10327             }
10328             #if DEBUG
10329             }
10330             #endif
10331         }
10332 
10333         
10362         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
10363         public static 
10364         void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,] pixels)
10365             where T6 : struct
10366         {
10367             #if DEBUG
10368             using (new ErrorHelper(GraphicsContext.CurrentContext))
10369             {
10370             #endif
10371             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
10372             try
10373             {
10374                 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
10375             }
10376             finally
10377             {
10378                 pixels_ptr.Free();
10379             }
10380             #if DEBUG
10381             }
10382             #endif
10383         }
10384 
10385         
10414         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
10415         public static 
10416         void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels)
10417             where T6 : struct
10418         {
10419             #if DEBUG
10420             using (new ErrorHelper(GraphicsContext.CurrentContext))
10421             {
10422             #endif
10423             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
10424             try
10425             {
10426                 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
10427             }
10428             finally
10429             {
10430                 pixels_ptr.Free();
10431             }
10432             #if DEBUG
10433             }
10434             #endif
10435         }
10436 
10437         
10466         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
10467         public static 
10468         void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T6 pixels)
10469             where T6 : struct
10470         {
10471             #if DEBUG
10472             using (new ErrorHelper(GraphicsContext.CurrentContext))
10473             {
10474             #endif
10475             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
10476             try
10477             {
10478                 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
10479                 pixels = (T6)pixels_ptr.Target;
10480             }
10481             finally
10482             {
10483                 pixels_ptr.Free();
10484             }
10485             #if DEBUG
10486             }
10487             #endif
10488         }
10489 
10490         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")]
10491         public static 
10492         void ReleaseShaderCompiler()
10493         {
10494             #if DEBUG
10495             using (new ErrorHelper(GraphicsContext.CurrentContext))
10496             {
10497             #endif
10498             Delegates.glReleaseShaderCompiler();
10499             #if DEBUG
10500             }
10501             #endif
10502         }
10503 
10504         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
10505         public static 
10506         void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
10507         {
10508             #if DEBUG
10509             using (new ErrorHelper(GraphicsContext.CurrentContext))
10510             {
10511             #endif
10512             Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
10513             #if DEBUG
10514             }
10515             #endif
10516         }
10517 
10518         
10532         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSampleCoverage")]
10533         public static 
10534         void SampleCoverage(Single value, bool invert)
10535         {
10536             #if DEBUG
10537             using (new ErrorHelper(GraphicsContext.CurrentContext))
10538             {
10539             #endif
10540             Delegates.glSampleCoverage((Single)value, (bool)invert);
10541             #if DEBUG
10542             }
10543             #endif
10544         }
10545 
10546         
10560         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glScissor")]
10561         public static 
10562         void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
10563         {
10564             #if DEBUG
10565             using (new ErrorHelper(GraphicsContext.CurrentContext))
10566             {
10567             #endif
10568             Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
10569             #if DEBUG
10570             }
10571             #endif
10572         }
10573 
10574         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10575         public static 
10576         void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
10577         {
10578             #if DEBUG
10579             using (new ErrorHelper(GraphicsContext.CurrentContext))
10580             {
10581             #endif
10582             unsafe
10583             {
10584                 fixed (Int32* shaders_ptr = shaders)
10585                 {
10586                     Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
10587                 }
10588             }
10589             #if DEBUG
10590             }
10591             #endif
10592         }
10593 
10594         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10595         public static 
10596         void ShaderBinary<T3>(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
10597             where T3 : struct
10598         {
10599             #if DEBUG
10600             using (new ErrorHelper(GraphicsContext.CurrentContext))
10601             {
10602             #endif
10603             unsafe
10604             {
10605                 fixed (Int32* shaders_ptr = shaders)
10606                 {
10607                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10608                     try
10609                     {
10610                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10611                     }
10612                     finally
10613                     {
10614                         binary_ptr.Free();
10615                     }
10616                 }
10617             }
10618             #if DEBUG
10619             }
10620             #endif
10621         }
10622 
10623         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10624         public static 
10625         void ShaderBinary<T3>(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
10626             where T3 : struct
10627         {
10628             #if DEBUG
10629             using (new ErrorHelper(GraphicsContext.CurrentContext))
10630             {
10631             #endif
10632             unsafe
10633             {
10634                 fixed (Int32* shaders_ptr = shaders)
10635                 {
10636                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10637                     try
10638                     {
10639                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10640                     }
10641                     finally
10642                     {
10643                         binary_ptr.Free();
10644                     }
10645                 }
10646             }
10647             #if DEBUG
10648             }
10649             #endif
10650         }
10651 
10652         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10653         public static 
10654         void ShaderBinary<T3>(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
10655             where T3 : struct
10656         {
10657             #if DEBUG
10658             using (new ErrorHelper(GraphicsContext.CurrentContext))
10659             {
10660             #endif
10661             unsafe
10662             {
10663                 fixed (Int32* shaders_ptr = shaders)
10664                 {
10665                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10666                     try
10667                     {
10668                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10669                     }
10670                     finally
10671                     {
10672                         binary_ptr.Free();
10673                     }
10674                 }
10675             }
10676             #if DEBUG
10677             }
10678             #endif
10679         }
10680 
10681         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10682         public static 
10683         void ShaderBinary<T3>(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
10684             where T3 : struct
10685         {
10686             #if DEBUG
10687             using (new ErrorHelper(GraphicsContext.CurrentContext))
10688             {
10689             #endif
10690             unsafe
10691             {
10692                 fixed (Int32* shaders_ptr = shaders)
10693                 {
10694                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10695                     try
10696                     {
10697                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10698                         binary = (T3)binary_ptr.Target;
10699                     }
10700                     finally
10701                     {
10702                         binary_ptr.Free();
10703                     }
10704                 }
10705             }
10706             #if DEBUG
10707             }
10708             #endif
10709         }
10710 
10711         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10712         public static 
10713         void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
10714         {
10715             #if DEBUG
10716             using (new ErrorHelper(GraphicsContext.CurrentContext))
10717             {
10718             #endif
10719             unsafe
10720             {
10721                 fixed (Int32* shaders_ptr = &shaders)
10722                 {
10723                     Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
10724                 }
10725             }
10726             #if DEBUG
10727             }
10728             #endif
10729         }
10730 
10731         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10732         public static 
10733         void ShaderBinary<T3>(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
10734             where T3 : struct
10735         {
10736             #if DEBUG
10737             using (new ErrorHelper(GraphicsContext.CurrentContext))
10738             {
10739             #endif
10740             unsafe
10741             {
10742                 fixed (Int32* shaders_ptr = &shaders)
10743                 {
10744                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10745                     try
10746                     {
10747                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10748                     }
10749                     finally
10750                     {
10751                         binary_ptr.Free();
10752                     }
10753                 }
10754             }
10755             #if DEBUG
10756             }
10757             #endif
10758         }
10759 
10760         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10761         public static 
10762         void ShaderBinary<T3>(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
10763             where T3 : struct
10764         {
10765             #if DEBUG
10766             using (new ErrorHelper(GraphicsContext.CurrentContext))
10767             {
10768             #endif
10769             unsafe
10770             {
10771                 fixed (Int32* shaders_ptr = &shaders)
10772                 {
10773                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10774                     try
10775                     {
10776                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10777                     }
10778                     finally
10779                     {
10780                         binary_ptr.Free();
10781                     }
10782                 }
10783             }
10784             #if DEBUG
10785             }
10786             #endif
10787         }
10788 
10789         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10790         public static 
10791         void ShaderBinary<T3>(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
10792             where T3 : struct
10793         {
10794             #if DEBUG
10795             using (new ErrorHelper(GraphicsContext.CurrentContext))
10796             {
10797             #endif
10798             unsafe
10799             {
10800                 fixed (Int32* shaders_ptr = &shaders)
10801                 {
10802                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10803                     try
10804                     {
10805                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10806                     }
10807                     finally
10808                     {
10809                         binary_ptr.Free();
10810                     }
10811                 }
10812             }
10813             #if DEBUG
10814             }
10815             #endif
10816         }
10817 
10818         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10819         public static 
10820         void ShaderBinary<T3>(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
10821             where T3 : struct
10822         {
10823             #if DEBUG
10824             using (new ErrorHelper(GraphicsContext.CurrentContext))
10825             {
10826             #endif
10827             unsafe
10828             {
10829                 fixed (Int32* shaders_ptr = &shaders)
10830                 {
10831                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10832                     try
10833                     {
10834                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10835                         binary = (T3)binary_ptr.Target;
10836                     }
10837                     finally
10838                     {
10839                         binary_ptr.Free();
10840                     }
10841                 }
10842             }
10843             #if DEBUG
10844             }
10845             #endif
10846         }
10847 
10848         [System.CLSCompliant(false)]
10849         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10850         public static 
10851         unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
10852         {
10853             #if DEBUG
10854             using (new ErrorHelper(GraphicsContext.CurrentContext))
10855             {
10856             #endif
10857             Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
10858             #if DEBUG
10859             }
10860             #endif
10861         }
10862 
10863         [System.CLSCompliant(false)]
10864         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10865         public static 
10866         unsafe void ShaderBinary<T3>(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
10867             where T3 : struct
10868         {
10869             #if DEBUG
10870             using (new ErrorHelper(GraphicsContext.CurrentContext))
10871             {
10872             #endif
10873             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10874             try
10875             {
10876                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10877             }
10878             finally
10879             {
10880                 binary_ptr.Free();
10881             }
10882             #if DEBUG
10883             }
10884             #endif
10885         }
10886 
10887         [System.CLSCompliant(false)]
10888         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10889         public static 
10890         unsafe void ShaderBinary<T3>(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
10891             where T3 : struct
10892         {
10893             #if DEBUG
10894             using (new ErrorHelper(GraphicsContext.CurrentContext))
10895             {
10896             #endif
10897             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10898             try
10899             {
10900                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10901             }
10902             finally
10903             {
10904                 binary_ptr.Free();
10905             }
10906             #if DEBUG
10907             }
10908             #endif
10909         }
10910 
10911         [System.CLSCompliant(false)]
10912         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10913         public static 
10914         unsafe void ShaderBinary<T3>(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
10915             where T3 : struct
10916         {
10917             #if DEBUG
10918             using (new ErrorHelper(GraphicsContext.CurrentContext))
10919             {
10920             #endif
10921             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10922             try
10923             {
10924                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10925             }
10926             finally
10927             {
10928                 binary_ptr.Free();
10929             }
10930             #if DEBUG
10931             }
10932             #endif
10933         }
10934 
10935         [System.CLSCompliant(false)]
10936         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10937         public static 
10938         unsafe void ShaderBinary<T3>(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
10939             where T3 : struct
10940         {
10941             #if DEBUG
10942             using (new ErrorHelper(GraphicsContext.CurrentContext))
10943             {
10944             #endif
10945             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10946             try
10947             {
10948                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10949                 binary = (T3)binary_ptr.Target;
10950             }
10951             finally
10952             {
10953                 binary_ptr.Free();
10954             }
10955             #if DEBUG
10956             }
10957             #endif
10958         }
10959 
10960         [System.CLSCompliant(false)]
10961         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10962         public static 
10963         void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
10964         {
10965             #if DEBUG
10966             using (new ErrorHelper(GraphicsContext.CurrentContext))
10967             {
10968             #endif
10969             unsafe
10970             {
10971                 fixed (UInt32* shaders_ptr = shaders)
10972                 {
10973                     Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
10974                 }
10975             }
10976             #if DEBUG
10977             }
10978             #endif
10979         }
10980 
10981         [System.CLSCompliant(false)]
10982         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
10983         public static 
10984         void ShaderBinary<T3>(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
10985             where T3 : struct
10986         {
10987             #if DEBUG
10988             using (new ErrorHelper(GraphicsContext.CurrentContext))
10989             {
10990             #endif
10991             unsafe
10992             {
10993                 fixed (UInt32* shaders_ptr = shaders)
10994                 {
10995                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
10996                     try
10997                     {
10998                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
10999                     }
11000                     finally
11001                     {
11002                         binary_ptr.Free();
11003                     }
11004                 }
11005             }
11006             #if DEBUG
11007             }
11008             #endif
11009         }
11010 
11011         [System.CLSCompliant(false)]
11012         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11013         public static 
11014         void ShaderBinary<T3>(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
11015             where T3 : struct
11016         {
11017             #if DEBUG
11018             using (new ErrorHelper(GraphicsContext.CurrentContext))
11019             {
11020             #endif
11021             unsafe
11022             {
11023                 fixed (UInt32* shaders_ptr = shaders)
11024                 {
11025                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11026                     try
11027                     {
11028                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11029                     }
11030                     finally
11031                     {
11032                         binary_ptr.Free();
11033                     }
11034                 }
11035             }
11036             #if DEBUG
11037             }
11038             #endif
11039         }
11040 
11041         [System.CLSCompliant(false)]
11042         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11043         public static 
11044         void ShaderBinary<T3>(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
11045             where T3 : struct
11046         {
11047             #if DEBUG
11048             using (new ErrorHelper(GraphicsContext.CurrentContext))
11049             {
11050             #endif
11051             unsafe
11052             {
11053                 fixed (UInt32* shaders_ptr = shaders)
11054                 {
11055                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11056                     try
11057                     {
11058                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11059                     }
11060                     finally
11061                     {
11062                         binary_ptr.Free();
11063                     }
11064                 }
11065             }
11066             #if DEBUG
11067             }
11068             #endif
11069         }
11070 
11071         [System.CLSCompliant(false)]
11072         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11073         public static 
11074         void ShaderBinary<T3>(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
11075             where T3 : struct
11076         {
11077             #if DEBUG
11078             using (new ErrorHelper(GraphicsContext.CurrentContext))
11079             {
11080             #endif
11081             unsafe
11082             {
11083                 fixed (UInt32* shaders_ptr = shaders)
11084                 {
11085                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11086                     try
11087                     {
11088                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11089                         binary = (T3)binary_ptr.Target;
11090                     }
11091                     finally
11092                     {
11093                         binary_ptr.Free();
11094                     }
11095                 }
11096             }
11097             #if DEBUG
11098             }
11099             #endif
11100         }
11101 
11102         [System.CLSCompliant(false)]
11103         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11104         public static 
11105         void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
11106         {
11107             #if DEBUG
11108             using (new ErrorHelper(GraphicsContext.CurrentContext))
11109             {
11110             #endif
11111             unsafe
11112             {
11113                 fixed (UInt32* shaders_ptr = &shaders)
11114                 {
11115                     Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
11116                 }
11117             }
11118             #if DEBUG
11119             }
11120             #endif
11121         }
11122 
11123         [System.CLSCompliant(false)]
11124         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11125         public static 
11126         void ShaderBinary<T3>(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
11127             where T3 : struct
11128         {
11129             #if DEBUG
11130             using (new ErrorHelper(GraphicsContext.CurrentContext))
11131             {
11132             #endif
11133             unsafe
11134             {
11135                 fixed (UInt32* shaders_ptr = &shaders)
11136                 {
11137                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11138                     try
11139                     {
11140                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11141                     }
11142                     finally
11143                     {
11144                         binary_ptr.Free();
11145                     }
11146                 }
11147             }
11148             #if DEBUG
11149             }
11150             #endif
11151         }
11152 
11153         [System.CLSCompliant(false)]
11154         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11155         public static 
11156         void ShaderBinary<T3>(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
11157             where T3 : struct
11158         {
11159             #if DEBUG
11160             using (new ErrorHelper(GraphicsContext.CurrentContext))
11161             {
11162             #endif
11163             unsafe
11164             {
11165                 fixed (UInt32* shaders_ptr = &shaders)
11166                 {
11167                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11168                     try
11169                     {
11170                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11171                     }
11172                     finally
11173                     {
11174                         binary_ptr.Free();
11175                     }
11176                 }
11177             }
11178             #if DEBUG
11179             }
11180             #endif
11181         }
11182 
11183         [System.CLSCompliant(false)]
11184         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11185         public static 
11186         void ShaderBinary<T3>(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
11187             where T3 : struct
11188         {
11189             #if DEBUG
11190             using (new ErrorHelper(GraphicsContext.CurrentContext))
11191             {
11192             #endif
11193             unsafe
11194             {
11195                 fixed (UInt32* shaders_ptr = &shaders)
11196                 {
11197                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11198                     try
11199                     {
11200                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11201                     }
11202                     finally
11203                     {
11204                         binary_ptr.Free();
11205                     }
11206                 }
11207             }
11208             #if DEBUG
11209             }
11210             #endif
11211         }
11212 
11213         [System.CLSCompliant(false)]
11214         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11215         public static 
11216         void ShaderBinary<T3>(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
11217             where T3 : struct
11218         {
11219             #if DEBUG
11220             using (new ErrorHelper(GraphicsContext.CurrentContext))
11221             {
11222             #endif
11223             unsafe
11224             {
11225                 fixed (UInt32* shaders_ptr = &shaders)
11226                 {
11227                     GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11228                     try
11229                     {
11230                         Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11231                         binary = (T3)binary_ptr.Target;
11232                     }
11233                     finally
11234                     {
11235                         binary_ptr.Free();
11236                     }
11237                 }
11238             }
11239             #if DEBUG
11240             }
11241             #endif
11242         }
11243 
11244         [System.CLSCompliant(false)]
11245         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11246         public static 
11247         unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
11248         {
11249             #if DEBUG
11250             using (new ErrorHelper(GraphicsContext.CurrentContext))
11251             {
11252             #endif
11253             Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
11254             #if DEBUG
11255             }
11256             #endif
11257         }
11258 
11259         [System.CLSCompliant(false)]
11260         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11261         public static 
11262         unsafe void ShaderBinary<T3>(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
11263             where T3 : struct
11264         {
11265             #if DEBUG
11266             using (new ErrorHelper(GraphicsContext.CurrentContext))
11267             {
11268             #endif
11269             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11270             try
11271             {
11272                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11273             }
11274             finally
11275             {
11276                 binary_ptr.Free();
11277             }
11278             #if DEBUG
11279             }
11280             #endif
11281         }
11282 
11283         [System.CLSCompliant(false)]
11284         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11285         public static 
11286         unsafe void ShaderBinary<T3>(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
11287             where T3 : struct
11288         {
11289             #if DEBUG
11290             using (new ErrorHelper(GraphicsContext.CurrentContext))
11291             {
11292             #endif
11293             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11294             try
11295             {
11296                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11297             }
11298             finally
11299             {
11300                 binary_ptr.Free();
11301             }
11302             #if DEBUG
11303             }
11304             #endif
11305         }
11306 
11307         [System.CLSCompliant(false)]
11308         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11309         public static 
11310         unsafe void ShaderBinary<T3>(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
11311             where T3 : struct
11312         {
11313             #if DEBUG
11314             using (new ErrorHelper(GraphicsContext.CurrentContext))
11315             {
11316             #endif
11317             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11318             try
11319             {
11320                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11321             }
11322             finally
11323             {
11324                 binary_ptr.Free();
11325             }
11326             #if DEBUG
11327             }
11328             #endif
11329         }
11330 
11331         [System.CLSCompliant(false)]
11332         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
11333         public static 
11334         unsafe void ShaderBinary<T3>(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
11335             where T3 : struct
11336         {
11337             #if DEBUG
11338             using (new ErrorHelper(GraphicsContext.CurrentContext))
11339             {
11340             #endif
11341             GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
11342             try
11343             {
11344                 Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
11345                 binary = (T3)binary_ptr.Target;
11346             }
11347             finally
11348             {
11349                 binary_ptr.Free();
11350             }
11351             #if DEBUG
11352             }
11353             #endif
11354         }
11355 
11356         
11380         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11381         public static 
11382         void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length)
11383         {
11384             #if DEBUG
11385             using (new ErrorHelper(GraphicsContext.CurrentContext))
11386             {
11387             #endif
11388             unsafe
11389             {
11390                 fixed (Int32* length_ptr = length)
11391                 {
11392                     Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
11393                 }
11394             }
11395             #if DEBUG
11396             }
11397             #endif
11398         }
11399 
11400         
11424         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11425         public static 
11426         void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length)
11427         {
11428             #if DEBUG
11429             using (new ErrorHelper(GraphicsContext.CurrentContext))
11430             {
11431             #endif
11432             unsafe
11433             {
11434                 fixed (Int32* length_ptr = &length)
11435                 {
11436                     Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
11437                 }
11438             }
11439             #if DEBUG
11440             }
11441             #endif
11442         }
11443 
11444         
11468         [System.CLSCompliant(false)]
11469         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11470         public static 
11471         unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length)
11472         {
11473             #if DEBUG
11474             using (new ErrorHelper(GraphicsContext.CurrentContext))
11475             {
11476             #endif
11477             Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
11478             #if DEBUG
11479             }
11480             #endif
11481         }
11482 
11483         
11507         [System.CLSCompliant(false)]
11508         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11509         public static 
11510         void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length)
11511         {
11512             #if DEBUG
11513             using (new ErrorHelper(GraphicsContext.CurrentContext))
11514             {
11515             #endif
11516             unsafe
11517             {
11518                 fixed (Int32* length_ptr = length)
11519                 {
11520                     Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
11521                 }
11522             }
11523             #if DEBUG
11524             }
11525             #endif
11526         }
11527 
11528         
11552         [System.CLSCompliant(false)]
11553         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11554         public static 
11555         void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length)
11556         {
11557             #if DEBUG
11558             using (new ErrorHelper(GraphicsContext.CurrentContext))
11559             {
11560             #endif
11561             unsafe
11562             {
11563                 fixed (Int32* length_ptr = &length)
11564                 {
11565                     Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
11566                 }
11567             }
11568             #if DEBUG
11569             }
11570             #endif
11571         }
11572 
11573         
11597         [System.CLSCompliant(false)]
11598         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
11599         public static 
11600         unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length)
11601         {
11602             #if DEBUG
11603             using (new ErrorHelper(GraphicsContext.CurrentContext))
11604             {
11605             #endif
11606             Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
11607             #if DEBUG
11608             }
11609             #endif
11610         }
11611 
11612         
11631         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
11632         public static 
11633         void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask)
11634         {
11635             #if DEBUG
11636             using (new ErrorHelper(GraphicsContext.CurrentContext))
11637             {
11638             #endif
11639             Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
11640             #if DEBUG
11641             }
11642             #endif
11643         }
11644 
11645         
11664         [System.CLSCompliant(false)]
11665         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
11666         public static 
11667         void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask)
11668         {
11669             #if DEBUG
11670             using (new ErrorHelper(GraphicsContext.CurrentContext))
11671             {
11672             #endif
11673             Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
11674             #if DEBUG
11675             }
11676             #endif
11677         }
11678 
11679         
11703         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
11704         public static 
11705         void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask)
11706         {
11707             #if DEBUG
11708             using (new ErrorHelper(GraphicsContext.CurrentContext))
11709             {
11710             #endif
11711             Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
11712             #if DEBUG
11713             }
11714             #endif
11715         }
11716 
11717         
11741         [System.CLSCompliant(false)]
11742         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
11743         public static 
11744         void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask)
11745         {
11746             #if DEBUG
11747             using (new ErrorHelper(GraphicsContext.CurrentContext))
11748             {
11749             #endif
11750             Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
11751             #if DEBUG
11752             }
11753             #endif
11754         }
11755 
11756         
11765         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
11766         public static 
11767         void StencilMask(Int32 mask)
11768         {
11769             #if DEBUG
11770             using (new ErrorHelper(GraphicsContext.CurrentContext))
11771             {
11772             #endif
11773             Delegates.glStencilMask((UInt32)mask);
11774             #if DEBUG
11775             }
11776             #endif
11777         }
11778 
11779         
11788         [System.CLSCompliant(false)]
11789         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
11790         public static 
11791         void StencilMask(UInt32 mask)
11792         {
11793             #if DEBUG
11794             using (new ErrorHelper(GraphicsContext.CurrentContext))
11795             {
11796             #endif
11797             Delegates.glStencilMask((UInt32)mask);
11798             #if DEBUG
11799             }
11800             #endif
11801         }
11802 
11803         
11817         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
11818         public static 
11819         void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask)
11820         {
11821             #if DEBUG
11822             using (new ErrorHelper(GraphicsContext.CurrentContext))
11823             {
11824             #endif
11825             Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask);
11826             #if DEBUG
11827             }
11828             #endif
11829         }
11830 
11831         
11845         [System.CLSCompliant(false)]
11846         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
11847         public static 
11848         void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask)
11849         {
11850             #if DEBUG
11851             using (new ErrorHelper(GraphicsContext.CurrentContext))
11852             {
11853             #endif
11854             Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask);
11855             #if DEBUG
11856             }
11857             #endif
11858         }
11859 
11860         
11879         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilOp")]
11880         public static 
11881         void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass)
11882         {
11883             #if DEBUG
11884             using (new ErrorHelper(GraphicsContext.CurrentContext))
11885             {
11886             #endif
11887             Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass);
11888             #if DEBUG
11889             }
11890             #endif
11891         }
11892 
11893         
11917         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
11918         public static 
11919         void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass)
11920         {
11921             #if DEBUG
11922             using (new ErrorHelper(GraphicsContext.CurrentContext))
11923             {
11924             #endif
11925             Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass);
11926             #if DEBUG
11927             }
11928             #endif
11929         }
11930 
11931         
11980         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
11981         public static 
11982         void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
11983         {
11984             #if DEBUG
11985             using (new ErrorHelper(GraphicsContext.CurrentContext))
11986             {
11987             #endif
11988             Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
11989             #if DEBUG
11990             }
11991             #endif
11992         }
11993 
11994         
12043         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
12044         public static 
12045         void TexImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
12046             where T8 : struct
12047         {
12048             #if DEBUG
12049             using (new ErrorHelper(GraphicsContext.CurrentContext))
12050             {
12051             #endif
12052             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12053             try
12054             {
12055                 Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12056             }
12057             finally
12058             {
12059                 pixels_ptr.Free();
12060             }
12061             #if DEBUG
12062             }
12063             #endif
12064         }
12065 
12066         
12115         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
12116         public static 
12117         void TexImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
12118             where T8 : struct
12119         {
12120             #if DEBUG
12121             using (new ErrorHelper(GraphicsContext.CurrentContext))
12122             {
12123             #endif
12124             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12125             try
12126             {
12127                 Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12128             }
12129             finally
12130             {
12131                 pixels_ptr.Free();
12132             }
12133             #if DEBUG
12134             }
12135             #endif
12136         }
12137 
12138         
12187         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
12188         public static 
12189         void TexImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
12190             where T8 : struct
12191         {
12192             #if DEBUG
12193             using (new ErrorHelper(GraphicsContext.CurrentContext))
12194             {
12195             #endif
12196             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12197             try
12198             {
12199                 Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12200             }
12201             finally
12202             {
12203                 pixels_ptr.Free();
12204             }
12205             #if DEBUG
12206             }
12207             #endif
12208         }
12209 
12210         
12259         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
12260         public static 
12261         void TexImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
12262             where T8 : struct
12263         {
12264             #if DEBUG
12265             using (new ErrorHelper(GraphicsContext.CurrentContext))
12266             {
12267             #endif
12268             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12269             try
12270             {
12271                 Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12272                 pixels = (T8)pixels_ptr.Target;
12273             }
12274             finally
12275             {
12276                 pixels_ptr.Free();
12277             }
12278             #if DEBUG
12279             }
12280             #endif
12281         }
12282 
12283         
12302         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterf")]
12303         public static 
12304         void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param)
12305         {
12306             #if DEBUG
12307             using (new ErrorHelper(GraphicsContext.CurrentContext))
12308             {
12309             #endif
12310             Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param);
12311             #if DEBUG
12312             }
12313             #endif
12314         }
12315 
12316         
12335         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")]
12336         public static 
12337         void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single[] @params)
12338         {
12339             #if DEBUG
12340             using (new ErrorHelper(GraphicsContext.CurrentContext))
12341             {
12342             #endif
12343             unsafe
12344             {
12345                 fixed (Single* @params_ptr = @params)
12346                 {
12347                     Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params_ptr);
12348                 }
12349             }
12350             #if DEBUG
12351             }
12352             #endif
12353         }
12354 
12355         
12374         [System.CLSCompliant(false)]
12375         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")]
12376         public static 
12377         unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params)
12378         {
12379             #if DEBUG
12380             using (new ErrorHelper(GraphicsContext.CurrentContext))
12381             {
12382             #endif
12383             Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params);
12384             #if DEBUG
12385             }
12386             #endif
12387         }
12388 
12389         
12408         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteri")]
12409         public static 
12410         void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param)
12411         {
12412             #if DEBUG
12413             using (new ErrorHelper(GraphicsContext.CurrentContext))
12414             {
12415             #endif
12416             Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param);
12417             #if DEBUG
12418             }
12419             #endif
12420         }
12421 
12422         
12441         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")]
12442         public static 
12443         void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32[] @params)
12444         {
12445             #if DEBUG
12446             using (new ErrorHelper(GraphicsContext.CurrentContext))
12447             {
12448             #endif
12449             unsafe
12450             {
12451                 fixed (Int32* @params_ptr = @params)
12452                 {
12453                     Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params_ptr);
12454                 }
12455             }
12456             #if DEBUG
12457             }
12458             #endif
12459         }
12460 
12461         
12480         [System.CLSCompliant(false)]
12481         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")]
12482         public static 
12483         unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params)
12484         {
12485             #if DEBUG
12486             using (new ErrorHelper(GraphicsContext.CurrentContext))
12487             {
12488             #endif
12489             Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params);
12490             #if DEBUG
12491             }
12492             #endif
12493         }
12494 
12495         
12544         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
12545         public static 
12546         void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
12547         {
12548             #if DEBUG
12549             using (new ErrorHelper(GraphicsContext.CurrentContext))
12550             {
12551             #endif
12552             Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
12553             #if DEBUG
12554             }
12555             #endif
12556         }
12557 
12558         
12607         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
12608         public static 
12609         void TexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
12610             where T8 : struct
12611         {
12612             #if DEBUG
12613             using (new ErrorHelper(GraphicsContext.CurrentContext))
12614             {
12615             #endif
12616             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12617             try
12618             {
12619                 Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12620             }
12621             finally
12622             {
12623                 pixels_ptr.Free();
12624             }
12625             #if DEBUG
12626             }
12627             #endif
12628         }
12629 
12630         
12679         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
12680         public static 
12681         void TexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
12682             where T8 : struct
12683         {
12684             #if DEBUG
12685             using (new ErrorHelper(GraphicsContext.CurrentContext))
12686             {
12687             #endif
12688             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12689             try
12690             {
12691                 Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12692             }
12693             finally
12694             {
12695                 pixels_ptr.Free();
12696             }
12697             #if DEBUG
12698             }
12699             #endif
12700         }
12701 
12702         
12751         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
12752         public static 
12753         void TexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
12754             where T8 : struct
12755         {
12756             #if DEBUG
12757             using (new ErrorHelper(GraphicsContext.CurrentContext))
12758             {
12759             #endif
12760             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12761             try
12762             {
12763                 Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12764             }
12765             finally
12766             {
12767                 pixels_ptr.Free();
12768             }
12769             #if DEBUG
12770             }
12771             #endif
12772         }
12773 
12774         
12823         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
12824         public static 
12825         void TexSubImage2D<T8>(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
12826             where T8 : struct
12827         {
12828             #if DEBUG
12829             using (new ErrorHelper(GraphicsContext.CurrentContext))
12830             {
12831             #endif
12832             GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
12833             try
12834             {
12835                 Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
12836                 pixels = (T8)pixels_ptr.Target;
12837             }
12838             finally
12839             {
12840                 pixels_ptr.Free();
12841             }
12842             #if DEBUG
12843             }
12844             #endif
12845         }
12846 
12847         
12861         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1f")]
12862         public static 
12863         void Uniform1(Int32 location, Single x)
12864         {
12865             #if DEBUG
12866             using (new ErrorHelper(GraphicsContext.CurrentContext))
12867             {
12868             #endif
12869             Delegates.glUniform1f((Int32)location, (Single)x);
12870             #if DEBUG
12871             }
12872             #endif
12873         }
12874 
12875         
12889         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
12890         public static 
12891         void Uniform1(Int32 location, Int32 count, Single[] v)
12892         {
12893             #if DEBUG
12894             using (new ErrorHelper(GraphicsContext.CurrentContext))
12895             {
12896             #endif
12897             unsafe
12898             {
12899                 fixed (Single* v_ptr = v)
12900                 {
12901                     Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr);
12902                 }
12903             }
12904             #if DEBUG
12905             }
12906             #endif
12907         }
12908 
12909         
12923         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
12924         public static 
12925         void Uniform1(Int32 location, Int32 count, ref Single v)
12926         {
12927             #if DEBUG
12928             using (new ErrorHelper(GraphicsContext.CurrentContext))
12929             {
12930             #endif
12931             unsafe
12932             {
12933                 fixed (Single* v_ptr = &v)
12934                 {
12935                     Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr);
12936                 }
12937             }
12938             #if DEBUG
12939             }
12940             #endif
12941         }
12942 
12943         
12957         [System.CLSCompliant(false)]
12958         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
12959         public static 
12960         unsafe void Uniform1(Int32 location, Int32 count, Single* v)
12961         {
12962             #if DEBUG
12963             using (new ErrorHelper(GraphicsContext.CurrentContext))
12964             {
12965             #endif
12966             Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v);
12967             #if DEBUG
12968             }
12969             #endif
12970         }
12971 
12972         
12986         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1i")]
12987         public static 
12988         void Uniform1(Int32 location, Int32 x)
12989         {
12990             #if DEBUG
12991             using (new ErrorHelper(GraphicsContext.CurrentContext))
12992             {
12993             #endif
12994             Delegates.glUniform1i((Int32)location, (Int32)x);
12995             #if DEBUG
12996             }
12997             #endif
12998         }
12999 
13000         
13014         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
13015         public static 
13016         void Uniform1(Int32 location, Int32 count, Int32[] v)
13017         {
13018             #if DEBUG
13019             using (new ErrorHelper(GraphicsContext.CurrentContext))
13020             {
13021             #endif
13022             unsafe
13023             {
13024                 fixed (Int32* v_ptr = v)
13025                 {
13026                     Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13027                 }
13028             }
13029             #if DEBUG
13030             }
13031             #endif
13032         }
13033 
13034         
13048         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
13049         public static 
13050         void Uniform1(Int32 location, Int32 count, ref Int32 v)
13051         {
13052             #if DEBUG
13053             using (new ErrorHelper(GraphicsContext.CurrentContext))
13054             {
13055             #endif
13056             unsafe
13057             {
13058                 fixed (Int32* v_ptr = &v)
13059                 {
13060                     Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13061                 }
13062             }
13063             #if DEBUG
13064             }
13065             #endif
13066         }
13067 
13068         
13082         [System.CLSCompliant(false)]
13083         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
13084         public static 
13085         unsafe void Uniform1(Int32 location, Int32 count, Int32* v)
13086         {
13087             #if DEBUG
13088             using (new ErrorHelper(GraphicsContext.CurrentContext))
13089             {
13090             #endif
13091             Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v);
13092             #if DEBUG
13093             }
13094             #endif
13095         }
13096 
13097         
13111         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2f")]
13112         public static 
13113         void Uniform2(Int32 location, Single x, Single y)
13114         {
13115             #if DEBUG
13116             using (new ErrorHelper(GraphicsContext.CurrentContext))
13117             {
13118             #endif
13119             Delegates.glUniform2f((Int32)location, (Single)x, (Single)y);
13120             #if DEBUG
13121             }
13122             #endif
13123         }
13124 
13125         
13139         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
13140         public static 
13141         void Uniform2(Int32 location, Int32 count, Single[] v)
13142         {
13143             #if DEBUG
13144             using (new ErrorHelper(GraphicsContext.CurrentContext))
13145             {
13146             #endif
13147             unsafe
13148             {
13149                 fixed (Single* v_ptr = v)
13150                 {
13151                     Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr);
13152                 }
13153             }
13154             #if DEBUG
13155             }
13156             #endif
13157         }
13158 
13159         
13173         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
13174         public static 
13175         void Uniform2(Int32 location, Int32 count, ref Single v)
13176         {
13177             #if DEBUG
13178             using (new ErrorHelper(GraphicsContext.CurrentContext))
13179             {
13180             #endif
13181             unsafe
13182             {
13183                 fixed (Single* v_ptr = &v)
13184                 {
13185                     Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr);
13186                 }
13187             }
13188             #if DEBUG
13189             }
13190             #endif
13191         }
13192 
13193         
13207         [System.CLSCompliant(false)]
13208         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
13209         public static 
13210         unsafe void Uniform2(Int32 location, Int32 count, Single* v)
13211         {
13212             #if DEBUG
13213             using (new ErrorHelper(GraphicsContext.CurrentContext))
13214             {
13215             #endif
13216             Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v);
13217             #if DEBUG
13218             }
13219             #endif
13220         }
13221 
13222         
13236         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2i")]
13237         public static 
13238         void Uniform2(Int32 location, Int32 x, Int32 y)
13239         {
13240             #if DEBUG
13241             using (new ErrorHelper(GraphicsContext.CurrentContext))
13242             {
13243             #endif
13244             Delegates.glUniform2i((Int32)location, (Int32)x, (Int32)y);
13245             #if DEBUG
13246             }
13247             #endif
13248         }
13249 
13250         
13264         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")]
13265         public static 
13266         void Uniform2(Int32 location, Int32 count, Int32[] v)
13267         {
13268             #if DEBUG
13269             using (new ErrorHelper(GraphicsContext.CurrentContext))
13270             {
13271             #endif
13272             unsafe
13273             {
13274                 fixed (Int32* v_ptr = v)
13275                 {
13276                     Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13277                 }
13278             }
13279             #if DEBUG
13280             }
13281             #endif
13282         }
13283 
13284         
13298         [System.CLSCompliant(false)]
13299         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")]
13300         public static 
13301         unsafe void Uniform2(Int32 location, Int32 count, Int32* v)
13302         {
13303             #if DEBUG
13304             using (new ErrorHelper(GraphicsContext.CurrentContext))
13305             {
13306             #endif
13307             Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v);
13308             #if DEBUG
13309             }
13310             #endif
13311         }
13312 
13313         
13327         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3f")]
13328         public static 
13329         void Uniform3(Int32 location, Single x, Single y, Single z)
13330         {
13331             #if DEBUG
13332             using (new ErrorHelper(GraphicsContext.CurrentContext))
13333             {
13334             #endif
13335             Delegates.glUniform3f((Int32)location, (Single)x, (Single)y, (Single)z);
13336             #if DEBUG
13337             }
13338             #endif
13339         }
13340 
13341         
13355         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
13356         public static 
13357         void Uniform3(Int32 location, Int32 count, Single[] v)
13358         {
13359             #if DEBUG
13360             using (new ErrorHelper(GraphicsContext.CurrentContext))
13361             {
13362             #endif
13363             unsafe
13364             {
13365                 fixed (Single* v_ptr = v)
13366                 {
13367                     Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr);
13368                 }
13369             }
13370             #if DEBUG
13371             }
13372             #endif
13373         }
13374 
13375         
13389         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
13390         public static 
13391         void Uniform3(Int32 location, Int32 count, ref Single v)
13392         {
13393             #if DEBUG
13394             using (new ErrorHelper(GraphicsContext.CurrentContext))
13395             {
13396             #endif
13397             unsafe
13398             {
13399                 fixed (Single* v_ptr = &v)
13400                 {
13401                     Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr);
13402                 }
13403             }
13404             #if DEBUG
13405             }
13406             #endif
13407         }
13408 
13409         
13423         [System.CLSCompliant(false)]
13424         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
13425         public static 
13426         unsafe void Uniform3(Int32 location, Int32 count, Single* v)
13427         {
13428             #if DEBUG
13429             using (new ErrorHelper(GraphicsContext.CurrentContext))
13430             {
13431             #endif
13432             Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v);
13433             #if DEBUG
13434             }
13435             #endif
13436         }
13437 
13438         
13452         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3i")]
13453         public static 
13454         void Uniform3(Int32 location, Int32 x, Int32 y, Int32 z)
13455         {
13456             #if DEBUG
13457             using (new ErrorHelper(GraphicsContext.CurrentContext))
13458             {
13459             #endif
13460             Delegates.glUniform3i((Int32)location, (Int32)x, (Int32)y, (Int32)z);
13461             #if DEBUG
13462             }
13463             #endif
13464         }
13465 
13466         
13480         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
13481         public static 
13482         void Uniform3(Int32 location, Int32 count, Int32[] v)
13483         {
13484             #if DEBUG
13485             using (new ErrorHelper(GraphicsContext.CurrentContext))
13486             {
13487             #endif
13488             unsafe
13489             {
13490                 fixed (Int32* v_ptr = v)
13491                 {
13492                     Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13493                 }
13494             }
13495             #if DEBUG
13496             }
13497             #endif
13498         }
13499 
13500         
13514         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
13515         public static 
13516         void Uniform3(Int32 location, Int32 count, ref Int32 v)
13517         {
13518             #if DEBUG
13519             using (new ErrorHelper(GraphicsContext.CurrentContext))
13520             {
13521             #endif
13522             unsafe
13523             {
13524                 fixed (Int32* v_ptr = &v)
13525                 {
13526                     Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13527                 }
13528             }
13529             #if DEBUG
13530             }
13531             #endif
13532         }
13533 
13534         
13548         [System.CLSCompliant(false)]
13549         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
13550         public static 
13551         unsafe void Uniform3(Int32 location, Int32 count, Int32* v)
13552         {
13553             #if DEBUG
13554             using (new ErrorHelper(GraphicsContext.CurrentContext))
13555             {
13556             #endif
13557             Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v);
13558             #if DEBUG
13559             }
13560             #endif
13561         }
13562 
13563         
13577         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4f")]
13578         public static 
13579         void Uniform4(Int32 location, Single x, Single y, Single z, Single w)
13580         {
13581             #if DEBUG
13582             using (new ErrorHelper(GraphicsContext.CurrentContext))
13583             {
13584             #endif
13585             Delegates.glUniform4f((Int32)location, (Single)x, (Single)y, (Single)z, (Single)w);
13586             #if DEBUG
13587             }
13588             #endif
13589         }
13590 
13591         
13605         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
13606         public static 
13607         void Uniform4(Int32 location, Int32 count, Single[] v)
13608         {
13609             #if DEBUG
13610             using (new ErrorHelper(GraphicsContext.CurrentContext))
13611             {
13612             #endif
13613             unsafe
13614             {
13615                 fixed (Single* v_ptr = v)
13616                 {
13617                     Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr);
13618                 }
13619             }
13620             #if DEBUG
13621             }
13622             #endif
13623         }
13624 
13625         
13639         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
13640         public static 
13641         void Uniform4(Int32 location, Int32 count, ref Single v)
13642         {
13643             #if DEBUG
13644             using (new ErrorHelper(GraphicsContext.CurrentContext))
13645             {
13646             #endif
13647             unsafe
13648             {
13649                 fixed (Single* v_ptr = &v)
13650                 {
13651                     Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr);
13652                 }
13653             }
13654             #if DEBUG
13655             }
13656             #endif
13657         }
13658 
13659         
13673         [System.CLSCompliant(false)]
13674         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
13675         public static 
13676         unsafe void Uniform4(Int32 location, Int32 count, Single* v)
13677         {
13678             #if DEBUG
13679             using (new ErrorHelper(GraphicsContext.CurrentContext))
13680             {
13681             #endif
13682             Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v);
13683             #if DEBUG
13684             }
13685             #endif
13686         }
13687 
13688         
13702         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4i")]
13703         public static 
13704         void Uniform4(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w)
13705         {
13706             #if DEBUG
13707             using (new ErrorHelper(GraphicsContext.CurrentContext))
13708             {
13709             #endif
13710             Delegates.glUniform4i((Int32)location, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
13711             #if DEBUG
13712             }
13713             #endif
13714         }
13715 
13716         
13730         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
13731         public static 
13732         void Uniform4(Int32 location, Int32 count, Int32[] v)
13733         {
13734             #if DEBUG
13735             using (new ErrorHelper(GraphicsContext.CurrentContext))
13736             {
13737             #endif
13738             unsafe
13739             {
13740                 fixed (Int32* v_ptr = v)
13741                 {
13742                     Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13743                 }
13744             }
13745             #if DEBUG
13746             }
13747             #endif
13748         }
13749 
13750         
13764         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
13765         public static 
13766         void Uniform4(Int32 location, Int32 count, ref Int32 v)
13767         {
13768             #if DEBUG
13769             using (new ErrorHelper(GraphicsContext.CurrentContext))
13770             {
13771             #endif
13772             unsafe
13773             {
13774                 fixed (Int32* v_ptr = &v)
13775                 {
13776                     Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr);
13777                 }
13778             }
13779             #if DEBUG
13780             }
13781             #endif
13782         }
13783 
13784         
13798         [System.CLSCompliant(false)]
13799         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
13800         public static 
13801         unsafe void Uniform4(Int32 location, Int32 count, Int32* v)
13802         {
13803             #if DEBUG
13804             using (new ErrorHelper(GraphicsContext.CurrentContext))
13805             {
13806             #endif
13807             Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v);
13808             #if DEBUG
13809             }
13810             #endif
13811         }
13812 
13813         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
13814         public static 
13815         void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value)
13816         {
13817             #if DEBUG
13818             using (new ErrorHelper(GraphicsContext.CurrentContext))
13819             {
13820             #endif
13821             unsafe
13822             {
13823                 fixed (Single* value_ptr = value)
13824                 {
13825                     Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13826                 }
13827             }
13828             #if DEBUG
13829             }
13830             #endif
13831         }
13832 
13833         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
13834         public static 
13835         void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value)
13836         {
13837             #if DEBUG
13838             using (new ErrorHelper(GraphicsContext.CurrentContext))
13839             {
13840             #endif
13841             unsafe
13842             {
13843                 fixed (Single* value_ptr = &value)
13844                 {
13845                     Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13846                 }
13847             }
13848             #if DEBUG
13849             }
13850             #endif
13851         }
13852 
13853         [System.CLSCompliant(false)]
13854         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
13855         public static 
13856         unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value)
13857         {
13858             #if DEBUG
13859             using (new ErrorHelper(GraphicsContext.CurrentContext))
13860             {
13861             #endif
13862             Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
13863             #if DEBUG
13864             }
13865             #endif
13866         }
13867 
13868         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
13869         public static 
13870         void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value)
13871         {
13872             #if DEBUG
13873             using (new ErrorHelper(GraphicsContext.CurrentContext))
13874             {
13875             #endif
13876             unsafe
13877             {
13878                 fixed (Single* value_ptr = value)
13879                 {
13880                     Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13881                 }
13882             }
13883             #if DEBUG
13884             }
13885             #endif
13886         }
13887 
13888         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
13889         public static 
13890         void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value)
13891         {
13892             #if DEBUG
13893             using (new ErrorHelper(GraphicsContext.CurrentContext))
13894             {
13895             #endif
13896             unsafe
13897             {
13898                 fixed (Single* value_ptr = &value)
13899                 {
13900                     Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13901                 }
13902             }
13903             #if DEBUG
13904             }
13905             #endif
13906         }
13907 
13908         [System.CLSCompliant(false)]
13909         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
13910         public static 
13911         unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value)
13912         {
13913             #if DEBUG
13914             using (new ErrorHelper(GraphicsContext.CurrentContext))
13915             {
13916             #endif
13917             Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
13918             #if DEBUG
13919             }
13920             #endif
13921         }
13922 
13923         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
13924         public static 
13925         void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value)
13926         {
13927             #if DEBUG
13928             using (new ErrorHelper(GraphicsContext.CurrentContext))
13929             {
13930             #endif
13931             unsafe
13932             {
13933                 fixed (Single* value_ptr = value)
13934                 {
13935                     Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13936                 }
13937             }
13938             #if DEBUG
13939             }
13940             #endif
13941         }
13942 
13943         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
13944         public static 
13945         void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value)
13946         {
13947             #if DEBUG
13948             using (new ErrorHelper(GraphicsContext.CurrentContext))
13949             {
13950             #endif
13951             unsafe
13952             {
13953                 fixed (Single* value_ptr = &value)
13954                 {
13955                     Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
13956                 }
13957             }
13958             #if DEBUG
13959             }
13960             #endif
13961         }
13962 
13963         [System.CLSCompliant(false)]
13964         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
13965         public static 
13966         unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value)
13967         {
13968             #if DEBUG
13969             using (new ErrorHelper(GraphicsContext.CurrentContext))
13970             {
13971             #endif
13972             Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
13973             #if DEBUG
13974             }
13975             #endif
13976         }
13977 
13978         
13987         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
13988         public static 
13989         void UseProgram(Int32 program)
13990         {
13991             #if DEBUG
13992             using (new ErrorHelper(GraphicsContext.CurrentContext))
13993             {
13994             #endif
13995             Delegates.glUseProgram((UInt32)program);
13996             #if DEBUG
13997             }
13998             #endif
13999         }
14000 
14001         
14010         [System.CLSCompliant(false)]
14011         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
14012         public static 
14013         void UseProgram(UInt32 program)
14014         {
14015             #if DEBUG
14016             using (new ErrorHelper(GraphicsContext.CurrentContext))
14017             {
14018             #endif
14019             Delegates.glUseProgram((UInt32)program);
14020             #if DEBUG
14021             }
14022             #endif
14023         }
14024 
14025         
14034         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
14035         public static 
14036         void ValidateProgram(Int32 program)
14037         {
14038             #if DEBUG
14039             using (new ErrorHelper(GraphicsContext.CurrentContext))
14040             {
14041             #endif
14042             Delegates.glValidateProgram((UInt32)program);
14043             #if DEBUG
14044             }
14045             #endif
14046         }
14047 
14048         
14057         [System.CLSCompliant(false)]
14058         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
14059         public static 
14060         void ValidateProgram(UInt32 program)
14061         {
14062             #if DEBUG
14063             using (new ErrorHelper(GraphicsContext.CurrentContext))
14064             {
14065             #endif
14066             Delegates.glValidateProgram((UInt32)program);
14067             #if DEBUG
14068             }
14069             #endif
14070         }
14071 
14072         
14086         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
14087         public static 
14088         void VertexAttrib1(Int32 indx, Single x)
14089         {
14090             #if DEBUG
14091             using (new ErrorHelper(GraphicsContext.CurrentContext))
14092             {
14093             #endif
14094             Delegates.glVertexAttrib1f((UInt32)indx, (Single)x);
14095             #if DEBUG
14096             }
14097             #endif
14098         }
14099 
14100         
14114         [System.CLSCompliant(false)]
14115         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
14116         public static 
14117         void VertexAttrib1(UInt32 indx, Single x)
14118         {
14119             #if DEBUG
14120             using (new ErrorHelper(GraphicsContext.CurrentContext))
14121             {
14122             #endif
14123             Delegates.glVertexAttrib1f((UInt32)indx, (Single)x);
14124             #if DEBUG
14125             }
14126             #endif
14127         }
14128 
14129         
14143         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
14144         public static 
14145         void VertexAttrib1(Int32 indx, Single[] values)
14146         {
14147             #if DEBUG
14148             using (new ErrorHelper(GraphicsContext.CurrentContext))
14149             {
14150             #endif
14151             unsafe
14152             {
14153                 fixed (Single* values_ptr = values)
14154                 {
14155                     Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr);
14156                 }
14157             }
14158             #if DEBUG
14159             }
14160             #endif
14161         }
14162 
14163         
14177         [System.CLSCompliant(false)]
14178         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
14179         public static 
14180         unsafe void VertexAttrib1(Int32 indx, Single* values)
14181         {
14182             #if DEBUG
14183             using (new ErrorHelper(GraphicsContext.CurrentContext))
14184             {
14185             #endif
14186             Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values);
14187             #if DEBUG
14188             }
14189             #endif
14190         }
14191 
14192         
14206         [System.CLSCompliant(false)]
14207         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
14208         public static 
14209         void VertexAttrib1(UInt32 indx, Single[] values)
14210         {
14211             #if DEBUG
14212             using (new ErrorHelper(GraphicsContext.CurrentContext))
14213             {
14214             #endif
14215             unsafe
14216             {
14217                 fixed (Single* values_ptr = values)
14218                 {
14219                     Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr);
14220                 }
14221             }
14222             #if DEBUG
14223             }
14224             #endif
14225         }
14226 
14227         
14241         [System.CLSCompliant(false)]
14242         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
14243         public static 
14244         unsafe void VertexAttrib1(UInt32 indx, Single* values)
14245         {
14246             #if DEBUG
14247             using (new ErrorHelper(GraphicsContext.CurrentContext))
14248             {
14249             #endif
14250             Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values);
14251             #if DEBUG
14252             }
14253             #endif
14254         }
14255 
14256         
14270         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
14271         public static 
14272         void VertexAttrib2(Int32 indx, Single x, Single y)
14273         {
14274             #if DEBUG
14275             using (new ErrorHelper(GraphicsContext.CurrentContext))
14276             {
14277             #endif
14278             Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y);
14279             #if DEBUG
14280             }
14281             #endif
14282         }
14283 
14284         
14298         [System.CLSCompliant(false)]
14299         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
14300         public static 
14301         void VertexAttrib2(UInt32 indx, Single x, Single y)
14302         {
14303             #if DEBUG
14304             using (new ErrorHelper(GraphicsContext.CurrentContext))
14305             {
14306             #endif
14307             Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y);
14308             #if DEBUG
14309             }
14310             #endif
14311         }
14312 
14313         
14327         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14328         public static 
14329         void VertexAttrib2(Int32 indx, Single[] values)
14330         {
14331             #if DEBUG
14332             using (new ErrorHelper(GraphicsContext.CurrentContext))
14333             {
14334             #endif
14335             unsafe
14336             {
14337                 fixed (Single* values_ptr = values)
14338                 {
14339                     Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
14340                 }
14341             }
14342             #if DEBUG
14343             }
14344             #endif
14345         }
14346 
14347         
14361         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14362         public static 
14363         void VertexAttrib2(Int32 indx, ref Single values)
14364         {
14365             #if DEBUG
14366             using (new ErrorHelper(GraphicsContext.CurrentContext))
14367             {
14368             #endif
14369             unsafe
14370             {
14371                 fixed (Single* values_ptr = &values)
14372                 {
14373                     Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
14374                 }
14375             }
14376             #if DEBUG
14377             }
14378             #endif
14379         }
14380 
14381         
14395         [System.CLSCompliant(false)]
14396         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14397         public static 
14398         unsafe void VertexAttrib2(Int32 indx, Single* values)
14399         {
14400             #if DEBUG
14401             using (new ErrorHelper(GraphicsContext.CurrentContext))
14402             {
14403             #endif
14404             Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values);
14405             #if DEBUG
14406             }
14407             #endif
14408         }
14409 
14410         
14424         [System.CLSCompliant(false)]
14425         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14426         public static 
14427         void VertexAttrib2(UInt32 indx, Single[] values)
14428         {
14429             #if DEBUG
14430             using (new ErrorHelper(GraphicsContext.CurrentContext))
14431             {
14432             #endif
14433             unsafe
14434             {
14435                 fixed (Single* values_ptr = values)
14436                 {
14437                     Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
14438                 }
14439             }
14440             #if DEBUG
14441             }
14442             #endif
14443         }
14444 
14445         
14459         [System.CLSCompliant(false)]
14460         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14461         public static 
14462         void VertexAttrib2(UInt32 indx, ref Single values)
14463         {
14464             #if DEBUG
14465             using (new ErrorHelper(GraphicsContext.CurrentContext))
14466             {
14467             #endif
14468             unsafe
14469             {
14470                 fixed (Single* values_ptr = &values)
14471                 {
14472                     Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
14473                 }
14474             }
14475             #if DEBUG
14476             }
14477             #endif
14478         }
14479 
14480         
14494         [System.CLSCompliant(false)]
14495         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
14496         public static 
14497         unsafe void VertexAttrib2(UInt32 indx, Single* values)
14498         {
14499             #if DEBUG
14500             using (new ErrorHelper(GraphicsContext.CurrentContext))
14501             {
14502             #endif
14503             Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values);
14504             #if DEBUG
14505             }
14506             #endif
14507         }
14508 
14509         
14523         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
14524         public static 
14525         void VertexAttrib3(Int32 indx, Single x, Single y, Single z)
14526         {
14527             #if DEBUG
14528             using (new ErrorHelper(GraphicsContext.CurrentContext))
14529             {
14530             #endif
14531             Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z);
14532             #if DEBUG
14533             }
14534             #endif
14535         }
14536 
14537         
14551         [System.CLSCompliant(false)]
14552         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
14553         public static 
14554         void VertexAttrib3(UInt32 indx, Single x, Single y, Single z)
14555         {
14556             #if DEBUG
14557             using (new ErrorHelper(GraphicsContext.CurrentContext))
14558             {
14559             #endif
14560             Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z);
14561             #if DEBUG
14562             }
14563             #endif
14564         }
14565 
14566         
14580         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14581         public static 
14582         void VertexAttrib3(Int32 indx, Single[] values)
14583         {
14584             #if DEBUG
14585             using (new ErrorHelper(GraphicsContext.CurrentContext))
14586             {
14587             #endif
14588             unsafe
14589             {
14590                 fixed (Single* values_ptr = values)
14591                 {
14592                     Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
14593                 }
14594             }
14595             #if DEBUG
14596             }
14597             #endif
14598         }
14599 
14600         
14614         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14615         public static 
14616         void VertexAttrib3(Int32 indx, ref Single values)
14617         {
14618             #if DEBUG
14619             using (new ErrorHelper(GraphicsContext.CurrentContext))
14620             {
14621             #endif
14622             unsafe
14623             {
14624                 fixed (Single* values_ptr = &values)
14625                 {
14626                     Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
14627                 }
14628             }
14629             #if DEBUG
14630             }
14631             #endif
14632         }
14633 
14634         
14648         [System.CLSCompliant(false)]
14649         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14650         public static 
14651         unsafe void VertexAttrib3(Int32 indx, Single* values)
14652         {
14653             #if DEBUG
14654             using (new ErrorHelper(GraphicsContext.CurrentContext))
14655             {
14656             #endif
14657             Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values);
14658             #if DEBUG
14659             }
14660             #endif
14661         }
14662 
14663         
14677         [System.CLSCompliant(false)]
14678         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14679         public static 
14680         void VertexAttrib3(UInt32 indx, Single[] values)
14681         {
14682             #if DEBUG
14683             using (new ErrorHelper(GraphicsContext.CurrentContext))
14684             {
14685             #endif
14686             unsafe
14687             {
14688                 fixed (Single* values_ptr = values)
14689                 {
14690                     Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
14691                 }
14692             }
14693             #if DEBUG
14694             }
14695             #endif
14696         }
14697 
14698         
14712         [System.CLSCompliant(false)]
14713         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14714         public static 
14715         void VertexAttrib3(UInt32 indx, ref Single values)
14716         {
14717             #if DEBUG
14718             using (new ErrorHelper(GraphicsContext.CurrentContext))
14719             {
14720             #endif
14721             unsafe
14722             {
14723                 fixed (Single* values_ptr = &values)
14724                 {
14725                     Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
14726                 }
14727             }
14728             #if DEBUG
14729             }
14730             #endif
14731         }
14732 
14733         
14747         [System.CLSCompliant(false)]
14748         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
14749         public static 
14750         unsafe void VertexAttrib3(UInt32 indx, Single* values)
14751         {
14752             #if DEBUG
14753             using (new ErrorHelper(GraphicsContext.CurrentContext))
14754             {
14755             #endif
14756             Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values);
14757             #if DEBUG
14758             }
14759             #endif
14760         }
14761 
14762         
14776         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
14777         public static 
14778         void VertexAttrib4(Int32 indx, Single x, Single y, Single z, Single w)
14779         {
14780             #if DEBUG
14781             using (new ErrorHelper(GraphicsContext.CurrentContext))
14782             {
14783             #endif
14784             Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w);
14785             #if DEBUG
14786             }
14787             #endif
14788         }
14789 
14790         
14804         [System.CLSCompliant(false)]
14805         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
14806         public static 
14807         void VertexAttrib4(UInt32 indx, Single x, Single y, Single z, Single w)
14808         {
14809             #if DEBUG
14810             using (new ErrorHelper(GraphicsContext.CurrentContext))
14811             {
14812             #endif
14813             Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w);
14814             #if DEBUG
14815             }
14816             #endif
14817         }
14818 
14819         
14833         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
14834         public static 
14835         void VertexAttrib4(Int32 indx, Single[] values)
14836         {
14837             #if DEBUG
14838             using (new ErrorHelper(GraphicsContext.CurrentContext))
14839             {
14840             #endif
14841             unsafe
14842             {
14843                 fixed (Single* values_ptr = values)
14844                 {
14845                     Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
14846                 }
14847             }
14848             #if DEBUG
14849             }
14850             #endif
14851         }
14852 
14853         
14867         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
14868         public static 
14869         void VertexAttrib4(Int32 indx, ref Single values)
14870         {
14871             #if DEBUG
14872             using (new ErrorHelper(GraphicsContext.CurrentContext))
14873             {
14874             #endif
14875             unsafe
14876             {
14877                 fixed (Single* values_ptr = &values)
14878                 {
14879                     Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
14880                 }
14881             }
14882             #if DEBUG
14883             }
14884             #endif
14885         }
14886 
14887         
14901         [System.CLSCompliant(false)]
14902         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
14903         public static 
14904         unsafe void VertexAttrib4(Int32 indx, Single* values)
14905         {
14906             #if DEBUG
14907             using (new ErrorHelper(GraphicsContext.CurrentContext))
14908             {
14909             #endif
14910             Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values);
14911             #if DEBUG
14912             }
14913             #endif
14914         }
14915 
14916         
14930         [System.CLSCompliant(false)]
14931         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
14932         public static 
14933         void VertexAttrib4(UInt32 indx, Single[] values)
14934         {
14935             #if DEBUG
14936             using (new ErrorHelper(GraphicsContext.CurrentContext))
14937             {
14938             #endif
14939             unsafe
14940             {
14941                 fixed (Single* values_ptr = values)
14942                 {
14943                     Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
14944                 }
14945             }
14946             #if DEBUG
14947             }
14948             #endif
14949         }
14950 
14951         
14965         [System.CLSCompliant(false)]
14966         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
14967         public static 
14968         void VertexAttrib4(UInt32 indx, ref Single values)
14969         {
14970             #if DEBUG
14971             using (new ErrorHelper(GraphicsContext.CurrentContext))
14972             {
14973             #endif
14974             unsafe
14975             {
14976                 fixed (Single* values_ptr = &values)
14977                 {
14978                     Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
14979                 }
14980             }
14981             #if DEBUG
14982             }
14983             #endif
14984         }
14985 
14986         
15000         [System.CLSCompliant(false)]
15001         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
15002         public static 
15003         unsafe void VertexAttrib4(UInt32 indx, Single* values)
15004         {
15005             #if DEBUG
15006             using (new ErrorHelper(GraphicsContext.CurrentContext))
15007             {
15008             #endif
15009             Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values);
15010             #if DEBUG
15011             }
15012             #endif
15013         }
15014 
15015         
15049         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15050         public static 
15051         void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr)
15052         {
15053             #if DEBUG
15054             using (new ErrorHelper(GraphicsContext.CurrentContext))
15055             {
15056             #endif
15057             Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr);
15058             #if DEBUG
15059             }
15060             #endif
15061         }
15062 
15063         
15097         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15098         public static 
15099         void VertexAttribPointer<T5>(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
15100             where T5 : struct
15101         {
15102             #if DEBUG
15103             using (new ErrorHelper(GraphicsContext.CurrentContext))
15104             {
15105             #endif
15106             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15107             try
15108             {
15109                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15110             }
15111             finally
15112             {
15113                 ptr_ptr.Free();
15114             }
15115             #if DEBUG
15116             }
15117             #endif
15118         }
15119 
15120         
15154         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15155         public static 
15156         void VertexAttribPointer<T5>(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
15157             where T5 : struct
15158         {
15159             #if DEBUG
15160             using (new ErrorHelper(GraphicsContext.CurrentContext))
15161             {
15162             #endif
15163             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15164             try
15165             {
15166                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15167             }
15168             finally
15169             {
15170                 ptr_ptr.Free();
15171             }
15172             #if DEBUG
15173             }
15174             #endif
15175         }
15176 
15177         
15211         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15212         public static 
15213         void VertexAttribPointer<T5>(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
15214             where T5 : struct
15215         {
15216             #if DEBUG
15217             using (new ErrorHelper(GraphicsContext.CurrentContext))
15218             {
15219             #endif
15220             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15221             try
15222             {
15223                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15224             }
15225             finally
15226             {
15227                 ptr_ptr.Free();
15228             }
15229             #if DEBUG
15230             }
15231             #endif
15232         }
15233 
15234         
15268         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15269         public static 
15270         void VertexAttribPointer<T5>(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
15271             where T5 : struct
15272         {
15273             #if DEBUG
15274             using (new ErrorHelper(GraphicsContext.CurrentContext))
15275             {
15276             #endif
15277             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15278             try
15279             {
15280                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15281                 ptr = (T5)ptr_ptr.Target;
15282             }
15283             finally
15284             {
15285                 ptr_ptr.Free();
15286             }
15287             #if DEBUG
15288             }
15289             #endif
15290         }
15291 
15292         
15326         [System.CLSCompliant(false)]
15327         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15328         public static 
15329         void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr)
15330         {
15331             #if DEBUG
15332             using (new ErrorHelper(GraphicsContext.CurrentContext))
15333             {
15334             #endif
15335             Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr);
15336             #if DEBUG
15337             }
15338             #endif
15339         }
15340 
15341         
15375         [System.CLSCompliant(false)]
15376         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15377         public static 
15378         void VertexAttribPointer<T5>(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
15379             where T5 : struct
15380         {
15381             #if DEBUG
15382             using (new ErrorHelper(GraphicsContext.CurrentContext))
15383             {
15384             #endif
15385             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15386             try
15387             {
15388                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15389             }
15390             finally
15391             {
15392                 ptr_ptr.Free();
15393             }
15394             #if DEBUG
15395             }
15396             #endif
15397         }
15398 
15399         
15433         [System.CLSCompliant(false)]
15434         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15435         public static 
15436         void VertexAttribPointer<T5>(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
15437             where T5 : struct
15438         {
15439             #if DEBUG
15440             using (new ErrorHelper(GraphicsContext.CurrentContext))
15441             {
15442             #endif
15443             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15444             try
15445             {
15446                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15447             }
15448             finally
15449             {
15450                 ptr_ptr.Free();
15451             }
15452             #if DEBUG
15453             }
15454             #endif
15455         }
15456 
15457         
15491         [System.CLSCompliant(false)]
15492         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15493         public static 
15494         void VertexAttribPointer<T5>(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
15495             where T5 : struct
15496         {
15497             #if DEBUG
15498             using (new ErrorHelper(GraphicsContext.CurrentContext))
15499             {
15500             #endif
15501             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15502             try
15503             {
15504                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15505             }
15506             finally
15507             {
15508                 ptr_ptr.Free();
15509             }
15510             #if DEBUG
15511             }
15512             #endif
15513         }
15514 
15515         
15549         [System.CLSCompliant(false)]
15550         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
15551         public static 
15552         void VertexAttribPointer<T5>(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
15553             where T5 : struct
15554         {
15555             #if DEBUG
15556             using (new ErrorHelper(GraphicsContext.CurrentContext))
15557             {
15558             #endif
15559             GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
15560             try
15561             {
15562                 Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
15563                 ptr = (T5)ptr_ptr.Target;
15564             }
15565             finally
15566             {
15567                 ptr_ptr.Free();
15568             }
15569             #if DEBUG
15570             }
15571             #endif
15572         }
15573 
15574         
15588         [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glViewport")]
15589         public static 
15590         void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
15591         {
15592             #if DEBUG
15593             using (new ErrorHelper(GraphicsContext.CurrentContext))
15594             {
15595             #endif
15596             Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
15597             #if DEBUG
15598             }
15599             #endif
15600         }
15601 
15602         public static partial class NV
15603         {
15604             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15605             public static 
15606             void DeleteFences(Int32 n, Int32[] fences)
15607             {
15608                 #if DEBUG
15609                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15610                 {
15611                 #endif
15612                 unsafe
15613                 {
15614                     fixed (Int32* fences_ptr = fences)
15615                     {
15616                         Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
15617                     }
15618                 }
15619                 #if DEBUG
15620                 }
15621                 #endif
15622             }
15623 
15624             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15625             public static 
15626             void DeleteFences(Int32 n, ref Int32 fences)
15627             {
15628                 #if DEBUG
15629                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15630                 {
15631                 #endif
15632                 unsafe
15633                 {
15634                     fixed (Int32* fences_ptr = &fences)
15635                     {
15636                         Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
15637                     }
15638                 }
15639                 #if DEBUG
15640                 }
15641                 #endif
15642             }
15643 
15644             [System.CLSCompliant(false)]
15645             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15646             public static 
15647             unsafe void DeleteFences(Int32 n, Int32* fences)
15648             {
15649                 #if DEBUG
15650                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15651                 {
15652                 #endif
15653                 Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
15654                 #if DEBUG
15655                 }
15656                 #endif
15657             }
15658 
15659             [System.CLSCompliant(false)]
15660             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15661             public static 
15662             void DeleteFences(Int32 n, UInt32[] fences)
15663             {
15664                 #if DEBUG
15665                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15666                 {
15667                 #endif
15668                 unsafe
15669                 {
15670                     fixed (UInt32* fences_ptr = fences)
15671                     {
15672                         Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
15673                     }
15674                 }
15675                 #if DEBUG
15676                 }
15677                 #endif
15678             }
15679 
15680             [System.CLSCompliant(false)]
15681             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15682             public static 
15683             void DeleteFences(Int32 n, ref UInt32 fences)
15684             {
15685                 #if DEBUG
15686                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15687                 {
15688                 #endif
15689                 unsafe
15690                 {
15691                     fixed (UInt32* fences_ptr = &fences)
15692                     {
15693                         Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
15694                     }
15695                 }
15696                 #if DEBUG
15697                 }
15698                 #endif
15699             }
15700 
15701             [System.CLSCompliant(false)]
15702             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
15703             public static 
15704             unsafe void DeleteFences(Int32 n, UInt32* fences)
15705             {
15706                 #if DEBUG
15707                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15708                 {
15709                 #endif
15710                 Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
15711                 #if DEBUG
15712                 }
15713                 #endif
15714             }
15715 
15716             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
15717             public static 
15718             void FinishFence(Int32 fence)
15719             {
15720                 #if DEBUG
15721                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15722                 {
15723                 #endif
15724                 Delegates.glFinishFenceNV((UInt32)fence);
15725                 #if DEBUG
15726                 }
15727                 #endif
15728             }
15729 
15730             [System.CLSCompliant(false)]
15731             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
15732             public static 
15733             void FinishFence(UInt32 fence)
15734             {
15735                 #if DEBUG
15736                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15737                 {
15738                 #endif
15739                 Delegates.glFinishFenceNV((UInt32)fence);
15740                 #if DEBUG
15741                 }
15742                 #endif
15743             }
15744 
15745             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15746             public static 
15747             void GenFences(Int32 n, [OutAttribute] Int32[] fences)
15748             {
15749                 #if DEBUG
15750                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15751                 {
15752                 #endif
15753                 unsafe
15754                 {
15755                     fixed (Int32* fences_ptr = fences)
15756                     {
15757                         Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
15758                     }
15759                 }
15760                 #if DEBUG
15761                 }
15762                 #endif
15763             }
15764 
15765             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15766             public static 
15767             void GenFences(Int32 n, [OutAttribute] out Int32 fences)
15768             {
15769                 #if DEBUG
15770                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15771                 {
15772                 #endif
15773                 unsafe
15774                 {
15775                     fixed (Int32* fences_ptr = &fences)
15776                     {
15777                         Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
15778                         fences = *fences_ptr;
15779                     }
15780                 }
15781                 #if DEBUG
15782                 }
15783                 #endif
15784             }
15785 
15786             [System.CLSCompliant(false)]
15787             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15788             public static 
15789             unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences)
15790             {
15791                 #if DEBUG
15792                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15793                 {
15794                 #endif
15795                 Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
15796                 #if DEBUG
15797                 }
15798                 #endif
15799             }
15800 
15801             [System.CLSCompliant(false)]
15802             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15803             public static 
15804             void GenFences(Int32 n, [OutAttribute] UInt32[] fences)
15805             {
15806                 #if DEBUG
15807                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15808                 {
15809                 #endif
15810                 unsafe
15811                 {
15812                     fixed (UInt32* fences_ptr = fences)
15813                     {
15814                         Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
15815                     }
15816                 }
15817                 #if DEBUG
15818                 }
15819                 #endif
15820             }
15821 
15822             [System.CLSCompliant(false)]
15823             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15824             public static 
15825             void GenFences(Int32 n, [OutAttribute] out UInt32 fences)
15826             {
15827                 #if DEBUG
15828                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15829                 {
15830                 #endif
15831                 unsafe
15832                 {
15833                     fixed (UInt32* fences_ptr = &fences)
15834                     {
15835                         Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
15836                         fences = *fences_ptr;
15837                     }
15838                 }
15839                 #if DEBUG
15840                 }
15841                 #endif
15842             }
15843 
15844             [System.CLSCompliant(false)]
15845             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
15846             public static 
15847             unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences)
15848             {
15849                 #if DEBUG
15850                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15851                 {
15852                 #endif
15853                 Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
15854                 #if DEBUG
15855                 }
15856                 #endif
15857             }
15858 
15859             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15860             public static 
15861             void GetFence(Int32 fence, [OutAttribute] Int32[] @params)
15862             {
15863                 #if DEBUG
15864                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15865                 {
15866                 #endif
15867                 unsafe
15868                 {
15869                     fixed (Int32* @params_ptr = @params)
15870                     {
15871                         Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
15872                     }
15873                 }
15874                 #if DEBUG
15875                 }
15876                 #endif
15877             }
15878 
15879             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15880             public static 
15881             void GetFence(Int32 fence, [OutAttribute] out Int32 @params)
15882             {
15883                 #if DEBUG
15884                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15885                 {
15886                 #endif
15887                 unsafe
15888                 {
15889                     fixed (Int32* @params_ptr = &@params)
15890                     {
15891                         Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
15892                         @params = *@params_ptr;
15893                     }
15894                 }
15895                 #if DEBUG
15896                 }
15897                 #endif
15898             }
15899 
15900             [System.CLSCompliant(false)]
15901             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15902             public static 
15903             unsafe void GetFence(Int32 fence, [OutAttribute] Int32* @params)
15904             {
15905                 #if DEBUG
15906                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15907                 {
15908                 #endif
15909                 Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params);
15910                 #if DEBUG
15911                 }
15912                 #endif
15913             }
15914 
15915             [System.CLSCompliant(false)]
15916             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15917             public static 
15918             void GetFence(UInt32 fence, [OutAttribute] Int32[] @params)
15919             {
15920                 #if DEBUG
15921                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15922                 {
15923                 #endif
15924                 unsafe
15925                 {
15926                     fixed (Int32* @params_ptr = @params)
15927                     {
15928                         Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
15929                     }
15930                 }
15931                 #if DEBUG
15932                 }
15933                 #endif
15934             }
15935 
15936             [System.CLSCompliant(false)]
15937             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15938             public static 
15939             void GetFence(UInt32 fence, [OutAttribute] out Int32 @params)
15940             {
15941                 #if DEBUG
15942                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15943                 {
15944                 #endif
15945                 unsafe
15946                 {
15947                     fixed (Int32* @params_ptr = &@params)
15948                     {
15949                         Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params_ptr);
15950                         @params = *@params_ptr;
15951                     }
15952                 }
15953                 #if DEBUG
15954                 }
15955                 #endif
15956             }
15957 
15958             [System.CLSCompliant(false)]
15959             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
15960             public static 
15961             unsafe void GetFence(UInt32 fence, [OutAttribute] Int32* @params)
15962             {
15963                 #if DEBUG
15964                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15965                 {
15966                 #endif
15967                 Delegates.glGetFenceivNV((UInt32)fence, (Int32*)@params);
15968                 #if DEBUG
15969                 }
15970                 #endif
15971             }
15972 
15973             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
15974             public static 
15975             bool IsFence(Int32 fence)
15976             {
15977                 #if DEBUG
15978                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15979                 {
15980                 #endif
15981                 return Delegates.glIsFenceNV((UInt32)fence);
15982                 #if DEBUG
15983                 }
15984                 #endif
15985             }
15986 
15987             [System.CLSCompliant(false)]
15988             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
15989             public static 
15990             bool IsFence(UInt32 fence)
15991             {
15992                 #if DEBUG
15993                 using (new ErrorHelper(GraphicsContext.CurrentContext))
15994                 {
15995                 #endif
15996                 return Delegates.glIsFenceNV((UInt32)fence);
15997                 #if DEBUG
15998                 }
15999                 #endif
16000             }
16001 
16002             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
16003             public static 
16004             void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition)
16005             {
16006                 #if DEBUG
16007                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16008                 {
16009                 #endif
16010                 Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition);
16011                 #if DEBUG
16012                 }
16013                 #endif
16014             }
16015 
16016             [System.CLSCompliant(false)]
16017             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
16018             public static 
16019             void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition)
16020             {
16021                 #if DEBUG
16022                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16023                 {
16024                 #endif
16025                 Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition);
16026                 #if DEBUG
16027                 }
16028                 #endif
16029             }
16030 
16031             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
16032             public static 
16033             bool TestFence(Int32 fence)
16034             {
16035                 #if DEBUG
16036                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16037                 {
16038                 #endif
16039                 return Delegates.glTestFenceNV((UInt32)fence);
16040                 #if DEBUG
16041                 }
16042                 #endif
16043             }
16044 
16045             [System.CLSCompliant(false)]
16046             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
16047             public static 
16048             bool TestFence(UInt32 fence)
16049             {
16050                 #if DEBUG
16051                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16052                 {
16053                 #endif
16054                 return Delegates.glTestFenceNV((UInt32)fence);
16055                 #if DEBUG
16056                 }
16057                 #endif
16058             }
16059 
16060         }
16061 
16062         public static partial class Oes
16063         {
16064             
16113             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
16114             public static 
16115             void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
16116             {
16117                 #if DEBUG
16118                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16119                 {
16120                 #endif
16121                 Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
16122                 #if DEBUG
16123                 }
16124                 #endif
16125             }
16126 
16127             
16176             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
16177             public static 
16178             void CompressedTexImage3D<T8>(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
16179                 where T8 : struct
16180             {
16181                 #if DEBUG
16182                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16183                 {
16184                 #endif
16185                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16186                 try
16187                 {
16188                     Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16189                 }
16190                 finally
16191                 {
16192                     data_ptr.Free();
16193                 }
16194                 #if DEBUG
16195                 }
16196                 #endif
16197             }
16198 
16199             
16248             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
16249             public static 
16250             void CompressedTexImage3D<T8>(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
16251                 where T8 : struct
16252             {
16253                 #if DEBUG
16254                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16255                 {
16256                 #endif
16257                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16258                 try
16259                 {
16260                     Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16261                 }
16262                 finally
16263                 {
16264                     data_ptr.Free();
16265                 }
16266                 #if DEBUG
16267                 }
16268                 #endif
16269             }
16270 
16271             
16320             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
16321             public static 
16322             void CompressedTexImage3D<T8>(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
16323                 where T8 : struct
16324             {
16325                 #if DEBUG
16326                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16327                 {
16328                 #endif
16329                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16330                 try
16331                 {
16332                     Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16333                 }
16334                 finally
16335                 {
16336                     data_ptr.Free();
16337                 }
16338                 #if DEBUG
16339                 }
16340                 #endif
16341             }
16342 
16343             
16392             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
16393             public static 
16394             void CompressedTexImage3D<T8>(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
16395                 where T8 : struct
16396             {
16397                 #if DEBUG
16398                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16399                 {
16400                 #endif
16401                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16402                 try
16403                 {
16404                     Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16405                     data = (T8)data_ptr.Target;
16406                 }
16407                 finally
16408                 {
16409                     data_ptr.Free();
16410                 }
16411                 #if DEBUG
16412                 }
16413                 #endif
16414             }
16415 
16416             
16470             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")]
16471             public static 
16472             void CompressedTexSubImage3D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data)
16473             {
16474                 #if DEBUG
16475                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16476                 {
16477                 #endif
16478                 Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data);
16479                 #if DEBUG
16480                 }
16481                 #endif
16482             }
16483 
16484             
16538             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")]
16539             public static 
16540             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data)
16541                 where T10 : struct
16542             {
16543                 #if DEBUG
16544                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16545                 {
16546                 #endif
16547                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16548                 try
16549                 {
16550                     Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16551                 }
16552                 finally
16553                 {
16554                     data_ptr.Free();
16555                 }
16556                 #if DEBUG
16557                 }
16558                 #endif
16559             }
16560 
16561             
16615             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")]
16616             public static 
16617             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data)
16618                 where T10 : struct
16619             {
16620                 #if DEBUG
16621                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16622                 {
16623                 #endif
16624                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16625                 try
16626                 {
16627                     Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16628                 }
16629                 finally
16630                 {
16631                     data_ptr.Free();
16632                 }
16633                 #if DEBUG
16634                 }
16635                 #endif
16636             }
16637 
16638             
16692             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")]
16693             public static 
16694             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data)
16695                 where T10 : struct
16696             {
16697                 #if DEBUG
16698                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16699                 {
16700                 #endif
16701                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16702                 try
16703                 {
16704                     Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16705                 }
16706                 finally
16707                 {
16708                     data_ptr.Free();
16709                 }
16710                 #if DEBUG
16711                 }
16712                 #endif
16713             }
16714 
16715             
16769             [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage3DOES")]
16770             public static 
16771             void CompressedTexSubImage3D<T10>(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data)
16772                 where T10 : struct
16773             {
16774                 #if DEBUG
16775                 using (new ErrorHelper(GraphicsContext.CurrentContext))
16776                 {
16777                 #endif
16778                 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
16779                 try
16780                 {
16781                     Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
16782                     data = (T10)data_ptr.Target;
16783                 }
16784                 finally
16785                 {
16786