00001 #region License
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #endregion
00027 #if EXPERIMENTAL
00028 namespace OpenTK.Graphics.ES10
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
00050 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glActiveTexture")]
00051 public static
00052 void ActiveTexture(OpenTK.Graphics.ES10.All texture)
00053 {
00054 #if DEBUG
00055 using (new ErrorHelper(GraphicsContext.CurrentContext))
00056 {
00057 #endif
00058 Delegates.glActiveTexture((OpenTK.Graphics.ES10.All)texture);
00059 #if DEBUG
00060 }
00061 #endif
00062 }
00063
00064
00078 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFunc")]
00079 public static
00080 void AlphaFunc(OpenTK.Graphics.ES10.All func, Single @ref)
00081 {
00082 #if DEBUG
00083 using (new ErrorHelper(GraphicsContext.CurrentContext))
00084 {
00085 #endif
00086 Delegates.glAlphaFunc((OpenTK.Graphics.ES10.All)func, (Single)@ref);
00087 #if DEBUG
00088 }
00089 #endif
00090 }
00091
00092 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glAlphaFuncx")]
00093 public static
00094 void AlphaFuncx(OpenTK.Graphics.ES10.All func, int @ref)
00095 {
00096 #if DEBUG
00097 using (new ErrorHelper(GraphicsContext.CurrentContext))
00098 {
00099 #endif
00100 Delegates.glAlphaFuncx((OpenTK.Graphics.ES10.All)func, (int)@ref);
00101 #if DEBUG
00102 }
00103 #endif
00104 }
00105
00106
00120 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
00121 public static
00122 void BindTexture(OpenTK.Graphics.ES10.All target, Int32 texture)
00123 {
00124 #if DEBUG
00125 using (new ErrorHelper(GraphicsContext.CurrentContext))
00126 {
00127 #endif
00128 Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture);
00129 #if DEBUG
00130 }
00131 #endif
00132 }
00133
00134
00148 [System.CLSCompliant(false)]
00149 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBindTexture")]
00150 public static
00151 void BindTexture(OpenTK.Graphics.ES10.All target, UInt32 texture)
00152 {
00153 #if DEBUG
00154 using (new ErrorHelper(GraphicsContext.CurrentContext))
00155 {
00156 #endif
00157 Delegates.glBindTexture((OpenTK.Graphics.ES10.All)target, (UInt32)texture);
00158 #if DEBUG
00159 }
00160 #endif
00161 }
00162
00163
00177 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glBlendFunc")]
00178 public static
00179 void BlendFunc(OpenTK.Graphics.ES10.All sfactor, OpenTK.Graphics.ES10.All dfactor)
00180 {
00181 #if DEBUG
00182 using (new ErrorHelper(GraphicsContext.CurrentContext))
00183 {
00184 #endif
00185 Delegates.glBlendFunc((OpenTK.Graphics.ES10.All)sfactor, (OpenTK.Graphics.ES10.All)dfactor);
00186 #if DEBUG
00187 }
00188 #endif
00189 }
00190
00191
00200 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
00201 public static
00202 void Clear(Int32 mask)
00203 {
00204 #if DEBUG
00205 using (new ErrorHelper(GraphicsContext.CurrentContext))
00206 {
00207 #endif
00208 Delegates.glClear((UInt32)mask);
00209 #if DEBUG
00210 }
00211 #endif
00212 }
00213
00214
00223 [System.CLSCompliant(false)]
00224 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClear")]
00225 public static
00226 void Clear(UInt32 mask)
00227 {
00228 #if DEBUG
00229 using (new ErrorHelper(GraphicsContext.CurrentContext))
00230 {
00231 #endif
00232 Delegates.glClear((UInt32)mask);
00233 #if DEBUG
00234 }
00235 #endif
00236 }
00237
00238
00247 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColor")]
00248 public static
00249 void ClearColor(Single red, Single green, Single blue, Single alpha)
00250 {
00251 #if DEBUG
00252 using (new ErrorHelper(GraphicsContext.CurrentContext))
00253 {
00254 #endif
00255 Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
00256 #if DEBUG
00257 }
00258 #endif
00259 }
00260
00261 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearColorx")]
00262 public static
00263 void ClearColorx(int red, int green, int blue, int alpha)
00264 {
00265 #if DEBUG
00266 using (new ErrorHelper(GraphicsContext.CurrentContext))
00267 {
00268 #endif
00269 Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha);
00270 #if DEBUG
00271 }
00272 #endif
00273 }
00274
00275
00284 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthf")]
00285 public static
00286 void ClearDepth(Single depth)
00287 {
00288 #if DEBUG
00289 using (new ErrorHelper(GraphicsContext.CurrentContext))
00290 {
00291 #endif
00292 Delegates.glClearDepthf((Single)depth);
00293 #if DEBUG
00294 }
00295 #endif
00296 }
00297
00298 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearDepthx")]
00299 public static
00300 void ClearDepthx(int depth)
00301 {
00302 #if DEBUG
00303 using (new ErrorHelper(GraphicsContext.CurrentContext))
00304 {
00305 #endif
00306 Delegates.glClearDepthx((int)depth);
00307 #if DEBUG
00308 }
00309 #endif
00310 }
00311
00312
00321 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClearStencil")]
00322 public static
00323 void ClearStencil(Int32 s)
00324 {
00325 #if DEBUG
00326 using (new ErrorHelper(GraphicsContext.CurrentContext))
00327 {
00328 #endif
00329 Delegates.glClearStencil((Int32)s);
00330 #if DEBUG
00331 }
00332 #endif
00333 }
00334
00335
00344 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glClientActiveTexture")]
00345 public static
00346 void ClientActiveTexture(OpenTK.Graphics.ES10.All texture)
00347 {
00348 #if DEBUG
00349 using (new ErrorHelper(GraphicsContext.CurrentContext))
00350 {
00351 #endif
00352 Delegates.glClientActiveTexture((OpenTK.Graphics.ES10.All)texture);
00353 #if DEBUG
00354 }
00355 #endif
00356 }
00357
00358
00372 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4f")]
00373 public static
00374 void Color4(Single red, Single green, Single blue, Single alpha)
00375 {
00376 #if DEBUG
00377 using (new ErrorHelper(GraphicsContext.CurrentContext))
00378 {
00379 #endif
00380 Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
00381 #if DEBUG
00382 }
00383 #endif
00384 }
00385
00386 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColor4x")]
00387 public static
00388 void Color4x(int red, int green, int blue, int alpha)
00389 {
00390 #if DEBUG
00391 using (new ErrorHelper(GraphicsContext.CurrentContext))
00392 {
00393 #endif
00394 Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha);
00395 #if DEBUG
00396 }
00397 #endif
00398 }
00399
00400
00409 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorMask")]
00410 public static
00411 void ColorMask(bool red, bool green, bool blue, bool alpha)
00412 {
00413 #if DEBUG
00414 using (new ErrorHelper(GraphicsContext.CurrentContext))
00415 {
00416 #endif
00417 Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
00418 #if DEBUG
00419 }
00420 #endif
00421 }
00422
00423
00447 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
00448 public static
00449 void ColorPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
00450 where T3 : struct
00451 {
00452 #if DEBUG
00453 using (new ErrorHelper(GraphicsContext.CurrentContext))
00454 {
00455 #endif
00456 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
00457 try
00458 {
00459 Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
00460 pointer = (T3)pointer_ptr.Target;
00461 }
00462 finally
00463 {
00464 pointer_ptr.Free();
00465 }
00466 #if DEBUG
00467 }
00468 #endif
00469 }
00470
00471
00495 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
00496 public static
00497 void ColorPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
00498 where T3 : struct
00499 {
00500 #if DEBUG
00501 using (new ErrorHelper(GraphicsContext.CurrentContext))
00502 {
00503 #endif
00504 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
00505 try
00506 {
00507 Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
00508 }
00509 finally
00510 {
00511 pointer_ptr.Free();
00512 }
00513 #if DEBUG
00514 }
00515 #endif
00516 }
00517
00518
00542 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
00543 public static
00544 void ColorPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
00545 where T3 : struct
00546 {
00547 #if DEBUG
00548 using (new ErrorHelper(GraphicsContext.CurrentContext))
00549 {
00550 #endif
00551 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
00552 try
00553 {
00554 Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
00555 }
00556 finally
00557 {
00558 pointer_ptr.Free();
00559 }
00560 #if DEBUG
00561 }
00562 #endif
00563 }
00564
00565
00589 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
00590 public static
00591 void ColorPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
00592 where T3 : struct
00593 {
00594 #if DEBUG
00595 using (new ErrorHelper(GraphicsContext.CurrentContext))
00596 {
00597 #endif
00598 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
00599 try
00600 {
00601 Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
00602 }
00603 finally
00604 {
00605 pointer_ptr.Free();
00606 }
00607 #if DEBUG
00608 }
00609 #endif
00610 }
00611
00612
00636 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glColorPointer")]
00637 public static
00638 void ColorPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer)
00639 {
00640 #if DEBUG
00641 using (new ErrorHelper(GraphicsContext.CurrentContext))
00642 {
00643 #endif
00644 Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer);
00645 #if DEBUG
00646 }
00647 #endif
00648 }
00649
00650
00694 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
00695 public static
00696 void CompressedTexImage2D<T7>(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
00697 where T7 : struct
00698 {
00699 #if DEBUG
00700 using (new ErrorHelper(GraphicsContext.CurrentContext))
00701 {
00702 #endif
00703 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00704 try
00705 {
00706 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
00707 data = (T7)data_ptr.Target;
00708 }
00709 finally
00710 {
00711 data_ptr.Free();
00712 }
00713 #if DEBUG
00714 }
00715 #endif
00716 }
00717
00718
00762 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
00763 public static
00764 void CompressedTexImage2D<T7>(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
00765 where T7 : struct
00766 {
00767 #if DEBUG
00768 using (new ErrorHelper(GraphicsContext.CurrentContext))
00769 {
00770 #endif
00771 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00772 try
00773 {
00774 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
00775 }
00776 finally
00777 {
00778 data_ptr.Free();
00779 }
00780 #if DEBUG
00781 }
00782 #endif
00783 }
00784
00785
00829 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
00830 public static
00831 void CompressedTexImage2D<T7>(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
00832 where T7 : struct
00833 {
00834 #if DEBUG
00835 using (new ErrorHelper(GraphicsContext.CurrentContext))
00836 {
00837 #endif
00838 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00839 try
00840 {
00841 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
00842 }
00843 finally
00844 {
00845 data_ptr.Free();
00846 }
00847 #if DEBUG
00848 }
00849 #endif
00850 }
00851
00852
00896 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
00897 public static
00898 void CompressedTexImage2D<T7>(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
00899 where T7 : struct
00900 {
00901 #if DEBUG
00902 using (new ErrorHelper(GraphicsContext.CurrentContext))
00903 {
00904 #endif
00905 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
00906 try
00907 {
00908 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
00909 }
00910 finally
00911 {
00912 data_ptr.Free();
00913 }
00914 #if DEBUG
00915 }
00916 #endif
00917 }
00918
00919
00963 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
00964 public static
00965 void CompressedTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
00966 {
00967 #if DEBUG
00968 using (new ErrorHelper(GraphicsContext.CurrentContext))
00969 {
00970 #endif
00971 Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
00972 #if DEBUG
00973 }
00974 #endif
00975 }
00976
00977
01026 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
01027 public static
01028 void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
01029 where T8 : struct
01030 {
01031 #if DEBUG
01032 using (new ErrorHelper(GraphicsContext.CurrentContext))
01033 {
01034 #endif
01035 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01036 try
01037 {
01038 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
01039 data = (T8)data_ptr.Target;
01040 }
01041 finally
01042 {
01043 data_ptr.Free();
01044 }
01045 #if DEBUG
01046 }
01047 #endif
01048 }
01049
01050
01099 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
01100 public static
01101 void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
01102 where T8 : struct
01103 {
01104 #if DEBUG
01105 using (new ErrorHelper(GraphicsContext.CurrentContext))
01106 {
01107 #endif
01108 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01109 try
01110 {
01111 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
01112 }
01113 finally
01114 {
01115 data_ptr.Free();
01116 }
01117 #if DEBUG
01118 }
01119 #endif
01120 }
01121
01122
01171 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
01172 public static
01173 void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
01174 where T8 : struct
01175 {
01176 #if DEBUG
01177 using (new ErrorHelper(GraphicsContext.CurrentContext))
01178 {
01179 #endif
01180 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01181 try
01182 {
01183 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
01184 }
01185 finally
01186 {
01187 data_ptr.Free();
01188 }
01189 #if DEBUG
01190 }
01191 #endif
01192 }
01193
01194
01243 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
01244 public static
01245 void CompressedTexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
01246 where T8 : struct
01247 {
01248 #if DEBUG
01249 using (new ErrorHelper(GraphicsContext.CurrentContext))
01250 {
01251 #endif
01252 GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
01253 try
01254 {
01255 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
01256 }
01257 finally
01258 {
01259 data_ptr.Free();
01260 }
01261 #if DEBUG
01262 }
01263 #endif
01264 }
01265
01266
01315 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
01316 public static
01317 void CompressedTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, Int32 imageSize, IntPtr data)
01318 {
01319 #if DEBUG
01320 using (new ErrorHelper(GraphicsContext.CurrentContext))
01321 {
01322 #endif
01323 Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (Int32)imageSize, (IntPtr)data);
01324 #if DEBUG
01325 }
01326 #endif
01327 }
01328
01329
01368 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexImage2D")]
01369 public static
01370 void CopyTexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, OpenTK.Graphics.ES10.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
01371 {
01372 #if DEBUG
01373 using (new ErrorHelper(GraphicsContext.CurrentContext))
01374 {
01375 #endif
01376 Delegates.glCopyTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (OpenTK.Graphics.ES10.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
01377 #if DEBUG
01378 }
01379 #endif
01380 }
01381
01382
01421 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")]
01422 public static
01423 void CopyTexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
01424 {
01425 #if DEBUG
01426 using (new ErrorHelper(GraphicsContext.CurrentContext))
01427 {
01428 #endif
01429 Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
01430 #if DEBUG
01431 }
01432 #endif
01433 }
01434
01435
01444 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glCullFace")]
01445 public static
01446 void CullFace(OpenTK.Graphics.ES10.All mode)
01447 {
01448 #if DEBUG
01449 using (new ErrorHelper(GraphicsContext.CurrentContext))
01450 {
01451 #endif
01452 Delegates.glCullFace((OpenTK.Graphics.ES10.All)mode);
01453 #if DEBUG
01454 }
01455 #endif
01456 }
01457
01458
01472 [System.CLSCompliant(false)]
01473 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01474 public static
01475 unsafe void DeleteTextures(Int32 n, Int32* textures)
01476 {
01477 #if DEBUG
01478 using (new ErrorHelper(GraphicsContext.CurrentContext))
01479 {
01480 #endif
01481 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
01482 #if DEBUG
01483 }
01484 #endif
01485 }
01486
01487
01501 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01502 public static
01503 void DeleteTextures(Int32 n, Int32[] textures)
01504 {
01505 #if DEBUG
01506 using (new ErrorHelper(GraphicsContext.CurrentContext))
01507 {
01508 #endif
01509 unsafe
01510 {
01511 fixed (Int32* textures_ptr = textures)
01512 {
01513 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
01514 }
01515 }
01516 #if DEBUG
01517 }
01518 #endif
01519 }
01520
01521
01535 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01536 public static
01537 void DeleteTextures(Int32 n, ref Int32 textures)
01538 {
01539 #if DEBUG
01540 using (new ErrorHelper(GraphicsContext.CurrentContext))
01541 {
01542 #endif
01543 unsafe
01544 {
01545 fixed (Int32* textures_ptr = &textures)
01546 {
01547 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
01548 }
01549 }
01550 #if DEBUG
01551 }
01552 #endif
01553 }
01554
01555
01569 [System.CLSCompliant(false)]
01570 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01571 public static
01572 void DeleteTextures(Int32 n, ref UInt32 textures)
01573 {
01574 #if DEBUG
01575 using (new ErrorHelper(GraphicsContext.CurrentContext))
01576 {
01577 #endif
01578 unsafe
01579 {
01580 fixed (UInt32* textures_ptr = &textures)
01581 {
01582 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
01583 }
01584 }
01585 #if DEBUG
01586 }
01587 #endif
01588 }
01589
01590
01604 [System.CLSCompliant(false)]
01605 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01606 public static
01607 unsafe void DeleteTextures(Int32 n, UInt32* textures)
01608 {
01609 #if DEBUG
01610 using (new ErrorHelper(GraphicsContext.CurrentContext))
01611 {
01612 #endif
01613 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
01614 #if DEBUG
01615 }
01616 #endif
01617 }
01618
01619
01633 [System.CLSCompliant(false)]
01634 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDeleteTextures")]
01635 public static
01636 void DeleteTextures(Int32 n, UInt32[] textures)
01637 {
01638 #if DEBUG
01639 using (new ErrorHelper(GraphicsContext.CurrentContext))
01640 {
01641 #endif
01642 unsafe
01643 {
01644 fixed (UInt32* textures_ptr = textures)
01645 {
01646 Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
01647 }
01648 }
01649 #if DEBUG
01650 }
01651 #endif
01652 }
01653
01654
01663 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthFunc")]
01664 public static
01665 void DepthFunc(OpenTK.Graphics.ES10.All func)
01666 {
01667 #if DEBUG
01668 using (new ErrorHelper(GraphicsContext.CurrentContext))
01669 {
01670 #endif
01671 Delegates.glDepthFunc((OpenTK.Graphics.ES10.All)func);
01672 #if DEBUG
01673 }
01674 #endif
01675 }
01676
01677
01686 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthMask")]
01687 public static
01688 void DepthMask(bool flag)
01689 {
01690 #if DEBUG
01691 using (new ErrorHelper(GraphicsContext.CurrentContext))
01692 {
01693 #endif
01694 Delegates.glDepthMask((bool)flag);
01695 #if DEBUG
01696 }
01697 #endif
01698 }
01699
01700
01714 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangef")]
01715 public static
01716 void DepthRange(Single zNear, Single zFar)
01717 {
01718 #if DEBUG
01719 using (new ErrorHelper(GraphicsContext.CurrentContext))
01720 {
01721 #endif
01722 Delegates.glDepthRangef((Single)zNear, (Single)zFar);
01723 #if DEBUG
01724 }
01725 #endif
01726 }
01727
01728 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDepthRangex")]
01729 public static
01730 void DepthRangex(int zNear, int zFar)
01731 {
01732 #if DEBUG
01733 using (new ErrorHelper(GraphicsContext.CurrentContext))
01734 {
01735 #endif
01736 Delegates.glDepthRangex((int)zNear, (int)zFar);
01737 #if DEBUG
01738 }
01739 #endif
01740 }
01741
01742 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisable")]
01743 public static
01744 void Disable(OpenTK.Graphics.ES10.All cap)
01745 {
01746 #if DEBUG
01747 using (new ErrorHelper(GraphicsContext.CurrentContext))
01748 {
01749 #endif
01750 Delegates.glDisable((OpenTK.Graphics.ES10.All)cap);
01751 #if DEBUG
01752 }
01753 #endif
01754 }
01755
01756 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDisableClientState")]
01757 public static
01758 void DisableClientState(OpenTK.Graphics.ES10.All array)
01759 {
01760 #if DEBUG
01761 using (new ErrorHelper(GraphicsContext.CurrentContext))
01762 {
01763 #endif
01764 Delegates.glDisableClientState((OpenTK.Graphics.ES10.All)array);
01765 #if DEBUG
01766 }
01767 #endif
01768 }
01769
01770
01789 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawArrays")]
01790 public static
01791 void DrawArrays(OpenTK.Graphics.ES10.All mode, Int32 first, Int32 count)
01792 {
01793 #if DEBUG
01794 using (new ErrorHelper(GraphicsContext.CurrentContext))
01795 {
01796 #endif
01797 Delegates.glDrawArrays((OpenTK.Graphics.ES10.All)mode, (Int32)first, (Int32)count);
01798 #if DEBUG
01799 }
01800 #endif
01801 }
01802
01803
01827 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
01828 public static
01829 void DrawElements<T3>(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T3 indices)
01830 where T3 : struct
01831 {
01832 #if DEBUG
01833 using (new ErrorHelper(GraphicsContext.CurrentContext))
01834 {
01835 #endif
01836 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
01837 try
01838 {
01839 Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
01840 indices = (T3)indices_ptr.Target;
01841 }
01842 finally
01843 {
01844 indices_ptr.Free();
01845 }
01846 #if DEBUG
01847 }
01848 #endif
01849 }
01850
01851
01875 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
01876 public static
01877 void DrawElements<T3>(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[,,] indices)
01878 where T3 : struct
01879 {
01880 #if DEBUG
01881 using (new ErrorHelper(GraphicsContext.CurrentContext))
01882 {
01883 #endif
01884 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
01885 try
01886 {
01887 Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
01888 }
01889 finally
01890 {
01891 indices_ptr.Free();
01892 }
01893 #if DEBUG
01894 }
01895 #endif
01896 }
01897
01898
01922 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
01923 public static
01924 void DrawElements<T3>(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[,] indices)
01925 where T3 : struct
01926 {
01927 #if DEBUG
01928 using (new ErrorHelper(GraphicsContext.CurrentContext))
01929 {
01930 #endif
01931 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
01932 try
01933 {
01934 Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
01935 }
01936 finally
01937 {
01938 indices_ptr.Free();
01939 }
01940 #if DEBUG
01941 }
01942 #endif
01943 }
01944
01945
01969 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
01970 public static
01971 void DrawElements<T3>(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T3[] indices)
01972 where T3 : struct
01973 {
01974 #if DEBUG
01975 using (new ErrorHelper(GraphicsContext.CurrentContext))
01976 {
01977 #endif
01978 GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
01979 try
01980 {
01981 Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
01982 }
01983 finally
01984 {
01985 indices_ptr.Free();
01986 }
01987 #if DEBUG
01988 }
01989 #endif
01990 }
01991
01992
02016 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glDrawElements")]
02017 public static
02018 void DrawElements(OpenTK.Graphics.ES10.All mode, Int32 count, OpenTK.Graphics.ES10.All type, IntPtr indices)
02019 {
02020 #if DEBUG
02021 using (new ErrorHelper(GraphicsContext.CurrentContext))
02022 {
02023 #endif
02024 Delegates.glDrawElements((OpenTK.Graphics.ES10.All)mode, (Int32)count, (OpenTK.Graphics.ES10.All)type, (IntPtr)indices);
02025 #if DEBUG
02026 }
02027 #endif
02028 }
02029
02030
02039 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnable")]
02040 public static
02041 void Enable(OpenTK.Graphics.ES10.All cap)
02042 {
02043 #if DEBUG
02044 using (new ErrorHelper(GraphicsContext.CurrentContext))
02045 {
02046 #endif
02047 Delegates.glEnable((OpenTK.Graphics.ES10.All)cap);
02048 #if DEBUG
02049 }
02050 #endif
02051 }
02052
02053
02062 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glEnableClientState")]
02063 public static
02064 void EnableClientState(OpenTK.Graphics.ES10.All array)
02065 {
02066 #if DEBUG
02067 using (new ErrorHelper(GraphicsContext.CurrentContext))
02068 {
02069 #endif
02070 Delegates.glEnableClientState((OpenTK.Graphics.ES10.All)array);
02071 #if DEBUG
02072 }
02073 #endif
02074 }
02075
02076
02080 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFinish")]
02081 public static
02082 void Finish()
02083 {
02084 #if DEBUG
02085 using (new ErrorHelper(GraphicsContext.CurrentContext))
02086 {
02087 #endif
02088 Delegates.glFinish();
02089 #if DEBUG
02090 }
02091 #endif
02092 }
02093
02094
02098 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFlush")]
02099 public static
02100 void Flush()
02101 {
02102 #if DEBUG
02103 using (new ErrorHelper(GraphicsContext.CurrentContext))
02104 {
02105 #endif
02106 Delegates.glFlush();
02107 #if DEBUG
02108 }
02109 #endif
02110 }
02111
02112
02126 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogf")]
02127 public static
02128 void Fog(OpenTK.Graphics.ES10.All pname, Single param)
02129 {
02130 #if DEBUG
02131 using (new ErrorHelper(GraphicsContext.CurrentContext))
02132 {
02133 #endif
02134 Delegates.glFogf((OpenTK.Graphics.ES10.All)pname, (Single)param);
02135 #if DEBUG
02136 }
02137 #endif
02138 }
02139
02140
02154 [System.CLSCompliant(false)]
02155 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")]
02156 public static
02157 unsafe void Fog(OpenTK.Graphics.ES10.All pname, Single* @params)
02158 {
02159 #if DEBUG
02160 using (new ErrorHelper(GraphicsContext.CurrentContext))
02161 {
02162 #endif
02163 Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params);
02164 #if DEBUG
02165 }
02166 #endif
02167 }
02168
02169
02183 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogfv")]
02184 public static
02185 void Fog(OpenTK.Graphics.ES10.All pname, Single[] @params)
02186 {
02187 #if DEBUG
02188 using (new ErrorHelper(GraphicsContext.CurrentContext))
02189 {
02190 #endif
02191 unsafe
02192 {
02193 fixed (Single* @params_ptr = @params)
02194 {
02195 Delegates.glFogfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr);
02196 }
02197 }
02198 #if DEBUG
02199 }
02200 #endif
02201 }
02202
02203 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogx")]
02204 public static
02205 void Fogx(OpenTK.Graphics.ES10.All pname, int param)
02206 {
02207 #if DEBUG
02208 using (new ErrorHelper(GraphicsContext.CurrentContext))
02209 {
02210 #endif
02211 Delegates.glFogx((OpenTK.Graphics.ES10.All)pname, (int)param);
02212 #if DEBUG
02213 }
02214 #endif
02215 }
02216
02217 [System.CLSCompliant(false)]
02218 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")]
02219 public static
02220 unsafe void Fogx(OpenTK.Graphics.ES10.All pname, int* @params)
02221 {
02222 #if DEBUG
02223 using (new ErrorHelper(GraphicsContext.CurrentContext))
02224 {
02225 #endif
02226 Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params);
02227 #if DEBUG
02228 }
02229 #endif
02230 }
02231
02232 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFogxv")]
02233 public static
02234 void Fogx(OpenTK.Graphics.ES10.All pname, int[] @params)
02235 {
02236 #if DEBUG
02237 using (new ErrorHelper(GraphicsContext.CurrentContext))
02238 {
02239 #endif
02240 unsafe
02241 {
02242 fixed (int* @params_ptr = @params)
02243 {
02244 Delegates.glFogxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr);
02245 }
02246 }
02247 #if DEBUG
02248 }
02249 #endif
02250 }
02251
02252
02261 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrontFace")]
02262 public static
02263 void FrontFace(OpenTK.Graphics.ES10.All mode)
02264 {
02265 #if DEBUG
02266 using (new ErrorHelper(GraphicsContext.CurrentContext))
02267 {
02268 #endif
02269 Delegates.glFrontFace((OpenTK.Graphics.ES10.All)mode);
02270 #if DEBUG
02271 }
02272 #endif
02273 }
02274
02275
02294 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumf")]
02295 public static
02296 void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
02297 {
02298 #if DEBUG
02299 using (new ErrorHelper(GraphicsContext.CurrentContext))
02300 {
02301 #endif
02302 Delegates.glFrustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
02303 #if DEBUG
02304 }
02305 #endif
02306 }
02307
02308 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glFrustumx")]
02309 public static
02310 void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar)
02311 {
02312 #if DEBUG
02313 using (new ErrorHelper(GraphicsContext.CurrentContext))
02314 {
02315 #endif
02316 Delegates.glFrustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
02317 #if DEBUG
02318 }
02319 #endif
02320 }
02321
02322
02336 [System.CLSCompliant(false)]
02337 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02338 public static
02339 unsafe void GenTextures(Int32 n, Int32* textures)
02340 {
02341 #if DEBUG
02342 using (new ErrorHelper(GraphicsContext.CurrentContext))
02343 {
02344 #endif
02345 Delegates.glGenTextures((Int32)n, (UInt32*)textures);
02346 #if DEBUG
02347 }
02348 #endif
02349 }
02350
02351
02365 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02366 public static
02367 void GenTextures(Int32 n, Int32[] textures)
02368 {
02369 #if DEBUG
02370 using (new ErrorHelper(GraphicsContext.CurrentContext))
02371 {
02372 #endif
02373 unsafe
02374 {
02375 fixed (Int32* textures_ptr = textures)
02376 {
02377 Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
02378 }
02379 }
02380 #if DEBUG
02381 }
02382 #endif
02383 }
02384
02385
02399 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02400 public static
02401 void GenTextures(Int32 n, ref Int32 textures)
02402 {
02403 #if DEBUG
02404 using (new ErrorHelper(GraphicsContext.CurrentContext))
02405 {
02406 #endif
02407 unsafe
02408 {
02409 fixed (Int32* textures_ptr = &textures)
02410 {
02411 Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
02412 }
02413 }
02414 #if DEBUG
02415 }
02416 #endif
02417 }
02418
02419
02433 [System.CLSCompliant(false)]
02434 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02435 public static
02436 void GenTextures(Int32 n, ref UInt32 textures)
02437 {
02438 #if DEBUG
02439 using (new ErrorHelper(GraphicsContext.CurrentContext))
02440 {
02441 #endif
02442 unsafe
02443 {
02444 fixed (UInt32* textures_ptr = &textures)
02445 {
02446 Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
02447 }
02448 }
02449 #if DEBUG
02450 }
02451 #endif
02452 }
02453
02454
02468 [System.CLSCompliant(false)]
02469 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02470 public static
02471 unsafe void GenTextures(Int32 n, UInt32* textures)
02472 {
02473 #if DEBUG
02474 using (new ErrorHelper(GraphicsContext.CurrentContext))
02475 {
02476 #endif
02477 Delegates.glGenTextures((Int32)n, (UInt32*)textures);
02478 #if DEBUG
02479 }
02480 #endif
02481 }
02482
02483
02497 [System.CLSCompliant(false)]
02498 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGenTextures")]
02499 public static
02500 void GenTextures(Int32 n, UInt32[] textures)
02501 {
02502 #if DEBUG
02503 using (new ErrorHelper(GraphicsContext.CurrentContext))
02504 {
02505 #endif
02506 unsafe
02507 {
02508 fixed (UInt32* textures_ptr = textures)
02509 {
02510 Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
02511 }
02512 }
02513 #if DEBUG
02514 }
02515 #endif
02516 }
02517
02518
02522 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetError")]
02523 public static
02524 OpenTK.Graphics.ES10.All GetError()
02525 {
02526 return Delegates.glGetError();
02527 }
02528
02529 [System.CLSCompliant(false)]
02530 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
02531 public static
02532 unsafe void GetInteger(OpenTK.Graphics.ES10.All pname, Int32* @params)
02533 {
02534 #if DEBUG
02535 using (new ErrorHelper(GraphicsContext.CurrentContext))
02536 {
02537 #endif
02538 Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params);
02539 #if DEBUG
02540 }
02541 #endif
02542 }
02543
02544 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
02545 public static
02546 void GetInteger(OpenTK.Graphics.ES10.All pname, Int32[] @params)
02547 {
02548 #if DEBUG
02549 using (new ErrorHelper(GraphicsContext.CurrentContext))
02550 {
02551 #endif
02552 unsafe
02553 {
02554 fixed (Int32* @params_ptr = @params)
02555 {
02556 Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr);
02557 }
02558 }
02559 #if DEBUG
02560 }
02561 #endif
02562 }
02563
02564 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetIntegerv")]
02565 public static
02566 void GetInteger(OpenTK.Graphics.ES10.All pname, ref Int32 @params)
02567 {
02568 #if DEBUG
02569 using (new ErrorHelper(GraphicsContext.CurrentContext))
02570 {
02571 #endif
02572 unsafe
02573 {
02574 fixed (Int32* @params_ptr = &@params)
02575 {
02576 Delegates.glGetIntegerv((OpenTK.Graphics.ES10.All)pname, (Int32*)@params_ptr);
02577 }
02578 }
02579 #if DEBUG
02580 }
02581 #endif
02582 }
02583
02584
02593 [System.CLSCompliant(false)]
02594 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glGetString")]
02595 public static
02596 unsafe System.String GetString(OpenTK.Graphics.ES10.All name)
02597 {
02598 #if DEBUG
02599 using (new ErrorHelper(GraphicsContext.CurrentContext))
02600 {
02601 #endif
02602 unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES10.All)name)); }
02603 #if DEBUG
02604 }
02605 #endif
02606 }
02607
02608
02622 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glHint")]
02623 public static
02624 void Hint(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All mode)
02625 {
02626 #if DEBUG
02627 using (new ErrorHelper(GraphicsContext.CurrentContext))
02628 {
02629 #endif
02630 Delegates.glHint((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)mode);
02631 #if DEBUG
02632 }
02633 #endif
02634 }
02635
02636
02655 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightf")]
02656 public static
02657 void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single param)
02658 {
02659 #if DEBUG
02660 using (new ErrorHelper(GraphicsContext.CurrentContext))
02661 {
02662 #endif
02663 Delegates.glLightf((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single)param);
02664 #if DEBUG
02665 }
02666 #endif
02667 }
02668
02669
02688 [System.CLSCompliant(false)]
02689 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")]
02690 public static
02691 unsafe void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single* @params)
02692 {
02693 #if DEBUG
02694 using (new ErrorHelper(GraphicsContext.CurrentContext))
02695 {
02696 #endif
02697 Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params);
02698 #if DEBUG
02699 }
02700 #endif
02701 }
02702
02703
02722 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightfv")]
02723 public static
02724 void Light(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, Single[] @params)
02725 {
02726 #if DEBUG
02727 using (new ErrorHelper(GraphicsContext.CurrentContext))
02728 {
02729 #endif
02730 unsafe
02731 {
02732 fixed (Single* @params_ptr = @params)
02733 {
02734 Delegates.glLightfv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr);
02735 }
02736 }
02737 #if DEBUG
02738 }
02739 #endif
02740 }
02741
02742
02756 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelf")]
02757 public static
02758 void LightModel(OpenTK.Graphics.ES10.All pname, Single param)
02759 {
02760 #if DEBUG
02761 using (new ErrorHelper(GraphicsContext.CurrentContext))
02762 {
02763 #endif
02764 Delegates.glLightModelf((OpenTK.Graphics.ES10.All)pname, (Single)param);
02765 #if DEBUG
02766 }
02767 #endif
02768 }
02769
02770
02784 [System.CLSCompliant(false)]
02785 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")]
02786 public static
02787 unsafe void LightModel(OpenTK.Graphics.ES10.All pname, Single* @params)
02788 {
02789 #if DEBUG
02790 using (new ErrorHelper(GraphicsContext.CurrentContext))
02791 {
02792 #endif
02793 Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params);
02794 #if DEBUG
02795 }
02796 #endif
02797 }
02798
02799
02813 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelfv")]
02814 public static
02815 void LightModel(OpenTK.Graphics.ES10.All pname, Single[] @params)
02816 {
02817 #if DEBUG
02818 using (new ErrorHelper(GraphicsContext.CurrentContext))
02819 {
02820 #endif
02821 unsafe
02822 {
02823 fixed (Single* @params_ptr = @params)
02824 {
02825 Delegates.glLightModelfv((OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr);
02826 }
02827 }
02828 #if DEBUG
02829 }
02830 #endif
02831 }
02832
02833 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelx")]
02834 public static
02835 void LightModelx(OpenTK.Graphics.ES10.All pname, int param)
02836 {
02837 #if DEBUG
02838 using (new ErrorHelper(GraphicsContext.CurrentContext))
02839 {
02840 #endif
02841 Delegates.glLightModelx((OpenTK.Graphics.ES10.All)pname, (int)param);
02842 #if DEBUG
02843 }
02844 #endif
02845 }
02846
02847 [System.CLSCompliant(false)]
02848 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")]
02849 public static
02850 unsafe void LightModelx(OpenTK.Graphics.ES10.All pname, int* @params)
02851 {
02852 #if DEBUG
02853 using (new ErrorHelper(GraphicsContext.CurrentContext))
02854 {
02855 #endif
02856 Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params);
02857 #if DEBUG
02858 }
02859 #endif
02860 }
02861
02862 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightModelxv")]
02863 public static
02864 void LightModelx(OpenTK.Graphics.ES10.All pname, int[] @params)
02865 {
02866 #if DEBUG
02867 using (new ErrorHelper(GraphicsContext.CurrentContext))
02868 {
02869 #endif
02870 unsafe
02871 {
02872 fixed (int* @params_ptr = @params)
02873 {
02874 Delegates.glLightModelxv((OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr);
02875 }
02876 }
02877 #if DEBUG
02878 }
02879 #endif
02880 }
02881
02882 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightx")]
02883 public static
02884 void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int param)
02885 {
02886 #if DEBUG
02887 using (new ErrorHelper(GraphicsContext.CurrentContext))
02888 {
02889 #endif
02890 Delegates.glLightx((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int)param);
02891 #if DEBUG
02892 }
02893 #endif
02894 }
02895
02896 [System.CLSCompliant(false)]
02897 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")]
02898 public static
02899 unsafe void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int* @params)
02900 {
02901 #if DEBUG
02902 using (new ErrorHelper(GraphicsContext.CurrentContext))
02903 {
02904 #endif
02905 Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params);
02906 #if DEBUG
02907 }
02908 #endif
02909 }
02910
02911 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLightxv")]
02912 public static
02913 void Lightx(OpenTK.Graphics.ES10.All light, OpenTK.Graphics.ES10.All pname, int[] @params)
02914 {
02915 #if DEBUG
02916 using (new ErrorHelper(GraphicsContext.CurrentContext))
02917 {
02918 #endif
02919 unsafe
02920 {
02921 fixed (int* @params_ptr = @params)
02922 {
02923 Delegates.glLightxv((OpenTK.Graphics.ES10.All)light, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr);
02924 }
02925 }
02926 #if DEBUG
02927 }
02928 #endif
02929 }
02930
02931
02940 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidth")]
02941 public static
02942 void LineWidth(Single width)
02943 {
02944 #if DEBUG
02945 using (new ErrorHelper(GraphicsContext.CurrentContext))
02946 {
02947 #endif
02948 Delegates.glLineWidth((Single)width);
02949 #if DEBUG
02950 }
02951 #endif
02952 }
02953
02954 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLineWidthx")]
02955 public static
02956 void LineWidthx(int width)
02957 {
02958 #if DEBUG
02959 using (new ErrorHelper(GraphicsContext.CurrentContext))
02960 {
02961 #endif
02962 Delegates.glLineWidthx((int)width);
02963 #if DEBUG
02964 }
02965 #endif
02966 }
02967
02968
02972 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadIdentity")]
02973 public static
02974 void LoadIdentity()
02975 {
02976 #if DEBUG
02977 using (new ErrorHelper(GraphicsContext.CurrentContext))
02978 {
02979 #endif
02980 Delegates.glLoadIdentity();
02981 #if DEBUG
02982 }
02983 #endif
02984 }
02985
02986
02995 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
02996 public static
02997 void LoadMatrix(ref Single m)
02998 {
02999 #if DEBUG
03000 using (new ErrorHelper(GraphicsContext.CurrentContext))
03001 {
03002 #endif
03003 unsafe
03004 {
03005 fixed (Single* m_ptr = &m)
03006 {
03007 Delegates.glLoadMatrixf((Single*)m_ptr);
03008 }
03009 }
03010 #if DEBUG
03011 }
03012 #endif
03013 }
03014
03015
03024 [System.CLSCompliant(false)]
03025 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
03026 public static
03027 unsafe void LoadMatrix(Single* m)
03028 {
03029 #if DEBUG
03030 using (new ErrorHelper(GraphicsContext.CurrentContext))
03031 {
03032 #endif
03033 Delegates.glLoadMatrixf((Single*)m);
03034 #if DEBUG
03035 }
03036 #endif
03037 }
03038
03039
03048 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
03049 public static
03050 void LoadMatrix(Single[] m)
03051 {
03052 #if DEBUG
03053 using (new ErrorHelper(GraphicsContext.CurrentContext))
03054 {
03055 #endif
03056 unsafe
03057 {
03058 fixed (Single* m_ptr = m)
03059 {
03060 Delegates.glLoadMatrixf((Single*)m_ptr);
03061 }
03062 }
03063 #if DEBUG
03064 }
03065 #endif
03066 }
03067
03068 [System.CLSCompliant(false)]
03069 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
03070 public static
03071 unsafe void LoadMatrixx(int* m)
03072 {
03073 #if DEBUG
03074 using (new ErrorHelper(GraphicsContext.CurrentContext))
03075 {
03076 #endif
03077 Delegates.glLoadMatrixx((int*)m);
03078 #if DEBUG
03079 }
03080 #endif
03081 }
03082
03083 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
03084 public static
03085 void LoadMatrixx(int[] m)
03086 {
03087 #if DEBUG
03088 using (new ErrorHelper(GraphicsContext.CurrentContext))
03089 {
03090 #endif
03091 unsafe
03092 {
03093 fixed (int* m_ptr = m)
03094 {
03095 Delegates.glLoadMatrixx((int*)m_ptr);
03096 }
03097 }
03098 #if DEBUG
03099 }
03100 #endif
03101 }
03102
03103 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
03104 public static
03105 void LoadMatrixx(ref int m)
03106 {
03107 #if DEBUG
03108 using (new ErrorHelper(GraphicsContext.CurrentContext))
03109 {
03110 #endif
03111 unsafe
03112 {
03113 fixed (int* m_ptr = &m)
03114 {
03115 Delegates.glLoadMatrixx((int*)m_ptr);
03116 }
03117 }
03118 #if DEBUG
03119 }
03120 #endif
03121 }
03122
03123
03132 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glLogicOp")]
03133 public static
03134 void LogicOp(OpenTK.Graphics.ES10.All opcode)
03135 {
03136 #if DEBUG
03137 using (new ErrorHelper(GraphicsContext.CurrentContext))
03138 {
03139 #endif
03140 Delegates.glLogicOp((OpenTK.Graphics.ES10.All)opcode);
03141 #if DEBUG
03142 }
03143 #endif
03144 }
03145
03146
03165 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialf")]
03166 public static
03167 void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single param)
03168 {
03169 #if DEBUG
03170 using (new ErrorHelper(GraphicsContext.CurrentContext))
03171 {
03172 #endif
03173 Delegates.glMaterialf((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single)param);
03174 #if DEBUG
03175 }
03176 #endif
03177 }
03178
03179
03198 [System.CLSCompliant(false)]
03199 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")]
03200 public static
03201 unsafe void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single* @params)
03202 {
03203 #if DEBUG
03204 using (new ErrorHelper(GraphicsContext.CurrentContext))
03205 {
03206 #endif
03207 Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params);
03208 #if DEBUG
03209 }
03210 #endif
03211 }
03212
03213
03232 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialfv")]
03233 public static
03234 void Material(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, Single[] @params)
03235 {
03236 #if DEBUG
03237 using (new ErrorHelper(GraphicsContext.CurrentContext))
03238 {
03239 #endif
03240 unsafe
03241 {
03242 fixed (Single* @params_ptr = @params)
03243 {
03244 Delegates.glMaterialfv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr);
03245 }
03246 }
03247 #if DEBUG
03248 }
03249 #endif
03250 }
03251
03252 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialx")]
03253 public static
03254 void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int param)
03255 {
03256 #if DEBUG
03257 using (new ErrorHelper(GraphicsContext.CurrentContext))
03258 {
03259 #endif
03260 Delegates.glMaterialx((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int)param);
03261 #if DEBUG
03262 }
03263 #endif
03264 }
03265
03266 [System.CLSCompliant(false)]
03267 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")]
03268 public static
03269 unsafe void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int* @params)
03270 {
03271 #if DEBUG
03272 using (new ErrorHelper(GraphicsContext.CurrentContext))
03273 {
03274 #endif
03275 Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params);
03276 #if DEBUG
03277 }
03278 #endif
03279 }
03280
03281 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMaterialxv")]
03282 public static
03283 void Materialx(OpenTK.Graphics.ES10.All face, OpenTK.Graphics.ES10.All pname, int[] @params)
03284 {
03285 #if DEBUG
03286 using (new ErrorHelper(GraphicsContext.CurrentContext))
03287 {
03288 #endif
03289 unsafe
03290 {
03291 fixed (int* @params_ptr = @params)
03292 {
03293 Delegates.glMaterialxv((OpenTK.Graphics.ES10.All)face, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr);
03294 }
03295 }
03296 #if DEBUG
03297 }
03298 #endif
03299 }
03300
03301
03310 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMatrixMode")]
03311 public static
03312 void MatrixMode(OpenTK.Graphics.ES10.All mode)
03313 {
03314 #if DEBUG
03315 using (new ErrorHelper(GraphicsContext.CurrentContext))
03316 {
03317 #endif
03318 Delegates.glMatrixMode((OpenTK.Graphics.ES10.All)mode);
03319 #if DEBUG
03320 }
03321 #endif
03322 }
03323
03324
03338 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")]
03339 public static
03340 void MultiTexCoord4(OpenTK.Graphics.ES10.All target, Single s, Single t, Single r, Single q)
03341 {
03342 #if DEBUG
03343 using (new ErrorHelper(GraphicsContext.CurrentContext))
03344 {
03345 #endif
03346 Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES10.All)target, (Single)s, (Single)t, (Single)r, (Single)q);
03347 #if DEBUG
03348 }
03349 #endif
03350 }
03351
03352 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")]
03353 public static
03354 void MultiTexCoord4x(OpenTK.Graphics.ES10.All target, int s, int t, int r, int q)
03355 {
03356 #if DEBUG
03357 using (new ErrorHelper(GraphicsContext.CurrentContext))
03358 {
03359 #endif
03360 Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES10.All)target, (int)s, (int)t, (int)r, (int)q);
03361 #if DEBUG
03362 }
03363 #endif
03364 }
03365
03366
03375 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
03376 public static
03377 void MultMatrix(ref Single m)
03378 {
03379 #if DEBUG
03380 using (new ErrorHelper(GraphicsContext.CurrentContext))
03381 {
03382 #endif
03383 unsafe
03384 {
03385 fixed (Single* m_ptr = &m)
03386 {
03387 Delegates.glMultMatrixf((Single*)m_ptr);
03388 }
03389 }
03390 #if DEBUG
03391 }
03392 #endif
03393 }
03394
03395
03404 [System.CLSCompliant(false)]
03405 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
03406 public static
03407 unsafe void MultMatrix(Single* m)
03408 {
03409 #if DEBUG
03410 using (new ErrorHelper(GraphicsContext.CurrentContext))
03411 {
03412 #endif
03413 Delegates.glMultMatrixf((Single*)m);
03414 #if DEBUG
03415 }
03416 #endif
03417 }
03418
03419
03428 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixf")]
03429 public static
03430 void MultMatrix(Single[] m)
03431 {
03432 #if DEBUG
03433 using (new ErrorHelper(GraphicsContext.CurrentContext))
03434 {
03435 #endif
03436 unsafe
03437 {
03438 fixed (Single* m_ptr = m)
03439 {
03440 Delegates.glMultMatrixf((Single*)m_ptr);
03441 }
03442 }
03443 #if DEBUG
03444 }
03445 #endif
03446 }
03447
03448 [System.CLSCompliant(false)]
03449 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
03450 public static
03451 unsafe void MultMatrixx(int* m)
03452 {
03453 #if DEBUG
03454 using (new ErrorHelper(GraphicsContext.CurrentContext))
03455 {
03456 #endif
03457 Delegates.glMultMatrixx((int*)m);
03458 #if DEBUG
03459 }
03460 #endif
03461 }
03462
03463 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
03464 public static
03465 void MultMatrixx(int[] m)
03466 {
03467 #if DEBUG
03468 using (new ErrorHelper(GraphicsContext.CurrentContext))
03469 {
03470 #endif
03471 unsafe
03472 {
03473 fixed (int* m_ptr = m)
03474 {
03475 Delegates.glMultMatrixx((int*)m_ptr);
03476 }
03477 }
03478 #if DEBUG
03479 }
03480 #endif
03481 }
03482
03483 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glMultMatrixx")]
03484 public static
03485 void MultMatrixx(ref int m)
03486 {
03487 #if DEBUG
03488 using (new ErrorHelper(GraphicsContext.CurrentContext))
03489 {
03490 #endif
03491 unsafe
03492 {
03493 fixed (int* m_ptr = &m)
03494 {
03495 Delegates.glMultMatrixx((int*)m_ptr);
03496 }
03497 }
03498 #if DEBUG
03499 }
03500 #endif
03501 }
03502
03503
03515 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3f")]
03516 public static
03517 void Normal3(Single nx, Single ny, Single nz)
03518 {
03519 #if DEBUG
03520 using (new ErrorHelper(GraphicsContext.CurrentContext))
03521 {
03522 #endif
03523 Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz);
03524 #if DEBUG
03525 }
03526 #endif
03527 }
03528
03529 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormal3x")]
03530 public static
03531 void Normal3x(int nx, int ny, int nz)
03532 {
03533 #if DEBUG
03534 using (new ErrorHelper(GraphicsContext.CurrentContext))
03535 {
03536 #endif
03537 Delegates.glNormal3x((int)nx, (int)ny, (int)nz);
03538 #if DEBUG
03539 }
03540 #endif
03541 }
03542
03543
03562 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
03563 public static
03564 void NormalPointer<T2>(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer)
03565 where T2 : struct
03566 {
03567 #if DEBUG
03568 using (new ErrorHelper(GraphicsContext.CurrentContext))
03569 {
03570 #endif
03571 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03572 try
03573 {
03574 Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03575 pointer = (T2)pointer_ptr.Target;
03576 }
03577 finally
03578 {
03579 pointer_ptr.Free();
03580 }
03581 #if DEBUG
03582 }
03583 #endif
03584 }
03585
03586
03605 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
03606 public static
03607 void NormalPointer<T2>(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer)
03608 where T2 : struct
03609 {
03610 #if DEBUG
03611 using (new ErrorHelper(GraphicsContext.CurrentContext))
03612 {
03613 #endif
03614 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03615 try
03616 {
03617 Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03618 }
03619 finally
03620 {
03621 pointer_ptr.Free();
03622 }
03623 #if DEBUG
03624 }
03625 #endif
03626 }
03627
03628
03647 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
03648 public static
03649 void NormalPointer<T2>(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer)
03650 where T2 : struct
03651 {
03652 #if DEBUG
03653 using (new ErrorHelper(GraphicsContext.CurrentContext))
03654 {
03655 #endif
03656 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03657 try
03658 {
03659 Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03660 }
03661 finally
03662 {
03663 pointer_ptr.Free();
03664 }
03665 #if DEBUG
03666 }
03667 #endif
03668 }
03669
03670
03689 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
03690 public static
03691 void NormalPointer<T2>(OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer)
03692 where T2 : struct
03693 {
03694 #if DEBUG
03695 using (new ErrorHelper(GraphicsContext.CurrentContext))
03696 {
03697 #endif
03698 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
03699 try
03700 {
03701 Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
03702 }
03703 finally
03704 {
03705 pointer_ptr.Free();
03706 }
03707 #if DEBUG
03708 }
03709 #endif
03710 }
03711
03712
03731 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glNormalPointer")]
03732 public static
03733 void NormalPointer(OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer)
03734 {
03735 #if DEBUG
03736 using (new ErrorHelper(GraphicsContext.CurrentContext))
03737 {
03738 #endif
03739 Delegates.glNormalPointer((OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer);
03740 #if DEBUG
03741 }
03742 #endif
03743 }
03744
03745
03764 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthof")]
03765 public static
03766 void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
03767 {
03768 #if DEBUG
03769 using (new ErrorHelper(GraphicsContext.CurrentContext))
03770 {
03771 #endif
03772 Delegates.glOrthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
03773 #if DEBUG
03774 }
03775 #endif
03776 }
03777
03778 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glOrthox")]
03779 public static
03780 void Orthox(int left, int right, int bottom, int top, int zNear, int zFar)
03781 {
03782 #if DEBUG
03783 using (new ErrorHelper(GraphicsContext.CurrentContext))
03784 {
03785 #endif
03786 Delegates.glOrthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
03787 #if DEBUG
03788 }
03789 #endif
03790 }
03791
03792
03806 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPixelStorei")]
03807 public static
03808 void PixelStore(OpenTK.Graphics.ES10.All pname, Int32 param)
03809 {
03810 #if DEBUG
03811 using (new ErrorHelper(GraphicsContext.CurrentContext))
03812 {
03813 #endif
03814 Delegates.glPixelStorei((OpenTK.Graphics.ES10.All)pname, (Int32)param);
03815 #if DEBUG
03816 }
03817 #endif
03818 }
03819
03820
03829 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSize")]
03830 public static
03831 void PointSize(Single size)
03832 {
03833 #if DEBUG
03834 using (new ErrorHelper(GraphicsContext.CurrentContext))
03835 {
03836 #endif
03837 Delegates.glPointSize((Single)size);
03838 #if DEBUG
03839 }
03840 #endif
03841 }
03842
03843 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPointSizex")]
03844 public static
03845 void PointSizex(int size)
03846 {
03847 #if DEBUG
03848 using (new ErrorHelper(GraphicsContext.CurrentContext))
03849 {
03850 #endif
03851 Delegates.glPointSizex((int)size);
03852 #if DEBUG
03853 }
03854 #endif
03855 }
03856
03857
03871 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffset")]
03872 public static
03873 void PolygonOffset(Single factor, Single units)
03874 {
03875 #if DEBUG
03876 using (new ErrorHelper(GraphicsContext.CurrentContext))
03877 {
03878 #endif
03879 Delegates.glPolygonOffset((Single)factor, (Single)units);
03880 #if DEBUG
03881 }
03882 #endif
03883 }
03884
03885 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPolygonOffsetx")]
03886 public static
03887 void PolygonOffsetx(int factor, int units)
03888 {
03889 #if DEBUG
03890 using (new ErrorHelper(GraphicsContext.CurrentContext))
03891 {
03892 #endif
03893 Delegates.glPolygonOffsetx((int)factor, (int)units);
03894 #if DEBUG
03895 }
03896 #endif
03897 }
03898
03899 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPopMatrix")]
03900 public static
03901 void PopMatrix()
03902 {
03903 #if DEBUG
03904 using (new ErrorHelper(GraphicsContext.CurrentContext))
03905 {
03906 #endif
03907 Delegates.glPopMatrix();
03908 #if DEBUG
03909 }
03910 #endif
03911 }
03912
03913
03917 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glPushMatrix")]
03918 public static
03919 void PushMatrix()
03920 {
03921 #if DEBUG
03922 using (new ErrorHelper(GraphicsContext.CurrentContext))
03923 {
03924 #endif
03925 Delegates.glPushMatrix();
03926 #if DEBUG
03927 }
03928 #endif
03929 }
03930
03931
03960 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
03961 public static
03962 void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T6 pixels)
03963 where T6 : struct
03964 {
03965 #if DEBUG
03966 using (new ErrorHelper(GraphicsContext.CurrentContext))
03967 {
03968 #endif
03969 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
03970 try
03971 {
03972 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
03973 pixels = (T6)pixels_ptr.Target;
03974 }
03975 finally
03976 {
03977 pixels_ptr.Free();
03978 }
03979 #if DEBUG
03980 }
03981 #endif
03982 }
03983
03984
04013 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
04014 public static
04015 void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[,,] pixels)
04016 where T6 : struct
04017 {
04018 #if DEBUG
04019 using (new ErrorHelper(GraphicsContext.CurrentContext))
04020 {
04021 #endif
04022 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
04023 try
04024 {
04025 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
04026 }
04027 finally
04028 {
04029 pixels_ptr.Free();
04030 }
04031 #if DEBUG
04032 }
04033 #endif
04034 }
04035
04036
04065 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
04066 public static
04067 void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[,] pixels)
04068 where T6 : struct
04069 {
04070 #if DEBUG
04071 using (new ErrorHelper(GraphicsContext.CurrentContext))
04072 {
04073 #endif
04074 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
04075 try
04076 {
04077 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
04078 }
04079 finally
04080 {
04081 pixels_ptr.Free();
04082 }
04083 #if DEBUG
04084 }
04085 #endif
04086 }
04087
04088
04117 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
04118 public static
04119 void ReadPixels<T6>(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T6[] pixels)
04120 where T6 : struct
04121 {
04122 #if DEBUG
04123 using (new ErrorHelper(GraphicsContext.CurrentContext))
04124 {
04125 #endif
04126 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
04127 try
04128 {
04129 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
04130 }
04131 finally
04132 {
04133 pixels_ptr.Free();
04134 }
04135 #if DEBUG
04136 }
04137 #endif
04138 }
04139
04140
04169 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glReadPixels")]
04170 public static
04171 void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels)
04172 {
04173 #if DEBUG
04174 using (new ErrorHelper(GraphicsContext.CurrentContext))
04175 {
04176 #endif
04177 Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels);
04178 #if DEBUG
04179 }
04180 #endif
04181 }
04182
04183
04197 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatef")]
04198 public static
04199 void Rotate(Single angle, Single x, Single y, Single z)
04200 {
04201 #if DEBUG
04202 using (new ErrorHelper(GraphicsContext.CurrentContext))
04203 {
04204 #endif
04205 Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z);
04206 #if DEBUG
04207 }
04208 #endif
04209 }
04210
04211 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glRotatex")]
04212 public static
04213 void Rotatex(int angle, int x, int y, int z)
04214 {
04215 #if DEBUG
04216 using (new ErrorHelper(GraphicsContext.CurrentContext))
04217 {
04218 #endif
04219 Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z);
04220 #if DEBUG
04221 }
04222 #endif
04223 }
04224
04225
04239 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glSampleCoverage")]
04240 public static
04241 void SampleCoverage(Single value, bool invert)
04242 {
04243 #if DEBUG
04244 using (new ErrorHelper(GraphicsContext.CurrentContext))
04245 {
04246 #endif
04247 Delegates.glSampleCoverage((Single)value, (bool)invert);
04248 #if DEBUG
04249 }
04250 #endif
04251 }
04252
04253 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glSampleCoveragex")]
04254 public static
04255 void SampleCoveragex(int value, bool invert)
04256 {
04257 #if DEBUG
04258 using (new ErrorHelper(GraphicsContext.CurrentContext))
04259 {
04260 #endif
04261 Delegates.glSampleCoveragex((int)value, (bool)invert);
04262 #if DEBUG
04263 }
04264 #endif
04265 }
04266
04267
04276 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalef")]
04277 public static
04278 void Scale(Single x, Single y, Single z)
04279 {
04280 #if DEBUG
04281 using (new ErrorHelper(GraphicsContext.CurrentContext))
04282 {
04283 #endif
04284 Delegates.glScalef((Single)x, (Single)y, (Single)z);
04285 #if DEBUG
04286 }
04287 #endif
04288 }
04289
04290 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScalex")]
04291 public static
04292 void Scalex(int x, int y, int z)
04293 {
04294 #if DEBUG
04295 using (new ErrorHelper(GraphicsContext.CurrentContext))
04296 {
04297 #endif
04298 Delegates.glScalex((int)x, (int)y, (int)z);
04299 #if DEBUG
04300 }
04301 #endif
04302 }
04303
04304
04318 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glScissor")]
04319 public static
04320 void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
04321 {
04322 #if DEBUG
04323 using (new ErrorHelper(GraphicsContext.CurrentContext))
04324 {
04325 #endif
04326 Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
04327 #if DEBUG
04328 }
04329 #endif
04330 }
04331
04332
04341 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glShadeModel")]
04342 public static
04343 void ShadeModel(OpenTK.Graphics.ES10.All mode)
04344 {
04345 #if DEBUG
04346 using (new ErrorHelper(GraphicsContext.CurrentContext))
04347 {
04348 #endif
04349 Delegates.glShadeModel((OpenTK.Graphics.ES10.All)mode);
04350 #if DEBUG
04351 }
04352 #endif
04353 }
04354
04355
04374 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
04375 public static
04376 void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, Int32 mask)
04377 {
04378 #if DEBUG
04379 using (new ErrorHelper(GraphicsContext.CurrentContext))
04380 {
04381 #endif
04382 Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask);
04383 #if DEBUG
04384 }
04385 #endif
04386 }
04387
04388
04407 [System.CLSCompliant(false)]
04408 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilFunc")]
04409 public static
04410 void StencilFunc(OpenTK.Graphics.ES10.All func, Int32 @ref, UInt32 mask)
04411 {
04412 #if DEBUG
04413 using (new ErrorHelper(GraphicsContext.CurrentContext))
04414 {
04415 #endif
04416 Delegates.glStencilFunc((OpenTK.Graphics.ES10.All)func, (Int32)@ref, (UInt32)mask);
04417 #if DEBUG
04418 }
04419 #endif
04420 }
04421
04422
04431 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
04432 public static
04433 void StencilMask(Int32 mask)
04434 {
04435 #if DEBUG
04436 using (new ErrorHelper(GraphicsContext.CurrentContext))
04437 {
04438 #endif
04439 Delegates.glStencilMask((UInt32)mask);
04440 #if DEBUG
04441 }
04442 #endif
04443 }
04444
04445
04454 [System.CLSCompliant(false)]
04455 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilMask")]
04456 public static
04457 void StencilMask(UInt32 mask)
04458 {
04459 #if DEBUG
04460 using (new ErrorHelper(GraphicsContext.CurrentContext))
04461 {
04462 #endif
04463 Delegates.glStencilMask((UInt32)mask);
04464 #if DEBUG
04465 }
04466 #endif
04467 }
04468
04469
04488 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glStencilOp")]
04489 public static
04490 void StencilOp(OpenTK.Graphics.ES10.All fail, OpenTK.Graphics.ES10.All zfail, OpenTK.Graphics.ES10.All zpass)
04491 {
04492 #if DEBUG
04493 using (new ErrorHelper(GraphicsContext.CurrentContext))
04494 {
04495 #endif
04496 Delegates.glStencilOp((OpenTK.Graphics.ES10.All)fail, (OpenTK.Graphics.ES10.All)zfail, (OpenTK.Graphics.ES10.All)zpass);
04497 #if DEBUG
04498 }
04499 #endif
04500 }
04501
04502
04526 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
04527 public static
04528 void TexCoordPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
04529 where T3 : struct
04530 {
04531 #if DEBUG
04532 using (new ErrorHelper(GraphicsContext.CurrentContext))
04533 {
04534 #endif
04535 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
04536 try
04537 {
04538 Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
04539 pointer = (T3)pointer_ptr.Target;
04540 }
04541 finally
04542 {
04543 pointer_ptr.Free();
04544 }
04545 #if DEBUG
04546 }
04547 #endif
04548 }
04549
04550
04574 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
04575 public static
04576 void TexCoordPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
04577 where T3 : struct
04578 {
04579 #if DEBUG
04580 using (new ErrorHelper(GraphicsContext.CurrentContext))
04581 {
04582 #endif
04583 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
04584 try
04585 {
04586 Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
04587 }
04588 finally
04589 {
04590 pointer_ptr.Free();
04591 }
04592 #if DEBUG
04593 }
04594 #endif
04595 }
04596
04597
04621 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
04622 public static
04623 void TexCoordPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
04624 where T3 : struct
04625 {
04626 #if DEBUG
04627 using (new ErrorHelper(GraphicsContext.CurrentContext))
04628 {
04629 #endif
04630 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
04631 try
04632 {
04633 Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
04634 }
04635 finally
04636 {
04637 pointer_ptr.Free();
04638 }
04639 #if DEBUG
04640 }
04641 #endif
04642 }
04643
04644
04668 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
04669 public static
04670 void TexCoordPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
04671 where T3 : struct
04672 {
04673 #if DEBUG
04674 using (new ErrorHelper(GraphicsContext.CurrentContext))
04675 {
04676 #endif
04677 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
04678 try
04679 {
04680 Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
04681 }
04682 finally
04683 {
04684 pointer_ptr.Free();
04685 }
04686 #if DEBUG
04687 }
04688 #endif
04689 }
04690
04691
04715 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
04716 public static
04717 void TexCoordPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer)
04718 {
04719 #if DEBUG
04720 using (new ErrorHelper(GraphicsContext.CurrentContext))
04721 {
04722 #endif
04723 Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer);
04724 #if DEBUG
04725 }
04726 #endif
04727 }
04728
04729
04748 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvf")]
04749 public static
04750 void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param)
04751 {
04752 #if DEBUG
04753 using (new ErrorHelper(GraphicsContext.CurrentContext))
04754 {
04755 #endif
04756 Delegates.glTexEnvf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param);
04757 #if DEBUG
04758 }
04759 #endif
04760 }
04761
04762
04781 [System.CLSCompliant(false)]
04782 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")]
04783 public static
04784 unsafe void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single* @params)
04785 {
04786 #if DEBUG
04787 using (new ErrorHelper(GraphicsContext.CurrentContext))
04788 {
04789 #endif
04790 Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params);
04791 #if DEBUG
04792 }
04793 #endif
04794 }
04795
04796
04815 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvfv")]
04816 public static
04817 void TexEnv(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single[] @params)
04818 {
04819 #if DEBUG
04820 using (new ErrorHelper(GraphicsContext.CurrentContext))
04821 {
04822 #endif
04823 unsafe
04824 {
04825 fixed (Single* @params_ptr = @params)
04826 {
04827 Delegates.glTexEnvfv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single*)@params_ptr);
04828 }
04829 }
04830 #if DEBUG
04831 }
04832 #endif
04833 }
04834
04835 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvx")]
04836 public static
04837 void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param)
04838 {
04839 #if DEBUG
04840 using (new ErrorHelper(GraphicsContext.CurrentContext))
04841 {
04842 #endif
04843 Delegates.glTexEnvx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param);
04844 #if DEBUG
04845 }
04846 #endif
04847 }
04848
04849 [System.CLSCompliant(false)]
04850 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")]
04851 public static
04852 unsafe void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int* @params)
04853 {
04854 #if DEBUG
04855 using (new ErrorHelper(GraphicsContext.CurrentContext))
04856 {
04857 #endif
04858 Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params);
04859 #if DEBUG
04860 }
04861 #endif
04862 }
04863
04864 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexEnvxv")]
04865 public static
04866 void TexEnvx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int[] @params)
04867 {
04868 #if DEBUG
04869 using (new ErrorHelper(GraphicsContext.CurrentContext))
04870 {
04871 #endif
04872 unsafe
04873 {
04874 fixed (int* @params_ptr = @params)
04875 {
04876 Delegates.glTexEnvxv((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int*)@params_ptr);
04877 }
04878 }
04879 #if DEBUG
04880 }
04881 #endif
04882 }
04883
04884
04933 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
04934 public static
04935 void TexImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T8 pixels)
04936 where T8 : struct
04937 {
04938 #if DEBUG
04939 using (new ErrorHelper(GraphicsContext.CurrentContext))
04940 {
04941 #endif
04942 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
04943 try
04944 {
04945 Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
04946 pixels = (T8)pixels_ptr.Target;
04947 }
04948 finally
04949 {
04950 pixels_ptr.Free();
04951 }
04952 #if DEBUG
04953 }
04954 #endif
04955 }
04956
04957
05006 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
05007 public static
05008 void TexImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,,] pixels)
05009 where T8 : struct
05010 {
05011 #if DEBUG
05012 using (new ErrorHelper(GraphicsContext.CurrentContext))
05013 {
05014 #endif
05015 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05016 try
05017 {
05018 Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05019 }
05020 finally
05021 {
05022 pixels_ptr.Free();
05023 }
05024 #if DEBUG
05025 }
05026 #endif
05027 }
05028
05029
05078 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
05079 public static
05080 void TexImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,] pixels)
05081 where T8 : struct
05082 {
05083 #if DEBUG
05084 using (new ErrorHelper(GraphicsContext.CurrentContext))
05085 {
05086 #endif
05087 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05088 try
05089 {
05090 Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05091 }
05092 finally
05093 {
05094 pixels_ptr.Free();
05095 }
05096 #if DEBUG
05097 }
05098 #endif
05099 }
05100
05101
05150 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
05151 public static
05152 void TexImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[] pixels)
05153 where T8 : struct
05154 {
05155 #if DEBUG
05156 using (new ErrorHelper(GraphicsContext.CurrentContext))
05157 {
05158 #endif
05159 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05160 try
05161 {
05162 Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05163 }
05164 finally
05165 {
05166 pixels_ptr.Free();
05167 }
05168 #if DEBUG
05169 }
05170 #endif
05171 }
05172
05173
05222 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexImage2D")]
05223 public static
05224 void TexImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels)
05225 {
05226 #if DEBUG
05227 using (new ErrorHelper(GraphicsContext.CurrentContext))
05228 {
05229 #endif
05230 Delegates.glTexImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels);
05231 #if DEBUG
05232 }
05233 #endif
05234 }
05235
05236
05255 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterf")]
05256 public static
05257 void TexParameter(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, Single param)
05258 {
05259 #if DEBUG
05260 using (new ErrorHelper(GraphicsContext.CurrentContext))
05261 {
05262 #endif
05263 Delegates.glTexParameterf((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (Single)param);
05264 #if DEBUG
05265 }
05266 #endif
05267 }
05268
05269 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexParameterx")]
05270 public static
05271 void TexParameterx(OpenTK.Graphics.ES10.All target, OpenTK.Graphics.ES10.All pname, int param)
05272 {
05273 #if DEBUG
05274 using (new ErrorHelper(GraphicsContext.CurrentContext))
05275 {
05276 #endif
05277 Delegates.glTexParameterx((OpenTK.Graphics.ES10.All)target, (OpenTK.Graphics.ES10.All)pname, (int)param);
05278 #if DEBUG
05279 }
05280 #endif
05281 }
05282
05283
05332 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
05333 public static
05334 void TexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] ref T8 pixels)
05335 where T8 : struct
05336 {
05337 #if DEBUG
05338 using (new ErrorHelper(GraphicsContext.CurrentContext))
05339 {
05340 #endif
05341 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05342 try
05343 {
05344 Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05345 pixels = (T8)pixels_ptr.Target;
05346 }
05347 finally
05348 {
05349 pixels_ptr.Free();
05350 }
05351 #if DEBUG
05352 }
05353 #endif
05354 }
05355
05356
05405 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
05406 public static
05407 void TexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,,] pixels)
05408 where T8 : struct
05409 {
05410 #if DEBUG
05411 using (new ErrorHelper(GraphicsContext.CurrentContext))
05412 {
05413 #endif
05414 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05415 try
05416 {
05417 Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05418 }
05419 finally
05420 {
05421 pixels_ptr.Free();
05422 }
05423 #if DEBUG
05424 }
05425 #endif
05426 }
05427
05428
05477 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
05478 public static
05479 void TexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[,] pixels)
05480 where T8 : struct
05481 {
05482 #if DEBUG
05483 using (new ErrorHelper(GraphicsContext.CurrentContext))
05484 {
05485 #endif
05486 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05487 try
05488 {
05489 Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05490 }
05491 finally
05492 {
05493 pixels_ptr.Free();
05494 }
05495 #if DEBUG
05496 }
05497 #endif
05498 }
05499
05500
05549 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
05550 public static
05551 void TexSubImage2D<T8>(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, [InAttribute, OutAttribute] T8[] pixels)
05552 where T8 : struct
05553 {
05554 #if DEBUG
05555 using (new ErrorHelper(GraphicsContext.CurrentContext))
05556 {
05557 #endif
05558 GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
05559 try
05560 {
05561 Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
05562 }
05563 finally
05564 {
05565 pixels_ptr.Free();
05566 }
05567 #if DEBUG
05568 }
05569 #endif
05570 }
05571
05572
05621 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
05622 public static
05623 void TexSubImage2D(OpenTK.Graphics.ES10.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES10.All format, OpenTK.Graphics.ES10.All type, IntPtr pixels)
05624 {
05625 #if DEBUG
05626 using (new ErrorHelper(GraphicsContext.CurrentContext))
05627 {
05628 #endif
05629 Delegates.glTexSubImage2D((OpenTK.Graphics.ES10.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES10.All)format, (OpenTK.Graphics.ES10.All)type, (IntPtr)pixels);
05630 #if DEBUG
05631 }
05632 #endif
05633 }
05634
05635
05644 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatef")]
05645 public static
05646 void Translate(Single x, Single y, Single z)
05647 {
05648 #if DEBUG
05649 using (new ErrorHelper(GraphicsContext.CurrentContext))
05650 {
05651 #endif
05652 Delegates.glTranslatef((Single)x, (Single)y, (Single)z);
05653 #if DEBUG
05654 }
05655 #endif
05656 }
05657
05658 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glTranslatex")]
05659 public static
05660 void Translatex(int x, int y, int z)
05661 {
05662 #if DEBUG
05663 using (new ErrorHelper(GraphicsContext.CurrentContext))
05664 {
05665 #endif
05666 Delegates.glTranslatex((int)x, (int)y, (int)z);
05667 #if DEBUG
05668 }
05669 #endif
05670 }
05671
05672
05696 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
05697 public static
05698 void VertexPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
05699 where T3 : struct
05700 {
05701 #if DEBUG
05702 using (new ErrorHelper(GraphicsContext.CurrentContext))
05703 {
05704 #endif
05705 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
05706 try
05707 {
05708 Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
05709 pointer = (T3)pointer_ptr.Target;
05710 }
05711 finally
05712 {
05713 pointer_ptr.Free();
05714 }
05715 #if DEBUG
05716 }
05717 #endif
05718 }
05719
05720
05744 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
05745 public static
05746 void VertexPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
05747 where T3 : struct
05748 {
05749 #if DEBUG
05750 using (new ErrorHelper(GraphicsContext.CurrentContext))
05751 {
05752 #endif
05753 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
05754 try
05755 {
05756 Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
05757 }
05758 finally
05759 {
05760 pointer_ptr.Free();
05761 }
05762 #if DEBUG
05763 }
05764 #endif
05765 }
05766
05767
05791 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
05792 public static
05793 void VertexPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
05794 where T3 : struct
05795 {
05796 #if DEBUG
05797 using (new ErrorHelper(GraphicsContext.CurrentContext))
05798 {
05799 #endif
05800 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
05801 try
05802 {
05803 Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
05804 }
05805 finally
05806 {
05807 pointer_ptr.Free();
05808 }
05809 #if DEBUG
05810 }
05811 #endif
05812 }
05813
05814
05838 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
05839 public static
05840 void VertexPointer<T3>(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
05841 where T3 : struct
05842 {
05843 #if DEBUG
05844 using (new ErrorHelper(GraphicsContext.CurrentContext))
05845 {
05846 #endif
05847 GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
05848 try
05849 {
05850 Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
05851 }
05852 finally
05853 {
05854 pointer_ptr.Free();
05855 }
05856 #if DEBUG
05857 }
05858 #endif
05859 }
05860
05861
05885 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glVertexPointer")]
05886 public static
05887 void VertexPointer(Int32 size, OpenTK.Graphics.ES10.All type, Int32 stride, IntPtr pointer)
05888 {
05889 #if DEBUG
05890 using (new ErrorHelper(GraphicsContext.CurrentContext))
05891 {
05892 #endif
05893 Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES10.All)type, (Int32)stride, (IntPtr)pointer);
05894 #if DEBUG
05895 }
05896 #endif
05897 }
05898
05899
05913 [AutoGenerated(Category = "1.0", Version = "1.0", EntryPoint = "glViewport")]
05914 public static
05915 void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
05916 {
05917 #if DEBUG
05918 using (new ErrorHelper(GraphicsContext.CurrentContext))
05919 {
05920 #endif
05921 Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
05922 #if DEBUG
05923 }
05924 #endif
05925 }
05926
05927 }
05928 }
05929 #endif