diff --git a/Source/OpenTK/Graphics/ES11/Delegates.cs b/Source/OpenTK/Graphics/ES11/Delegates.cs
deleted file mode 100644
index 25979aea..00000000
--- a/Source/OpenTK/Graphics/ES11/Delegates.cs
+++ /dev/null
@@ -1,787 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-namespace OpenTK.Graphics.ES11
-{
- using System;
- using System.Text;
- using System.Runtime.InteropServices;
- #pragma warning disable 0649
- #pragma warning disable 3019
- #pragma warning disable 1591
-
- partial class GL
- {
- internal static partial class Delegates
- {
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ActiveTexture(OpenTK.Graphics.ES11.All texture);
- internal static ActiveTexture glActiveTexture;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref);
- internal static AlphaFunc glAlphaFunc;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref);
- internal static AlphaFuncx glAlphaFuncx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref);
- internal static AlphaFuncxOES glAlphaFuncxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer);
- internal static BindBuffer glBindBuffer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer);
- internal static BindFramebufferOES glBindFramebufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer);
- internal static BindRenderbufferOES glBindRenderbufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture);
- internal static BindTexture glBindTexture;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BlendEquationOES(OpenTK.Graphics.ES11.All mode);
- internal static BlendEquationOES glBlendEquationOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha);
- internal static BlendEquationSeparateOES glBlendEquationSeparateOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor);
- internal static BlendFunc glBlendFunc;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha);
- internal static BlendFuncSeparateOES glBlendFuncSeparateOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage);
- internal static BufferData glBufferData;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data);
- internal static BufferSubData glBufferSubData;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target);
- internal static CheckFramebufferStatusOES glCheckFramebufferStatusOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Clear(UInt32 mask);
- internal static Clear glClear;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
- internal static ClearColor glClearColor;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearColorx(int red, int green, int blue, int alpha);
- internal static ClearColorx glClearColorx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearColorxOES(int red, int green, int blue, int alpha);
- internal static ClearColorxOES glClearColorxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearDepthf(Single depth);
- internal static ClearDepthf glClearDepthf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearDepthfOES(Single depth);
- internal static ClearDepthfOES glClearDepthfOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearDepthx(int depth);
- internal static ClearDepthx glClearDepthx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearDepthxOES(int depth);
- internal static ClearDepthxOES glClearDepthxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClearStencil(Int32 s);
- internal static ClearStencil glClearStencil;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ClientActiveTexture(OpenTK.Graphics.ES11.All texture);
- internal static ClientActiveTexture glClientActiveTexture;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanef(OpenTK.Graphics.ES11.All plane, Single* equation);
- internal unsafe static ClipPlanef glClipPlanef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn);
- internal unsafe static ClipPlanefIMG glClipPlanefIMG;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation);
- internal unsafe static ClipPlanefOES glClipPlanefOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation);
- internal unsafe static ClipPlanex glClipPlanex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn);
- internal unsafe static ClipPlanexIMG glClipPlanexIMG;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation);
- internal unsafe static ClipPlanexOES glClipPlanexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Color4f(Single red, Single green, Single blue, Single alpha);
- internal static Color4f glColor4f;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha);
- internal static Color4ub glColor4ub;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Color4x(int red, int green, int blue, int alpha);
- internal static Color4x glColor4x;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Color4xOES(int red, int green, int blue, int alpha);
- internal static Color4xOES glColor4xOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
- internal static ColorMask glColorMask;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static ColorPointer glColorPointer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
- internal static CompressedTexImage2D glCompressedTexImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data);
- internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
- internal static CopyTexImage2D glCopyTexImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
- internal static CopyTexSubImage2D glCopyTexSubImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CullFace(OpenTK.Graphics.ES11.All mode);
- internal static CullFace glCullFace;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex);
- internal static CurrentPaletteMatrixOES glCurrentPaletteMatrixOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers);
- internal unsafe static DeleteBuffers glDeleteBuffers;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences);
- internal unsafe static DeleteFencesNV glDeleteFencesNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers);
- internal unsafe static DeleteFramebuffersOES glDeleteFramebuffersOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers);
- internal unsafe static DeleteRenderbuffersOES glDeleteRenderbuffersOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
- internal unsafe static DeleteTextures glDeleteTextures;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthFunc(OpenTK.Graphics.ES11.All func);
- internal static DepthFunc glDepthFunc;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthMask(bool flag);
- internal static DepthMask glDepthMask;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthRangef(Single zNear, Single zFar);
- internal static DepthRangef glDepthRangef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthRangefOES(Single zNear, Single zFar);
- internal static DepthRangefOES glDepthRangefOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthRangex(int zNear, int zFar);
- internal static DepthRangex glDepthRangex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DepthRangexOES(int zNear, int zFar);
- internal static DepthRangexOES glDepthRangexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Disable(OpenTK.Graphics.ES11.All cap);
- internal static Disable glDisable;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DisableClientState(OpenTK.Graphics.ES11.All array);
- internal static DisableClientState glDisableClientState;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DisableDriverControlQCOM(UInt32 driverControl);
- internal static DisableDriverControlQCOM glDisableDriverControlQCOM;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count);
- internal static DrawArrays glDrawArrays;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
- internal static DrawElements glDrawElements;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawTexfOES(Single x, Single y, Single z, Single width, Single height);
- internal static DrawTexfOES glDrawTexfOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DrawTexfvOES(Single* coords);
- internal unsafe static DrawTexfvOES glDrawTexfvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height);
- internal static DrawTexiOES glDrawTexiOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DrawTexivOES(Int32* coords);
- internal unsafe static DrawTexivOES glDrawTexivOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height);
- internal static DrawTexsOES glDrawTexsOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DrawTexsvOES(Int16* coords);
- internal unsafe static DrawTexsvOES glDrawTexsvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void DrawTexxOES(int x, int y, int z, int width, int height);
- internal static DrawTexxOES glDrawTexxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void DrawTexxvOES(int* coords);
- internal unsafe static DrawTexxvOES glDrawTexxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image);
- internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image);
- internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Enable(OpenTK.Graphics.ES11.All cap);
- internal static Enable glEnable;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void EnableClientState(OpenTK.Graphics.ES11.All array);
- internal static EnableClientState glEnableClientState;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void EnableDriverControlQCOM(UInt32 driverControl);
- internal static EnableDriverControlQCOM glEnableDriverControlQCOM;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Finish();
- internal static Finish glFinish;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FinishFenceNV(UInt32 fence);
- internal static FinishFenceNV glFinishFenceNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Flush();
- internal static Flush glFlush;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Fogf(OpenTK.Graphics.ES11.All pname, Single param);
- internal static Fogf glFogf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Fogfv(OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static Fogfv glFogfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Fogx(OpenTK.Graphics.ES11.All pname, int param);
- internal static Fogx glFogx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FogxOES(OpenTK.Graphics.ES11.All pname, int param);
- internal static FogxOES glFogxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Fogxv(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static Fogxv glFogxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void FogxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static FogxvOES glFogxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer);
- internal static FramebufferRenderbufferOES glFramebufferRenderbufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level);
- internal static FramebufferTexture2DOES glFramebufferTexture2DOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FrontFace(OpenTK.Graphics.ES11.All mode);
- internal static FrontFace glFrontFace;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
- internal static Frustumf glFrustumf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FrustumfOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
- internal static FrustumfOES glFrustumfOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar);
- internal static Frustumx glFrustumx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FrustumxOES(int left, int right, int bottom, int top, int zNear, int zFar);
- internal static FrustumxOES glFrustumxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GenBuffers(Int32 n, UInt32* buffers);
- internal unsafe static GenBuffers glGenBuffers;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void GenerateMipmapOES(OpenTK.Graphics.ES11.All target);
- internal static GenerateMipmapOES glGenerateMipmapOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GenFencesNV(Int32 n, UInt32* fences);
- internal unsafe static GenFencesNV glGenFencesNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GenFramebuffersOES(Int32 n, UInt32* framebuffers);
- internal unsafe static GenFramebuffersOES glGenFramebuffersOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GenRenderbuffersOES(Int32 n, UInt32* renderbuffers);
- internal unsafe static GenRenderbuffersOES glGenRenderbuffersOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GenTextures(Int32 n, UInt32* textures);
- internal unsafe static GenTextures glGenTextures;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES11.All pname, bool* @params);
- internal unsafe static GetBooleanv glGetBooleanv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params);
- internal static GetBufferPointervOES glGetBufferPointervOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetClipPlanef(OpenTK.Graphics.ES11.All pname, Single* eqn);
- internal unsafe static GetClipPlanef glGetClipPlanef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetClipPlanefOES(OpenTK.Graphics.ES11.All pname, Single* eqn);
- internal unsafe static GetClipPlanefOES glGetClipPlanefOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn);
- internal unsafe static GetClipPlanex glGetClipPlanex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetClipPlanexOES(OpenTK.Graphics.ES11.All pname, int* eqn);
- internal unsafe static GetClipPlanexOES glGetClipPlanexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls);
- internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString);
- internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate OpenTK.Graphics.ES11.All GetError();
- internal static GetError glGetError;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetFenceivNV glGetFenceivNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetFixedv(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetFixedv glGetFixedv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetFixedvOES(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetFixedvOES glGetFixedvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetFloatv glGetFloatv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetFramebufferAttachmentParameterivOES glGetFramebufferAttachmentParameterivOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetIntegerv glGetIntegerv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetLightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetLightfv glGetLightfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetLightxv glGetLightxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetLightxvOES glGetLightxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetMaterialfv glGetMaterialfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetMaterialxv glGetMaterialxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetMaterialxvOES glGetMaterialxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void GetPointerv(OpenTK.Graphics.ES11.All pname, IntPtr @params);
- internal static GetPointerv glGetPointerv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetRenderbufferParameterivOES glGetRenderbufferParameterivOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate System.IntPtr GetString(OpenTK.Graphics.ES11.All name);
- internal unsafe static GetString glGetString;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetTexEnvfv glGetTexEnvfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetTexEnviv glGetTexEnviv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexEnvxv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetTexEnvxv glGetTexEnvxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexEnvxvOES(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetTexEnvxvOES glGetTexEnvxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetTexGenfvOES glGetTexGenfvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetTexGenivOES glGetTexGenivOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetTexGenxvOES glGetTexGenxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static GetTexParameterfv glGetTexParameterfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static GetTexParameteriv glGetTexParameteriv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetTexParameterxv glGetTexParameterxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static GetTexParameterxvOES glGetTexParameterxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode);
- internal static Hint glHint;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsBuffer(UInt32 buffer);
- internal static IsBuffer glIsBuffer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsEnabled(OpenTK.Graphics.ES11.All cap);
- internal static IsEnabled glIsEnabled;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsFenceNV(UInt32 fence);
- internal static IsFenceNV glIsFenceNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsFramebufferOES(UInt32 framebuffer);
- internal static IsFramebufferOES glIsFramebufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsRenderbufferOES(UInt32 renderbuffer);
- internal static IsRenderbufferOES glIsRenderbufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool IsTexture(UInt32 texture);
- internal static IsTexture glIsTexture;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Lightf(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param);
- internal static Lightf glLightf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Lightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static Lightfv glLightfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LightModelf(OpenTK.Graphics.ES11.All pname, Single param);
- internal static LightModelf glLightModelf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static LightModelfv glLightModelfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LightModelx(OpenTK.Graphics.ES11.All pname, int param);
- internal static LightModelx glLightModelx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param);
- internal static LightModelxOES glLightModelxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static LightModelxv glLightModelxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static LightModelxvOES glLightModelxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param);
- internal static Lightx glLightx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param);
- internal static LightxOES glLightxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static Lightxv glLightxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static LightxvOES glLightxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LineWidth(Single width);
- internal static LineWidth glLineWidth;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LineWidthx(int width);
- internal static LineWidthx glLineWidthx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LineWidthxOES(int width);
- internal static LineWidthxOES glLineWidthxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LoadIdentity();
- internal static LoadIdentity glLoadIdentity;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LoadMatrixf(Single* m);
- internal unsafe static LoadMatrixf glLoadMatrixf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LoadMatrixx(int* m);
- internal unsafe static LoadMatrixx glLoadMatrixx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void LoadMatrixxOES(int* m);
- internal unsafe static LoadMatrixxOES glLoadMatrixxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LoadPaletteFromModelViewMatrixOES();
- internal static LoadPaletteFromModelViewMatrixOES glLoadPaletteFromModelViewMatrixOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void LogicOp(OpenTK.Graphics.ES11.All opcode);
- internal static LogicOp glLogicOp;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate System.IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access);
- internal unsafe static MapBufferOES glMapBufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Materialf(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param);
- internal static Materialf glMaterialf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Materialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static Materialfv glMaterialfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param);
- internal static Materialx glMaterialx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param);
- internal static MaterialxOES glMaterialxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static Materialxv glMaterialxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static MaterialxvOES glMaterialxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static MatrixIndexPointerOES glMatrixIndexPointerOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MatrixMode(OpenTK.Graphics.ES11.All mode);
- internal static MatrixMode glMatrixMode;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q);
- internal static MultiTexCoord4f glMultiTexCoord4f;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q);
- internal static MultiTexCoord4x glMultiTexCoord4x;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q);
- internal static MultiTexCoord4xOES glMultiTexCoord4xOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void MultMatrixf(Single* m);
- internal unsafe static MultMatrixf glMultMatrixf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void MultMatrixx(int* m);
- internal unsafe static MultMatrixx glMultMatrixx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void MultMatrixxOES(int* m);
- internal unsafe static MultMatrixxOES glMultMatrixxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Normal3f(Single nx, Single ny, Single nz);
- internal static Normal3f glNormal3f;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Normal3x(int nx, int ny, int nz);
- internal static Normal3x glNormal3x;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Normal3xOES(int nx, int ny, int nz);
- internal static Normal3xOES glNormal3xOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static NormalPointer glNormalPointer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
- internal static Orthof glOrthof;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void OrthofOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
- internal static OrthofOES glOrthofOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Orthox(int left, int right, int bottom, int top, int zNear, int zFar);
- internal static Orthox glOrthox;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void OrthoxOES(int left, int right, int bottom, int top, int zNear, int zFar);
- internal static OrthoxOES glOrthoxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PixelStorei(OpenTK.Graphics.ES11.All pname, Int32 param);
- internal static PixelStorei glPixelStorei;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param);
- internal static PointParameterf glPointParameterf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static PointParameterfv glPointParameterfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointParameterx(OpenTK.Graphics.ES11.All pname, int param);
- internal static PointParameterx glPointParameterx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param);
- internal static PointParameterxOES glPointParameterxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static PointParameterxv glPointParameterxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static PointParameterxvOES glPointParameterxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointSize(Single size);
- internal static PointSize glPointSize;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static PointSizePointerOES glPointSizePointerOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointSizex(int size);
- internal static PointSizex glPointSizex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PointSizexOES(int size);
- internal static PointSizexOES glPointSizexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PolygonOffset(Single factor, Single units);
- internal static PolygonOffset glPolygonOffset;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PolygonOffsetx(int factor, int units);
- internal static PolygonOffsetx glPolygonOffsetx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PolygonOffsetxOES(int factor, int units);
- internal static PolygonOffsetxOES glPolygonOffsetxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PopMatrix();
- internal static PopMatrix glPopMatrix;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void PushMatrix();
- internal static PushMatrix glPushMatrix;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate Int32 QueryMatrixxOES(int* mantissa, Int32* exponent);
- internal unsafe static QueryMatrixxOES glQueryMatrixxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
- internal static ReadPixels glReadPixels;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height);
- internal static RenderbufferStorageOES glRenderbufferStorageOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Rotatef(Single angle, Single x, Single y, Single z);
- internal static Rotatef glRotatef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Rotatex(int angle, int x, int y, int z);
- internal static Rotatex glRotatex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void RotatexOES(int angle, int x, int y, int z);
- internal static RotatexOES glRotatexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void SampleCoverage(Single value, bool invert);
- internal static SampleCoverage glSampleCoverage;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void SampleCoveragex(int value, bool invert);
- internal static SampleCoveragex glSampleCoveragex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void SampleCoveragexOES(int value, bool invert);
- internal static SampleCoveragexOES glSampleCoveragexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Scalef(Single x, Single y, Single z);
- internal static Scalef glScalef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Scalex(int x, int y, int z);
- internal static Scalex glScalex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ScalexOES(int x, int y, int z);
- internal static ScalexOES glScalexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
- internal static Scissor glScissor;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition);
- internal static SetFenceNV glSetFenceNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void ShadeModel(OpenTK.Graphics.ES11.All mode);
- internal static ShadeModel glShadeModel;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask);
- internal static StencilFunc glStencilFunc;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void StencilMask(UInt32 mask);
- internal static StencilMask glStencilMask;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass);
- internal static StencilOp glStencilOp;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool TestFenceNV(UInt32 fence);
- internal static TestFenceNV glTestFenceNV;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static TexCoordPointer glTexCoordPointer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexEnvf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param);
- internal static TexEnvf glTexEnvf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static TexEnvfv glTexEnvfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexEnvi(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param);
- internal static TexEnvi glTexEnvi;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexEnviv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static TexEnviv glTexEnviv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
- internal static TexEnvx glTexEnvx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
- internal static TexEnvxOES glTexEnvxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static TexEnvxv glTexEnvxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static TexEnvxvOES glTexEnvxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param);
- internal static TexGenfOES glTexGenfOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static TexGenfvOES glTexGenfvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param);
- internal static TexGeniOES glTexGeniOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static TexGenivOES glTexGenivOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param);
- internal static TexGenxOES glTexGenxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static TexGenxvOES glTexGenxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
- internal static TexImage2D glTexImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexParameterf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param);
- internal static TexParameterf glTexParameterf;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
- internal unsafe static TexParameterfv glTexParameterfv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexParameteri(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param);
- internal static TexParameteri glTexParameteri;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
- internal unsafe static TexParameteriv glTexParameteriv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
- internal static TexParameterx glTexParameterx;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
- internal static TexParameterxOES glTexParameterxOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static TexParameterxv glTexParameterxv;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
- internal unsafe static TexParameterxvOES glTexParameterxvOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
- internal static TexSubImage2D glTexSubImage2D;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Translatef(Single x, Single y, Single z);
- internal static Translatef glTranslatef;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Translatex(int x, int y, int z);
- internal static Translatex glTranslatex;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TranslatexOES(int x, int y, int z);
- internal static TranslatexOES glTranslatexOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES11.All target);
- internal static UnmapBufferOES glUnmapBufferOES;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static VertexPointer glVertexPointer;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
- internal static Viewport glViewport;
- [System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
- internal static WeightPointerOES glWeightPointerOES;
- }
- }
-}
diff --git a/Source/OpenTK/Graphics/ES11/ES.cs b/Source/OpenTK/Graphics/ES11/ES.cs
deleted file mode 100644
index a9104b43..00000000
--- a/Source/OpenTK/Graphics/ES11/ES.cs
+++ /dev/null
@@ -1,14491 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-namespace OpenTK.Graphics.ES11
-{
- using System;
- using System.Text;
- using System.Runtime.InteropServices;
- #pragma warning disable 3019
- #pragma warning disable 1591
- #pragma warning disable 1572
- #pragma warning disable 1573
- #pragma warning disable 3006
-
- partial class GL
- {
-
-
- /// [requires: v1.1 and 1.1]
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glActiveTexture")]
- public static
- void ActiveTexture(OpenTK.Graphics.ES11.All texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glActiveTexture((OpenTK.Graphics.ES11.All)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the alpha test function
- ///
- ///
- ///
- /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFunc")]
- public static
- void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFunc((OpenTK.Graphics.ES11.All)func, (Single)@ref);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFuncx")]
- public static
- void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.All)func, (int)@ref);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(OpenTK.Graphics.ES11.All target, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(OpenTK.Graphics.ES11.All target, Int32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((OpenTK.Graphics.ES11.All)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((OpenTK.Graphics.ES11.All)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify pixel arithmetic
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendFunc")]
- public static
- void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFunc((OpenTK.Graphics.ES11.All)sfactor, (OpenTK.Graphics.ES11.All)dfactor);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES11.All usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES11.All usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES11.All usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES11.All usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.All)usage);
- data = (T2)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T3)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Clear buffers to preset values
- ///
- ///
- ///
- /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")]
- public static
- void Clear(Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClear((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Clear buffers to preset values
- ///
- ///
- ///
- /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClear")]
- public static
- void Clear(UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClear((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify clear values for the color buffers
- ///
- ///
- ///
- /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColor")]
- public static
- void ClearColor(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColorx")]
- public static
- void ClearColorx(int red, int green, int blue, int alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the clear value for the depth buffer
- ///
- ///
- ///
- /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthf")]
- public static
- void ClearDepth(Single depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepthf((Single)depth);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthx")]
- public static
- void ClearDepthx(int depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepthx((int)depth);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the clear value for the stencil buffer
- ///
- ///
- ///
- /// Specifies the index used when the stencil buffer is cleared. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearStencil")]
- public static
- void ClearStencil(Int32 s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearStencil((Int32)s);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClientActiveTexture")]
- public static
- void ClientActiveTexture(OpenTK.Graphics.ES11.All texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.All)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")]
- public static
- void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* equation_ptr = equation)
- {
- Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")]
- public static
- void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* equation_ptr = &equation)
- {
- Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanef")]
- public static
- unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")]
- public static
- void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = eqn)
- {
- Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")]
- public static
- void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, ref Single eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = &eqn)
- {
- Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefIMG")]
- public static
- unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")]
- public static
- void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* equation_ptr = equation)
- {
- Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")]
- public static
- void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* equation_ptr = &equation)
- {
- Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanex")]
- public static
- unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")]
- public static
- void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = eqn)
- {
- Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")]
- public static
- void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, ref int eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = &eqn)
- {
- Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexIMG")]
- public static
- unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4f")]
- public static
- void Color4(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the current color
- ///
- ///
- ///
- /// Specify new red, green, and blue values for the current color.
- ///
- ///
- ///
- ///
- /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4ub")]
- public static
- void Color4(Byte red, Byte green, Byte blue, Byte alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4x")]
- public static
- void Color4x(int red, int green, int blue, int alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Enable and disable writing of frame buffer color components
- ///
- ///
- ///
- /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorMask")]
- public static
- void ColorMask(bool red, bool green, bool blue, bool alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of colors
- ///
- ///
- ///
- /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColorPointer")]
- public static
- void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T3)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T7)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T8)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Copy pixels into a 2D texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCopyTexImage2D")]
- public static
- void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Copy a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCopyTexSubImage2D")]
- public static
- void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify whether front- or back-facing facets can be culled
- ///
- ///
- ///
- /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCullFace")]
- public static
- void CullFace(OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCullFace((OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, Int32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref Int32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, Int32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, UInt32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref UInt32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, UInt32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the value used for depth buffer comparisons
- ///
- ///
- ///
- /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthFunc")]
- public static
- void DepthFunc(OpenTK.Graphics.ES11.All func)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthFunc((OpenTK.Graphics.ES11.All)func);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Enable or disable writing into the depth buffer
- ///
- ///
- ///
- /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthMask")]
- public static
- void DepthMask(bool flag)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthMask((bool)flag);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify mapping of depth values from normalized device coordinates to window coordinates
- ///
- ///
- ///
- /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangef")]
- public static
- void DepthRange(Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRangef((Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangex")]
- public static
- void DepthRangex(int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRangex((int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisable")]
- public static
- void Disable(OpenTK.Graphics.ES11.All cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisable((OpenTK.Graphics.ES11.All)cap);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableClientState")]
- public static
- void DisableClientState(OpenTK.Graphics.ES11.All array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableClientState((OpenTK.Graphics.ES11.All)array);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the starting index in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Specifies the number of indices to be rendered.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawArrays")]
- public static
- void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawArrays((OpenTK.Graphics.ES11.All)mode, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T3[,,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T3 indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES11.All)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- indices = (T3)indices_ptr.Target;
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Enable or disable server-side GL capabilities
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnable")]
- public static
- void Enable(OpenTK.Graphics.ES11.All cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnable((OpenTK.Graphics.ES11.All)cap);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Enable or disable client-side capability
- ///
- ///
- ///
- /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableClientState")]
- public static
- void EnableClientState(OpenTK.Graphics.ES11.All array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableClientState((OpenTK.Graphics.ES11.All)array);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Block until all GL execution is complete
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinish")]
- public static
- void Finish()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinish();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Force execution of GL commands in finite time
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFlush")]
- public static
- void Flush()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlush();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify fog parameters
- ///
- ///
- ///
- /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogf")]
- public static
- void Fog(OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogf((OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify fog parameters
- ///
- ///
- ///
- /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogfv")]
- public static
- void Fog(OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glFogfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify fog parameters
- ///
- ///
- ///
- /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogfv")]
- public static
- unsafe void Fog(OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogx")]
- public static
- void Fogx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogx((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxv")]
- public static
- void Fogx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxv")]
- public static
- unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define front- and back-facing polygons
- ///
- ///
- ///
- /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrontFace")]
- public static
- void FrontFace(OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrontFace((OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix by a perspective matrix
- ///
- ///
- ///
- /// Specify the coordinates for the left and right vertical clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the coordinates for the bottom and top horizontal clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the distances to the near and far depth clipping planes. Both distances must be positive.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumf")]
- public static
- void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrustumf((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumx")]
- public static
- void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrustumx((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, ref Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- unsafe void GenBuffers(Int32 n, Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, ref UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenBuffers")]
- public static
- unsafe void GenBuffers(Int32 n, UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, Int32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, ref Int32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- unsafe void GenTextures(Int32 n, Int32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, UInt32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, ref UInt32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenTextures")]
- public static
- unsafe void GenTextures(Int32 n, UInt32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")]
- public static
- void GetBoolean(OpenTK.Graphics.ES11.All pname, bool[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (bool* @params_ptr = @params)
- {
- Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")]
- public static
- void GetBoolean(OpenTK.Graphics.ES11.All pname, ref bool @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (bool* @params_ptr = &@params)
- {
- Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBooleanv")]
- public static
- unsafe void GetBoolean(OpenTK.Graphics.ES11.All pname, bool* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBooleanv((OpenTK.Graphics.ES11.All)pname, (bool*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")]
- public static
- void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")]
- public static
- void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferParameteriv")]
- public static
- unsafe void GetBufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")]
- public static
- void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = eqn)
- {
- Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")]
- public static
- void GetClipPlane(OpenTK.Graphics.ES11.All pname, ref Single eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = &eqn)
- {
- Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanef")]
- public static
- unsafe void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)pname, (Single*)eqn);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")]
- public static
- void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = eqn)
- {
- Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")]
- public static
- void GetClipPlanex(OpenTK.Graphics.ES11.All pname, ref int eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = &eqn)
- {
- Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanex")]
- public static
- unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)pname, (int*)eqn);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return error information
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetError")]
- public static
- OpenTK.Graphics.ES11.All GetError()
- {
- return Delegates.glGetError();
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")]
- public static
- void GetFixed(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")]
- public static
- void GetFixed(OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedv")]
- public static
- unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")]
- public static
- void GetFloat(OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")]
- public static
- void GetFloat(OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFloatv")]
- public static
- unsafe void GetFloat(OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFloatv((OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")]
- public static
- void GetInteger(OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")]
- public static
- void GetInteger(OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetIntegerv")]
- public static
- unsafe void GetInteger(OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetIntegerv((OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return light source parameter values
- ///
- ///
- ///
- /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")]
- public static
- void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return light source parameter values
- ///
- ///
- ///
- /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")]
- public static
- void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return light source parameter values
- ///
- ///
- ///
- /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightfv")]
- public static
- unsafe void GetLight(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")]
- public static
- void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")]
- public static
- void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxv")]
- public static
- unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return material parameters
- ///
- ///
- ///
- /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
- ///
- ///
- ///
- ///
- /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")]
- public static
- void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return material parameters
- ///
- ///
- ///
- /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
- ///
- ///
- ///
- ///
- /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")]
- public static
- void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return material parameters
- ///
- ///
- ///
- /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
- ///
- ///
- ///
- ///
- /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialfv")]
- public static
- unsafe void GetMaterial(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")]
- public static
- void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")]
- public static
- void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxv")]
- public static
- unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the address of the specified pointer
- ///
- ///
- ///
- /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
- ///
- ///
- ///
- ///
- /// Returns the pointer value specified by pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")]
- public static
- void GetPointer(OpenTK.Graphics.ES11.All pname, IntPtr @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the address of the specified pointer
- ///
- ///
- ///
- /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
- ///
- ///
- ///
- ///
- /// Returns the pointer value specified by pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")]
- public static
- void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[] @params)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the address of the specified pointer
- ///
- ///
- ///
- /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
- ///
- ///
- ///
- ///
- /// Returns the pointer value specified by pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")]
- public static
- void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,] @params)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the address of the specified pointer
- ///
- ///
- ///
- /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
- ///
- ///
- ///
- ///
- /// Returns the pointer value specified by pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")]
- public static
- void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T1[,,] @params)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return the address of the specified pointer
- ///
- ///
- ///
- /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
- ///
- ///
- ///
- ///
- /// Returns the pointer value specified by pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetPointerv")]
- public static
- void GetPointer(OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T1 @params)
- where T1 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPointerv((OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- @params = (T1)@params_ptr.Target;
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return a string describing the current GL connection
- ///
- ///
- ///
- /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
- ///
- ///
- ///
- ///
- /// For glGetStringi, specifies the index of the string to return.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetString")]
- public static
- unsafe System.String GetString(OpenTK.Graphics.ES11.All name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES11.All)name)); }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")]
- public static
- void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")]
- public static
- void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvfv")]
- public static
- unsafe void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")]
- public static
- void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")]
- public static
- void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnviv")]
- public static
- unsafe void GetTexEnv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")]
- public static
- void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")]
- public static
- void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxv")]
- public static
- unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterfv")]
- public static
- unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameteriv")]
- public static
- unsafe void GetTexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")]
- public static
- void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")]
- public static
- void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxv")]
- public static
- unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify implementation-specific hints
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glHint")]
- public static
- void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glHint((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")]
- public static
- bool IsBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBuffer((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsBuffer")]
- public static
- bool IsBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBuffer((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Test whether a capability is enabled
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsEnabled")]
- public static
- bool IsEnabled(OpenTK.Graphics.ES11.All cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsEnabled((OpenTK.Graphics.ES11.All)cap);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Determine if a name corresponds to a texture
- ///
- ///
- ///
- /// Specifies a value that may be the name of a texture.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")]
- public static
- bool IsTexture(Int32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsTexture((UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Determine if a name corresponds to a texture
- ///
- ///
- ///
- /// Specifies a value that may be the name of a texture.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsTexture")]
- public static
- bool IsTexture(UInt32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsTexture((UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set light source parameters
- ///
- ///
- ///
- /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter pname of light source light will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightf")]
- public static
- void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightf((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set light source parameters
- ///
- ///
- ///
- /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter pname of light source light will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightfv")]
- public static
- void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set light source parameters
- ///
- ///
- ///
- /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter pname of light source light will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightfv")]
- public static
- unsafe void Light(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightfv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the lighting model parameters
- ///
- ///
- ///
- /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that param will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelf")]
- public static
- void LightModel(OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelf((OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the lighting model parameters
- ///
- ///
- ///
- /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that param will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelfv")]
- public static
- void LightModel(OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glLightModelfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the lighting model parameters
- ///
- ///
- ///
- /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that param will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelfv")]
- public static
- unsafe void LightModel(OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelx")]
- public static
- void LightModelx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelx((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxv")]
- public static
- void LightModelx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxv")]
- public static
- unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightx")]
- public static
- void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightx((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxv")]
- public static
- void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxv")]
- public static
- unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the width of rasterized lines
- ///
- ///
- ///
- /// Specifies the width of rasterized lines. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidth")]
- public static
- void LineWidth(Single width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLineWidth((Single)width);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidthx")]
- public static
- void LineWidthx(int width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLineWidthx((int)width);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Replace the current matrix with the identity matrix
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadIdentity")]
- public static
- void LoadIdentity()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadIdentity();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Replace the current matrix with the specified matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")]
- public static
- void LoadMatrix(Single[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = m)
- {
- Delegates.glLoadMatrixf((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Replace the current matrix with the specified matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")]
- public static
- void LoadMatrix(ref Single m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = &m)
- {
- Delegates.glLoadMatrixf((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Replace the current matrix with the specified matrix
- ///
- ///
- ///
- /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixf")]
- public static
- unsafe void LoadMatrix(Single* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadMatrixf((Single*)m);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")]
- public static
- void LoadMatrixx(int[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = m)
- {
- Delegates.glLoadMatrixx((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")]
- public static
- void LoadMatrixx(ref int m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = &m)
- {
- Delegates.glLoadMatrixx((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixx")]
- public static
- unsafe void LoadMatrixx(int* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadMatrixx((int*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a logical pixel operation for rendering
- ///
- ///
- ///
- /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLogicOp")]
- public static
- void LogicOp(OpenTK.Graphics.ES11.All opcode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLogicOp((OpenTK.Graphics.ES11.All)opcode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify material parameters for the lighting model
- ///
- ///
- ///
- /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter GL_SHININESS will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialf")]
- public static
- void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialf((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify material parameters for the lighting model
- ///
- ///
- ///
- /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter GL_SHININESS will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialfv")]
- public static
- void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify material parameters for the lighting model
- ///
- ///
- ///
- /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
- ///
- ///
- ///
- ///
- /// Specifies the value that parameter GL_SHININESS will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialfv")]
- public static
- unsafe void Material(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialfv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialx")]
- public static
- void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialx((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxv")]
- public static
- void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxv")]
- public static
- unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify which matrix is the current matrix
- ///
- ///
- ///
- /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixMode")]
- public static
- void MatrixMode(OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixMode((OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the current texture coordinates
- ///
- ///
- ///
- /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
- ///
- ///
- ///
- ///
- /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4f")]
- public static
- void MultiTexCoord4(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.All)target, (Single)s, (Single)t, (Single)r, (Single)q);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4x")]
- public static
- void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.All)target, (int)s, (int)t, (int)r, (int)q);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix with the specified matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")]
- public static
- void MultMatrix(Single[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = m)
- {
- Delegates.glMultMatrixf((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix with the specified matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")]
- public static
- void MultMatrix(ref Single m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* m_ptr = &m)
- {
- Delegates.glMultMatrixf((Single*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix with the specified matrix
- ///
- ///
- ///
- /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixf")]
- public static
- unsafe void MultMatrix(Single* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultMatrixf((Single*)m);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")]
- public static
- void MultMatrixx(int[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = m)
- {
- Delegates.glMultMatrixx((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")]
- public static
- void MultMatrixx(ref int m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = &m)
- {
- Delegates.glMultMatrixx((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixx")]
- public static
- unsafe void MultMatrixx(int* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultMatrixx((int*)m);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the current normal vector
- ///
- ///
- ///
- /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1).
- ///
- ///
- ///
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3f")]
- public static
- void Normal3(Single nx, Single ny, Single nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3x")]
- public static
- void Normal3x(int nx, int ny, int nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormal3x((int)nx, (int)ny, (int)nz);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of normals
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")]
- public static
- void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of normals
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")]
- public static
- void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of normals
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")]
- public static
- void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of normals
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")]
- public static
- void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of normals
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormalPointer")]
- public static
- void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glNormalPointer((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T2)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix with an orthographic matrix
- ///
- ///
- ///
- /// Specify the coordinates for the left and right vertical clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the coordinates for the bottom and top horizontal clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthof")]
- public static
- void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glOrthof((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthox")]
- public static
- void Orthox(int left, int right, int bottom, int top, int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glOrthox((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set pixel storage modes
- ///
- ///
- ///
- /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname is set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPixelStorei")]
- public static
- void PixelStore(OpenTK.Graphics.ES11.All pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPixelStorei((OpenTK.Graphics.ES11.All)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterf")]
- public static
- void PointParameter(OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterf((OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterfv")]
- public static
- void PointParameter(OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify point parameters
- ///
- ///
- ///
- /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname will be set to.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterfv")]
- public static
- unsafe void PointParameter(OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterx")]
- public static
- void PointParameterx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterx((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxv")]
- public static
- void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxv")]
- public static
- unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify the diameter of rasterized points
- ///
- ///
- ///
- /// Specifies the diameter of rasterized points. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSize")]
- public static
- void PointSize(Single size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointSize((Single)size);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizex")]
- public static
- void PointSizex(int size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointSizex((int)size);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the scale and units used to calculate depth values
- ///
- ///
- ///
- /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffset")]
- public static
- void PolygonOffset(Single factor, Single units)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPolygonOffset((Single)factor, (Single)units);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffsetx")]
- public static
- void PolygonOffsetx(int factor, int units)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPolygonOffsetx((int)factor, (int)units);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPopMatrix")]
- public static
- void PopMatrix()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPopMatrix();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Push and pop the current matrix stack
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPushMatrix")]
- public static
- void PushMatrix()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPushMatrix();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T6[,,] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T6 pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T6)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix by a rotation matrix
- ///
- ///
- ///
- /// Specifies the angle of rotation, in degrees.
- ///
- ///
- ///
- ///
- /// Specify the x, y, and z coordinates of a vector, respectively.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatef")]
- public static
- void Rotate(Single angle, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatex")]
- public static
- void Rotatex(int angle, int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify multisample coverage parameters
- ///
- ///
- ///
- /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
- ///
- ///
- ///
- ///
- /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSampleCoverage")]
- public static
- void SampleCoverage(Single value, bool invert)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleCoverage((Single)value, (bool)invert);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSampleCoveragex")]
- public static
- void SampleCoveragex(int value, bool invert)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleCoveragex((int)value, (bool)invert);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix by a general scaling matrix
- ///
- ///
- ///
- /// Specify scale factors along the x, y, and z axes, respectively.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalef")]
- public static
- void Scale(Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glScalef((Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalex")]
- public static
- void Scalex(int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glScalex((int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define the scissor box
- ///
- ///
- ///
- /// Specify the lower left corner of the scissor box. Initially (0, 0).
- ///
- ///
- ///
- ///
- /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScissor")]
- public static
- void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Select flat or smooth shading
- ///
- ///
- ///
- /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glShadeModel")]
- public static
- void ShadeModel(OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShadeModel((OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set front and back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")]
- public static
- void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFunc((OpenTK.Graphics.ES11.All)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set front and back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilFunc")]
- public static
- void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFunc((OpenTK.Graphics.ES11.All)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Control the front and back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")]
- public static
- void StencilMask(Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMask((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Control the front and back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilMask")]
- public static
- void StencilMask(UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMask((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set front and back stencil test actions
- ///
- ///
- ///
- /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glStencilOp")]
- public static
- void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilOp((OpenTK.Graphics.ES11.All)fail, (OpenTK.Graphics.ES11.All)zfail, (OpenTK.Graphics.ES11.All)zpass);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of texture coordinates
- ///
- ///
- ///
- /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")]
- public static
- void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of texture coordinates
- ///
- ///
- ///
- /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")]
- public static
- void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of texture coordinates
- ///
- ///
- ///
- /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")]
- public static
- void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of texture coordinates
- ///
- ///
- ///
- /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")]
- public static
- void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of texture coordinates
- ///
- ///
- ///
- /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexCoordPointer")]
- public static
- void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T3)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvf")]
- public static
- void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvf((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvfv")]
- public static
- void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glTexEnvfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvfv")]
- public static
- unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvi")]
- public static
- void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvi((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnviv")]
- public static
- void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glTexEnviv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture environment parameters
- ///
- ///
- ///
- /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
- ///
- ///
- ///
- ///
- /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnviv")]
- public static
- unsafe void TexEnv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnviv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvx")]
- public static
- void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxv")]
- public static
- void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxv")]
- public static
- unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T8)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterf")]
- public static
- void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterf((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterfv")]
- public static
- void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterfv")]
- public static
- unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterfv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteri")]
- public static
- void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameteri((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteriv")]
- public static
- void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameteriv")]
- public static
- unsafe void TexParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterx")]
- public static
- void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxv")]
- public static
- void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxv")]
- public static
- unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] T8[,,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [InAttribute, OutAttribute] ref T8 pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T8)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Multiply the current matrix by a translation matrix
- ///
- ///
- ///
- /// Specify the x, y, and z coordinates of a translation vector.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatef")]
- public static
- void Translate(Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTranslatef((Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v1.1 and 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatex")]
- public static
- void Translatex(int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTranslatex((int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of vertex data
- ///
- ///
- ///
- /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")]
- public static
- void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of vertex data
- ///
- ///
- ///
- /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")]
- public static
- void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of vertex data
- ///
- ///
- ///
- /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")]
- public static
- void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of vertex data
- ///
- ///
- ///
- /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")]
- public static
- void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Define an array of vertex data
- ///
- ///
- ///
- /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glVertexPointer")]
- public static
- void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T3)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v1.1 and 1.1]
- /// Set the viewport
- ///
- ///
- ///
- /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).
- ///
- ///
- ///
- ///
- /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glViewport")]
- public static
- void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- public static partial class NV
- {
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, ref Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- unsafe void DeleteFences(Int32 n, Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, ref UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFencesNV")]
- public static
- unsafe void DeleteFences(Int32 n, UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")]
- public static
- void FinishFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFinishFenceNV")]
- public static
- void FinishFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, ref Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- unsafe void GenFences(Int32 n, Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, ref UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFencesNV")]
- public static
- unsafe void GenFences(Int32 n, UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFenceivNV")]
- public static
- unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")]
- public static
- bool IsFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFenceNV")]
- public static
- bool IsFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")]
- public static
- void SetFence(Int32 fence, OpenTK.Graphics.ES11.All condition)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSetFenceNV")]
- public static
- void SetFence(UInt32 fence, OpenTK.Graphics.ES11.All condition)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")]
- public static
- bool TestFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTestFenceNV")]
- public static
- bool TestFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Oes
- {
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glAlphaFuncxOES")]
- public static
- void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.All)func, (int)@ref);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Bind a framebuffer to a framebuffer target
- ///
- ///
- ///
- /// Specifies the framebuffer target of the binding operation.
- ///
- ///
- ///
- ///
- /// Specifies the name of the framebuffer object to bind.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")]
- public static
- void BindFramebuffer(OpenTK.Graphics.ES11.All target, Int32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Bind a framebuffer to a framebuffer target
- ///
- ///
- ///
- /// Specifies the framebuffer target of the binding operation.
- ///
- ///
- ///
- ///
- /// Specifies the name of the framebuffer object to bind.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindFramebufferOES")]
- public static
- void BindFramebuffer(OpenTK.Graphics.ES11.All target, UInt32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Bind a renderbuffer to a renderbuffer target
- ///
- ///
- ///
- /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of the renderbuffer object to bind.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")]
- public static
- void BindRenderbuffer(OpenTK.Graphics.ES11.All target, Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Bind a renderbuffer to a renderbuffer target
- ///
- ///
- ///
- /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of the renderbuffer object to bind.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBindRenderbufferOES")]
- public static
- void BindRenderbuffer(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
- ///
- ///
- ///
- /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendEquationOES")]
- public static
- void BlendEquation(OpenTK.Graphics.ES11.All mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.All)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Set the RGB blend equation and the alpha blend equation separately
- ///
- ///
- ///
- /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- ///
- ///
- /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendEquationSeparateOES")]
- public static
- void BlendEquationSeparate(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify pixel arithmetic for RGB and alpha components separately
- ///
- ///
- ///
- /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
- ///
- ///
- ///
- ///
- /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glBlendFuncSeparateOES")]
- public static
- void BlendFuncSeparate(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Check the completeness status of a framebuffer
- ///
- ///
- ///
- /// Specify the target of the framebuffer completeness check.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCheckFramebufferStatusOES")]
- public static
- OpenTK.Graphics.ES11.All CheckFramebufferStatus(OpenTK.Graphics.ES11.All target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.All)target);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearColorxOES")]
- public static
- void ClearColorx(int red, int green, int blue, int alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify the clear value for the depth buffer
- ///
- ///
- ///
- /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthfOES")]
- public static
- void ClearDepth(Single depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepthfOES((Single)depth);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClearDepthxOES")]
- public static
- void ClearDepthx(int depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepthxOES((int)depth);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")]
- public static
- void ClipPlane(OpenTK.Graphics.ES11.All plane, Single[] equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* equation_ptr = equation)
- {
- Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")]
- public static
- void ClipPlane(OpenTK.Graphics.ES11.All plane, ref Single equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* equation_ptr = &equation)
- {
- Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify a plane against which all geometry is clipped
- ///
- ///
- ///
- /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanefOES")]
- public static
- unsafe void ClipPlane(OpenTK.Graphics.ES11.All plane, Single* equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")]
- public static
- void ClipPlanex(OpenTK.Graphics.ES11.All plane, int[] equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* equation_ptr = equation)
- {
- Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")]
- public static
- void ClipPlanex(OpenTK.Graphics.ES11.All plane, ref int equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* equation_ptr = &equation)
- {
- Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glClipPlanexOES")]
- public static
- unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glColor4xOES")]
- public static
- void Color4x(int red, int green, int blue, int alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")]
- public static
- void CurrentPaletteMatrix(Int32 matrixpaletteindex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glCurrentPaletteMatrixOES")]
- public static
- void CurrentPaletteMatrix(UInt32 matrixpaletteindex)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteFramebuffersOES")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDeleteRenderbuffersOES")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Specify mapping of depth values from normalized device coordinates to window coordinates
- ///
- ///
- ///
- /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangefOES")]
- public static
- void DepthRange(Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRangefOES((Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDepthRangexOES")]
- public static
- void DepthRangex(int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRangexOES((int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfOES")]
- public static
- void DrawTex(Single x, Single y, Single z, Single width, Single height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")]
- public static
- void DrawTex(Single[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = coords)
- {
- Delegates.glDrawTexfvOES((Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")]
- public static
- void DrawTex(ref Single coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* coords_ptr = &coords)
- {
- Delegates.glDrawTexfvOES((Single*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexfvOES")]
- public static
- unsafe void DrawTex(Single* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexfvOES((Single*)coords);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexiOES")]
- public static
- void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")]
- public static
- void DrawTex(Int32[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = coords)
- {
- Delegates.glDrawTexivOES((Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")]
- public static
- void DrawTex(ref Int32 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* coords_ptr = &coords)
- {
- Delegates.glDrawTexivOES((Int32*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexivOES")]
- public static
- unsafe void DrawTex(Int32* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexivOES((Int32*)coords);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsOES")]
- public static
- void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")]
- public static
- void DrawTex(Int16[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = coords)
- {
- Delegates.glDrawTexsvOES((Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")]
- public static
- void DrawTex(ref Int16 coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int16* coords_ptr = &coords)
- {
- Delegates.glDrawTexsvOES((Int16*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexsvOES")]
- public static
- unsafe void DrawTex(Int16* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexsvOES((Int16*)coords);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxOES")]
- public static
- void DrawTexx(int x, int y, int z, int width, int height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")]
- public static
- void DrawTexx(int[] coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* coords_ptr = coords)
- {
- Delegates.glDrawTexxvOES((int*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")]
- public static
- void DrawTexx(ref int coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* coords_ptr = &coords)
- {
- Delegates.glDrawTexxvOES((int*)coords_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDrawTexxvOES")]
- public static
- unsafe void DrawTexx(int* coords)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawTexxvOES((int*)coords);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")]
- public static
- void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.All target, IntPtr image)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEGLImageTargetTexture2DOES")]
- public static
- void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.All target, IntPtr image)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxOES")]
- public static
- void Fogx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogxOES((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxvOES")]
- public static
- void Fogx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFogxvOES")]
- public static
- unsafe void Fogx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
- ///
- ///
- ///
- /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the attachment point of the framebuffer.
- ///
- ///
- ///
- ///
- /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")]
- public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
- ///
- ///
- ///
- /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the attachment point of the framebuffer.
- ///
- ///
- ///
- ///
- /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferRenderbufferOES")]
- public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")]
- public static
- void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, Int32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFramebufferTexture2DOES")]
- public static
- void FramebufferTexture2D(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Multiply the current matrix by a perspective matrix
- ///
- ///
- ///
- /// Specify the coordinates for the left and right vertical clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the coordinates for the bottom and top horizontal clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the distances to the near and far depth clipping planes. Both distances must be positive.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumfOES")]
- public static
- void Frustum(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrustumfOES((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glFrustumxOES")]
- public static
- void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrustumxOES((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate mipmaps for a specified texture target
- ///
- ///
- ///
- /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenerateMipmapOES")]
- public static
- void GenerateMipmap(OpenTK.Graphics.ES11.All target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.All)target);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- void GenFramebuffers(Int32 n, Int32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = framebuffers)
- {
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- void GenFramebuffers(Int32 n, ref Int32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- unsafe void GenFramebuffers(Int32 n, Int32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- void GenFramebuffers(Int32 n, UInt32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = framebuffers)
- {
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- void GenFramebuffers(Int32 n, ref UInt32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenFramebuffersOES")]
- public static
- unsafe void GenFramebuffers(Int32 n, UInt32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- void GenRenderbuffers(Int32 n, Int32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- void GenRenderbuffers(Int32 n, ref Int32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- unsafe void GenRenderbuffers(Int32 n, Int32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- void GenRenderbuffers(Int32 n, UInt32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- void GenRenderbuffers(Int32 n, ref UInt32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGenRenderbuffersOES")]
- public static
- unsafe void GenRenderbuffers(Int32 n, UInt32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")]
- public static
- void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")]
- public static
- void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")]
- public static
- void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")]
- public static
- void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] T2[,,] @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetBufferPointervOES")]
- public static
- void GetBufferPointer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [InAttribute, OutAttribute] ref T2 @params)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
- try
- {
- Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
- @params = (T2)@params_ptr.Target;
- }
- finally
- {
- @params_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")]
- public static
- void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = eqn)
- {
- Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")]
- public static
- void GetClipPlane(OpenTK.Graphics.ES11.All pname, ref Single eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* eqn_ptr = &eqn)
- {
- Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return the coefficients of the specified clipping plane
- ///
- ///
- ///
- /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
- ///
- ///
- ///
- ///
- /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanefOES")]
- public static
- unsafe void GetClipPlane(OpenTK.Graphics.ES11.All pname, Single* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)pname, (Single*)eqn);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")]
- public static
- void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int[] eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = eqn)
- {
- Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")]
- public static
- void GetClipPlanex(OpenTK.Graphics.ES11.All pname, ref int eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* eqn_ptr = &eqn)
- {
- Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetClipPlanexOES")]
- public static
- unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)pname, (int*)eqn);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")]
- public static
- void GetFixed(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")]
- public static
- void GetFixed(OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFixedvOES")]
- public static
- unsafe void GetFixed(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
- public static
- void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
- public static
- void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
- public static
- unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")]
- public static
- void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")]
- public static
- void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetLightxvOES")]
- public static
- unsafe void GetLightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")]
- public static
- void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")]
- public static
- void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetMaterialxvOES")]
- public static
- unsafe void GetMaterialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")]
- public static
- void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")]
- public static
- void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetRenderbufferParameterivOES")]
- public static
- unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")]
- public static
- void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")]
- public static
- void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexEnvxvOES")]
- public static
- unsafe void GetTexEnvx(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)env, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")]
- public static
- void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")]
- public static
- void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenfvOES")]
- public static
- unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")]
- public static
- void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")]
- public static
- void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Return texture coordinate generation parameters
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenivOES")]
- public static
- unsafe void GetTexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")]
- public static
- void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")]
- public static
- void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexGenxvOES")]
- public static
- unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")]
- public static
- void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")]
- public static
- void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, ref int @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = &@params)
- {
- Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetTexParameterxvOES")]
- public static
- unsafe void GetTexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Determine if a name corresponds to a framebuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a framebuffer object.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")]
- public static
- bool IsFramebuffer(Int32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFramebufferOES((UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Determine if a name corresponds to a framebuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a framebuffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsFramebufferOES")]
- public static
- bool IsFramebuffer(UInt32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFramebufferOES((UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Determine if a name corresponds to a renderbuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a renderbuffer object.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")]
- public static
- bool IsRenderbuffer(Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsRenderbufferOES((UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Determine if a name corresponds to a renderbuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a renderbuffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glIsRenderbufferOES")]
- public static
- bool IsRenderbuffer(UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsRenderbufferOES((UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxOES")]
- public static
- void LightModelx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelxOES((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxvOES")]
- public static
- void LightModelx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightModelxvOES")]
- public static
- unsafe void LightModelx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxOES")]
- public static
- void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxvOES")]
- public static
- void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLightxvOES")]
- public static
- unsafe void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLineWidthxOES")]
- public static
- void LineWidthx(int width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLineWidthxOES((int)width);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")]
- public static
- void LoadMatrixx(int[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = m)
- {
- Delegates.glLoadMatrixxOES((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")]
- public static
- void LoadMatrixx(ref int m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = &m)
- {
- Delegates.glLoadMatrixxOES((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadMatrixxOES")]
- public static
- unsafe void LoadMatrixx(int* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadMatrixxOES((int*)m);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glLoadPaletteFromModelViewMatrixOES")]
- public static
- void LoadPaletteFromModelViewMatrix()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLoadPaletteFromModelViewMatrixOES();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Map a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMapBufferOES")]
- public static
- unsafe System.IntPtr MapBuffer(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxOES")]
- public static
- void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxvOES")]
- public static
- void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMaterialxvOES")]
- public static
- unsafe void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")]
- public static
- void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")]
- public static
- void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")]
- public static
- void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")]
- public static
- void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMatrixIndexPointerOES")]
- public static
- void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T3)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultiTexCoord4xOES")]
- public static
- void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.All)target, (int)s, (int)t, (int)r, (int)q);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")]
- public static
- void MultMatrixx(int[] m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = m)
- {
- Delegates.glMultMatrixxOES((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")]
- public static
- void MultMatrixx(ref int m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* m_ptr = &m)
- {
- Delegates.glMultMatrixxOES((int*)m_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glMultMatrixxOES")]
- public static
- unsafe void MultMatrixx(int* m)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultMatrixxOES((int*)m);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glNormal3xOES")]
- public static
- void Normal3x(int nx, int ny, int nz)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Multiply the current matrix with an orthographic matrix
- ///
- ///
- ///
- /// Specify the coordinates for the left and right vertical clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the coordinates for the bottom and top horizontal clipping planes.
- ///
- ///
- ///
- ///
- /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthofOES")]
- public static
- void Ortho(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glOrthofOES((Single)left, (Single)right, (Single)bottom, (Single)top, (Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glOrthoxOES")]
- public static
- void Orthox(int left, int right, int bottom, int top, int zNear, int zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glOrthoxOES((int)left, (int)right, (int)bottom, (int)top, (int)zNear, (int)zFar);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxOES")]
- public static
- void PointParameterx(OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxvOES")]
- public static
- void PointParameterx(OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointParameterxvOES")]
- public static
- unsafe void PointParameterx(OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")]
- public static
- void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")]
- public static
- void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")]
- public static
- void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")]
- public static
- void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizePointerOES")]
- public static
- void PointSizePointer(OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T2)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPointSizexOES")]
- public static
- void PointSizex(int size)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPointSizexOES((int)size);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glPolygonOffsetxOES")]
- public static
- void PolygonOffsetx(int factor, int units)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPolygonOffsetxOES((int)factor, (int)units);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
- public static
- Int32 QueryMatrixx(int[] mantissa, Int32[] exponent)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* mantissa_ptr = mantissa)
- fixed (Int32* exponent_ptr = exponent)
- {
- return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
- public static
- Int32 QueryMatrixx(ref int mantissa, ref Int32 exponent)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* mantissa_ptr = &mantissa)
- fixed (Int32* exponent_ptr = &exponent)
- {
- return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glQueryMatrixxOES")]
- public static
- unsafe Int32 QueryMatrixx(int* mantissa, Int32* exponent)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Establish data storage, format and dimensions of a renderbuffer object's image
- ///
- ///
- ///
- /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the internal format to use for the renderbuffer object's image.
- ///
- ///
- ///
- ///
- /// Specifies the width of the renderbuffer, in pixels.
- ///
- ///
- ///
- ///
- /// Specifies the height of the renderbuffer, in pixels.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRenderbufferStorageOES")]
- public static
- void RenderbufferStorage(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glRotatexOES")]
- public static
- void Rotatex(int angle, int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glSampleCoveragexOES")]
- public static
- void SampleCoveragex(int value, bool invert)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleCoveragexOES((int)value, (bool)invert);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glScalexOES")]
- public static
- void Scalex(int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glScalexOES((int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxOES")]
- public static
- void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxvOES")]
- public static
- void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexEnvxvOES")]
- public static
- unsafe void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfOES")]
- public static
- void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGenfOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfvOES")]
- public static
- void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenfvOES")]
- public static
- unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGeniOES")]
- public static
- void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGeniOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenivOES")]
- public static
- void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 1.1]
- /// Control the generation of texture coordinates
- ///
- ///
- ///
- /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
- ///
- ///
- ///
- ///
- /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenivOES")]
- public static
- unsafe void TexGen(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxOES")]
- public static
- void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxvOES")]
- public static
- void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexGenxvOES")]
- public static
- unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxOES")]
- public static
- void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxvOES")]
- public static
- void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (int* @params_ptr = @params)
- {
- Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTexParameterxvOES")]
- public static
- unsafe void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glTranslatexOES")]
- public static
- void Translatex(int x, int y, int z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTranslatexOES((int)x, (int)y, (int)z);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glUnmapBufferOES")]
- public static
- bool UnmapBuffer(OpenTK.Graphics.ES11.All target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.All)target);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")]
- public static
- void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")]
- public static
- void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")]
- public static
- void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")]
- public static
- void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glWeightPointerOES")]
- public static
- void WeightPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T3)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Qcom
- {
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")]
- public static
- void DisableDriverControl(Int32 driverControl)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glDisableDriverControlQCOM")]
- public static
- void DisableDriverControl(UInt32 driverControl)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")]
- public static
- void EnableDriverControl(Int32 driverControl)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glEnableDriverControlQCOM")]
- public static
- void EnableDriverControl(UInt32 driverControl)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- void GetDriverControl(Int32[] num, Int32 size, Int32[] driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* num_ptr = num)
- fixed (Int32* driverControls_ptr = driverControls)
- {
- Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- void GetDriverControl(Int32[] num, Int32 size, UInt32[] driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* num_ptr = num)
- fixed (UInt32* driverControls_ptr = driverControls)
- {
- Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- void GetDriverControl(ref Int32 num, Int32 size, ref Int32 driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* num_ptr = &num)
- fixed (Int32* driverControls_ptr = &driverControls)
- {
- Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- void GetDriverControl(ref Int32 num, Int32 size, ref UInt32 driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* num_ptr = &num)
- fixed (UInt32* driverControls_ptr = &driverControls)
- {
- Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- unsafe void GetDriverControl(Int32* num, Int32 size, Int32* driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlsQCOM")]
- public static
- unsafe void GetDriverControl(Int32* num, Int32 size, UInt32* driverControls)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- void GetDriverControlString(Int32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- void GetDriverControlString(Int32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, Int32* length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- void GetDriverControlString(UInt32 driverControl, Int32 bufSize, Int32[] length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- void GetDriverControlString(UInt32 driverControl, Int32 bufSize, ref Int32 length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (String)driverControlString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 1.1]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "1.1", Version = "1.1", EntryPoint = "glGetDriverControlStringQCOM")]
- public static
- unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (String)driverControlString);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- }
-}
diff --git a/Source/OpenTK/Graphics/ES11/ES11.cs b/Source/OpenTK/Graphics/ES11/ES11.cs
new file mode 100644
index 00000000..a5eb7e73
--- /dev/null
+++ b/Source/OpenTK/Graphics/ES11/ES11.cs
@@ -0,0 +1,23249 @@
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+
+
+
+namespace OpenTK.Graphics.ES11
+{
+ using System;
+ using System.Text;
+ using System.Runtime.InteropServices;
+ #pragma warning disable 3019
+ #pragma warning disable 1591
+ #pragma warning disable 1572
+ #pragma warning disable 1573
+
+ partial class GL
+ {
+
+ public static partial class Apple
+ {
+
+ /// [requires: APPLE_sync]
+ /// Block and wait for a sync object to become signaled
+ ///
+ ///
+ ///
+ /// The sync object whose status to wait on.
+ ///
+ ///
+ ///
+ ///
+ /// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
+ public static
+ OpenTK.Graphics.ES11.AppleSync ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Block and wait for a sync object to become signaled
+ ///
+ ///
+ ///
+ /// The sync object whose status to wait on.
+ ///
+ ///
+ ///
+ ///
+ /// A bitfield controlling the command flushing behavior. flags may be GL_SYNC_FLUSH_COMMANDS_BIT.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
+ public static
+ OpenTK.Graphics.ES11.AppleSync ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_copy_texture_levels]
+ [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
+ public static
+ void CopyTextureLevel(Int32 destinationTexture, Int32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_copy_texture_levels]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_copy_texture_levels", Version = "", EntryPoint = "glCopyTextureLevelsAPPLE")]
+ public static
+ void CopyTextureLevel(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Delete a sync object
+ ///
+ ///
+ ///
+ /// The sync object to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glDeleteSyncAPPLE")]
+ public static
+ void DeleteSync(IntPtr sync)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteSyncAPPLE((IntPtr)sync);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Create a new sync object and insert it into the GL command stream
+ ///
+ ///
+ ///
+ /// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
+ public static
+ IntPtr FenceSync(OpenTK.Graphics.ES11.AppleSync condition, Int32 flags)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.AppleSync)condition, (UInt32)flags);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Create a new sync object and insert it into the GL command stream
+ ///
+ ///
+ ///
+ /// Specifies the condition that must be met to set the sync object's state to signaled. condition must be GL_SYNC_GPU_COMMANDS_COMPLETE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and flags must be zero. flags is a placeholder for anticipated future extensions of fence sync object capabilities.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glFenceSyncAPPLE")]
+ public static
+ IntPtr FenceSync(OpenTK.Graphics.ES11.AppleSync condition, UInt32 flags)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.AppleSync)condition, (UInt32)flags);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_sync]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
+ public static
+ void GetInteger64(OpenTK.Graphics.ES11.AppleSync pname, [OutAttribute] Int64[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int64* @params_ptr = @params)
+ {
+ Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.AppleSync)pname, (Int64*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_sync]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
+ public static
+ void GetInteger64(OpenTK.Graphics.ES11.AppleSync pname, [OutAttribute] out Int64 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int64* @params_ptr = &@params)
+ {
+ Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.AppleSync)pname, (Int64*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_sync]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
+ public static
+ unsafe void GetInteger64(OpenTK.Graphics.ES11.AppleSync pname, [OutAttribute] Int64* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.AppleSync)pname, (Int64*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Query the properties of a sync object
+ ///
+ ///
+ ///
+ /// Specifies the sync object whose properties to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the sync object specified in sync.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the buffer whose address is given in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an variable to receive the number of integers placed in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the values of the queried parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
+ public static
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES11.AppleSync pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ fixed (Int32* values_ptr = values)
+ {
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.AppleSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Query the properties of a sync object
+ ///
+ ///
+ ///
+ /// Specifies the sync object whose properties to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the sync object specified in sync.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the buffer whose address is given in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an variable to receive the number of integers placed in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the values of the queried parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
+ public static
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES11.AppleSync pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ fixed (Int32* values_ptr = &values)
+ {
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.AppleSync)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ length = *length_ptr;
+ values = *values_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Query the properties of a sync object
+ ///
+ ///
+ ///
+ /// Specifies the sync object whose properties to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the sync object specified in sync.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the buffer whose address is given in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an variable to receive the number of integers placed in values.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the values of the queried parameter.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
+ public static
+ unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES11.AppleSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.AppleSync)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Determine if a name corresponds to a sync object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a sync object.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glIsSyncAPPLE")]
+ public static
+ bool IsSync(IntPtr sync)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsSyncAPPLE((IntPtr)sync);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_framebuffer_multisample]
+ /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of samples to be used for the renderbuffer object's storage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the internal format to use for the renderbuffer object's image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the renderbuffer, in pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the renderbuffer, in pixels.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
+ public static
+ void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.AppleFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ES11.AppleFramebufferMultisample internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES11.AppleFramebufferMultisample)target, (Int32)samples, (OpenTK.Graphics.ES11.AppleFramebufferMultisample)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: APPLE_framebuffer_multisample]
+ [AutoGenerated(Category = "APPLE_framebuffer_multisample", Version = "", EntryPoint = "glResolveMultisampleFramebufferAPPLE")]
+ public static
+ void ResolveMultisampleFramebuffer()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glResolveMultisampleFramebufferAPPLE();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Instruct the GL server to block until the specified sync object becomes signaled
+ ///
+ ///
+ ///
+ /// Specifies the sync object whose status to wait on.
+ ///
+ ///
+ ///
+ ///
+ /// A bitfield controlling the command flushing behavior. flags may be zero.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
+ ///
+ ///
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
+ public static
+ void WaitSync(IntPtr sync, Int32 flags, Int64 timeout)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: APPLE_sync]
+ /// Instruct the GL server to block until the specified sync object becomes signaled
+ ///
+ ///
+ ///
+ /// Specifies the sync object whose status to wait on.
+ ///
+ ///
+ ///
+ ///
+ /// A bitfield controlling the command flushing behavior. flags may be zero.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
+ public static
+ void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+
+ /// [requires: v1.0]
+ /// Select active texture unit
+ ///
+ ///
+ ///
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glActiveTexture")]
+ public static
+ void ActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glActiveTexture((OpenTK.Graphics.ES11.VersionEsCm10)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the alpha test function
+ ///
+ ///
+ ///
+ /// Specifies the alpha comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_ALWAYS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range [0,1], where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFunc")]
+ public static
+ void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glAlphaFunc((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glAlphaFuncx")]
+ public static
+ void AlphaFuncx(OpenTK.Graphics.ES11.VersionEsCm10 func, int @ref)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.VersionEsCm10)func, (int)@ref);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Bind a named buffer object
+ ///
+ ///
+ ///
+ /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of a buffer object.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")]
+ public static
+ void BindBuffer(OpenTK.Graphics.ES11.VersionEsCm10 target, Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindBuffer((OpenTK.Graphics.ES11.VersionEsCm10)target, (UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Bind a named buffer object
+ ///
+ ///
+ ///
+ /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of a buffer object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindBuffer")]
+ public static
+ void BindBuffer(OpenTK.Graphics.ES11.VersionEsCm10 target, UInt32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindBuffer((OpenTK.Graphics.ES11.VersionEsCm10)target, (UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Bind a named texture to a texturing target
+ ///
+ ///
+ ///
+ /// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of a texture.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")]
+ public static
+ void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Bind a named texture to a texturing target
+ ///
+ ///
+ ///
+ /// Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of a texture.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBindTexture")]
+ public static
+ void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify pixel arithmetic
+ ///
+ ///
+ ///
+ /// For glBlendFunci, specifies the index of the draw buffer for which to set the blend function.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBlendFunc")]
+ public static
+ void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendFunc((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Creates and initializes a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the buffer object's new data store.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")]
+ public static
+ void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.VersionEsCm10 usage)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBufferData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.VersionEsCm10)usage);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Creates and initializes a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the buffer object's new data store.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")]
+ public static
+ void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES11.VersionEsCm10 usage)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.VersionEsCm10)usage);
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Creates and initializes a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the buffer object's new data store.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")]
+ public static
+ void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES11.VersionEsCm10 usage)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.VersionEsCm10)usage);
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Creates and initializes a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the buffer object's new data store.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")]
+ public static
+ void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES11.VersionEsCm10 usage)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.VersionEsCm10)usage);
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Creates and initializes a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the buffer object's new data store.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferData")]
+ public static
+ void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES11.VersionEsCm10 usage)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES11.VersionEsCm10)usage);
+ data = (T2)data_ptr.Target;
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Updates a subset of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the data store region being replaced.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the new data that will be copied into the data store.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")]
+ public static
+ void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, IntPtr data)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBufferSubData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Updates a subset of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the data store region being replaced.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the new data that will be copied into the data store.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")]
+ public static
+ void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Updates a subset of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the data store region being replaced.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the new data that will be copied into the data store.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")]
+ public static
+ void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Updates a subset of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the data store region being replaced.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the new data that will be copied into the data store.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")]
+ public static
+ void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Updates a subset of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size in bytes of the data store region being replaced.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the new data that will be copied into the data store.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glBufferSubData")]
+ public static
+ void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glBufferSubData((OpenTK.Graphics.ES11.VersionEsCm10)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
+ data = (T3)data_ptr.Target;
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Clear buffers to preset values
+ ///
+ ///
+ ///
+ /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClear")]
+ public static
+ void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify clear values for the color buffers
+ ///
+ ///
+ ///
+ /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColor")]
+ public static
+ void ClearColor(Single red, Single green, Single blue, Single alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearColorx")]
+ public static
+ void ClearColorx(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the clear value for the depth buffer
+ ///
+ ///
+ ///
+ /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthf")]
+ public static
+ void ClearDepth(Single d)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearDepthf((Single)d);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearDepthx")]
+ public static
+ void ClearDepthx(int depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearDepthx((int)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the clear value for the stencil buffer
+ ///
+ ///
+ ///
+ /// Specifies the index used when the stencil buffer is cleared. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClearStencil")]
+ public static
+ void ClearStencil(Int32 s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearStencil((Int32)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Select active texture unit
+ ///
+ ///
+ ///
+ /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTURE, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. The initial value is GL_TEXTURE0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClientActiveTexture")]
+ public static
+ void ClientActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.VersionEsCm10)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 p, Single[] eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* eqn_ptr = eqn)
+ {
+ Delegates.glClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)p, (Single*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 p, ref Single eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* eqn_ptr = &eqn)
+ {
+ Delegates.glClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)p, (Single*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanef")]
+ public static
+ unsafe void ClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 p, Single* eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)p, (Single*)eqn);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, int[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = equation)
+ {
+ Delegates.glClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, ref int equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = &equation)
+ {
+ Delegates.glClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glClipPlanex")]
+ public static
+ unsafe void ClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, int* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the current color
+ ///
+ ///
+ ///
+ /// Specify new red, green, and blue values for the current color.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4f")]
+ public static
+ void Color4(Single red, Single green, Single blue, Single alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the current color
+ ///
+ ///
+ ///
+ /// Specify new red, green, and blue values for the current color.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a new alpha value for the current color. Included only in the four-argument glColor4 commands.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4ub")]
+ public static
+ void Color4(Byte red, Byte green, Byte blue, Byte alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColor4x")]
+ public static
+ void Color4x(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Enable and disable writing of frame buffer color components
+ ///
+ ///
+ ///
+ /// For glColorMaski, specifies the index of the draw buffer whose color mask to set.
+ ///
+ ///
+ ///
+ ///
+ /// Specify whether red, green, blue, and alpha are to be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components are written.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorMask")]
+ public static
+ void ColorMask(bool red, bool green, bool blue, bool alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of colors
+ ///
+ ///
+ ///
+ /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")]
+ public static
+ void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of colors
+ ///
+ ///
+ ///
+ /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")]
+ public static
+ void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of colors
+ ///
+ ///
+ ///
+ /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")]
+ public static
+ void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of colors
+ ///
+ ///
+ ///
+ /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")]
+ public static
+ void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of colors
+ ///
+ ///
+ ///
+ /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glColorPointer")]
+ public static
+ void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T3)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
+ public static
+ void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
+ public static
+ void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
+ public static
+ void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
+ public static
+ void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image. All implementations support 2D texture and cube map texture images that are at least 16384 texels high.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexImage2D")]
+ public static
+ void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ data = (T7)data_ptr.Target;
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
+ public static
+ void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
+ public static
+ void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
+ public static
+ void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
+ public static
+ void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage in a compressed format
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the compressed image data stored at address data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the compressed image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCompressedTexSubImage2D")]
+ public static
+ void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ data = (T8)data_ptr.Target;
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Copy pixels into a 2D texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_STENCIL_INDEX8, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image.
+ ///
+ ///
+ ///
+ ///
+ /// Must be 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexImage2D")]
+ public static
+ void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.VersionEsCm10)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Copy a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCopyTexSubImage2D")]
+ public static
+ void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify whether front- or back-facing facets can be culled
+ ///
+ ///
+ ///
+ /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glCullFace")]
+ public static
+ void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCullFace((OpenTK.Graphics.ES11.CullFaceMode)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ void DeleteBuffers(Int32 n, Int32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ void DeleteBuffers(Int32 n, ref Int32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ unsafe void DeleteBuffers(Int32 n, Int32* buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ void DeleteBuffers(Int32 n, UInt32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ void DeleteBuffers(Int32 n, ref UInt32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named buffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of buffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteBuffers")]
+ public static
+ unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, ref Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ unsafe void DeleteTextures(Int32 n, Int32* textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, UInt32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ void DeleteTextures(Int32 n, ref UInt32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Delete named textures
+ ///
+ ///
+ ///
+ /// Specifies the number of textures to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array of textures to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDeleteTextures")]
+ public static
+ unsafe void DeleteTextures(Int32 n, UInt32* textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the value used for depth buffer comparisons
+ ///
+ ///
+ ///
+ /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthFunc")]
+ public static
+ void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthFunc((OpenTK.Graphics.ES11.DepthFunction)func);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Enable or disable writing into the depth buffer
+ ///
+ ///
+ ///
+ /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthMask")]
+ public static
+ void DepthMask(bool flag)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthMask((bool)flag);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify mapping of depth values from normalized device coordinates to window coordinates
+ ///
+ ///
+ ///
+ /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangef")]
+ public static
+ void DepthRange(Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthRangef((Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDepthRangex")]
+ public static
+ void DepthRangex(int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthRangex((int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisable")]
+ public static
+ void Disable(OpenTK.Graphics.ES11.EnableCap cap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisable((OpenTK.Graphics.ES11.EnableCap)cap);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDisableClientState")]
+ public static
+ void DisableClientState(OpenTK.Graphics.ES11.EnableCap array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableClientState((OpenTK.Graphics.ES11.EnableCap)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the starting index in the enabled arrays.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of indices to be rendered.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawArrays")]
+ public static
+ void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of elements to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")]
+ public static
+ void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, IntPtr indices)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.VersionEsCm10)type, (IntPtr)indices);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of elements to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")]
+ public static
+ void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, [InAttribute, OutAttribute] T3[] indices)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.VersionEsCm10)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of elements to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")]
+ public static
+ void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, [InAttribute, OutAttribute] T3[,] indices)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.VersionEsCm10)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of elements to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")]
+ public static
+ void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, [InAttribute, OutAttribute] T3[,,] indices)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.VersionEsCm10)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Render primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of elements to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glDrawElements")]
+ public static
+ void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, [InAttribute, OutAttribute] ref T3 indices)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.VersionEsCm10)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
+ indices = (T3)indices_ptr.Target;
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Enable or disable server-side GL capabilities
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant indicating a GL capability.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnable")]
+ public static
+ void Enable(OpenTK.Graphics.ES11.EnableCap cap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnable((OpenTK.Graphics.ES11.EnableCap)cap);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Enable or disable client-side capability
+ ///
+ ///
+ ///
+ /// Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY, GL_EDGE_FLAG_ARRAY, GL_FOG_COORD_ARRAY, GL_INDEX_ARRAY, GL_NORMAL_ARRAY, GL_SECONDARY_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY, and GL_VERTEX_ARRAY are accepted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glEnableClientState")]
+ public static
+ void EnableClientState(OpenTK.Graphics.ES11.EnableCap array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableClientState((OpenTK.Graphics.ES11.EnableCap)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Block until all GL execution is complete
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFinish")]
+ public static
+ void Finish()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFinish();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Force execution of GL commands in finite time
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFlush")]
+ public static
+ void Flush()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFlush();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify fog parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogf")]
+ public static
+ void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogf((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify fog parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")]
+ public static
+ void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify fog parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued fog parameter. GL_FOG_MODE, GL_FOG_DENSITY, GL_FOG_START, GL_FOG_END, GL_FOG_INDEX, and GL_FOG_COORD_SRC are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogfv")]
+ public static
+ unsafe void Fog(OpenTK.Graphics.ES11.FogParameter pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogx")]
+ public static
+ void Fogx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogx((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")]
+ public static
+ void Fogx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glFogxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFogxv")]
+ public static
+ unsafe void Fogx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define front- and back-facing polygons
+ ///
+ ///
+ ///
+ /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrontFace")]
+ public static
+ void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFrontFace((OpenTK.Graphics.ES11.FrontFaceDirection)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix by a perspective matrix
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the left and right vertical clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the bottom and top horizontal clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the distances to the near and far depth clipping planes. Both distances must be positive.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumf")]
+ public static
+ void Frustum(Single l, Single r, Single b, Single t, Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFrustumf((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glFrustumx")]
+ public static
+ void Frustumx(int l, int r, int b, int t, int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFrustumx((int)l, (int)r, (int)b, (int)t, (int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ {
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
+ buffers = *buffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate buffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of buffer object names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated buffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenBuffers")]
+ public static
+ unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, [OutAttribute] Int32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, [OutAttribute] out Int32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, [OutAttribute] UInt32[] textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ void GenTextures(Int32 n, [OutAttribute] out UInt32 textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ {
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
+ textures = *textures_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Generate texture names
+ ///
+ ///
+ ///
+ /// Specifies the number of texture names to be generated.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated texture names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGenTextures")]
+ public static
+ unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenTextures((Int32)n, (UInt32*)textures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")]
+ public static
+ void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (bool* @params_ptr = @params)
+ {
+ Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")]
+ public static
+ void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out bool @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (bool* @params_ptr = &@params)
+ {
+ Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBooleanv")]
+ public static
+ unsafe void GetBoolean(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return parameters of a buffer object
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")]
+ public static
+ void GetBufferParameter(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return parameters of a buffer object
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")]
+ public static
+ void GetBufferParameter(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return parameters of a buffer object
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested parameter.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetBufferParameteriv")]
+ public static
+ unsafe void GetBufferParameter(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")]
+ public static
+ void GetClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] Single[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = equation)
+ {
+ Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)plane, (Single*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")]
+ public static
+ void GetClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] out Single equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = &equation)
+ {
+ Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)plane, (Single*)equation_ptr);
+ equation = *equation_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanef")]
+ public static
+ unsafe void GetClipPlane(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] Single* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.VersionEsCm10)plane, (Single*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")]
+ public static
+ void GetClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] int[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = equation)
+ {
+ Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")]
+ public static
+ void GetClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] out int equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = &equation)
+ {
+ Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation_ptr);
+ equation = *equation_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetClipPlanex")]
+ public static
+ unsafe void GetClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] int* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.VersionEsCm10)plane, (int*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return error information
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetError")]
+ public static
+ OpenTK.Graphics.ES11.ErrorCode GetError()
+ {
+ return Delegates.glGetError();
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")]
+ public static
+ void GetFixed(OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetFixedv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")]
+ public static
+ void GetFixed(OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetFixedv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFixedv")]
+ public static
+ unsafe void GetFixed(OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFixedv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")]
+ public static
+ void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")]
+ public static
+ void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetFloatv")]
+ public static
+ unsafe void GetFloat(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")]
+ public static
+ void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")]
+ public static
+ void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetIntegerv")]
+ public static
+ unsafe void GetInteger(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return light source parameter values
+ ///
+ ///
+ ///
+ /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")]
+ public static
+ void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return light source parameter values
+ ///
+ ///
+ ///
+ /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")]
+ public static
+ void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return light source parameter values
+ ///
+ ///
+ ///
+ /// Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT where ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a light source parameter for light. Accepted symbolic names are GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_POSITION, GL_SPOT_DIRECTION, GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightfv")]
+ public static
+ unsafe void GetLight(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")]
+ public static
+ void GetLightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetLightxv((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")]
+ public static
+ void GetLightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetLightxv((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetLightxv")]
+ public static
+ unsafe void GetLightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetLightxv((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return material parameters
+ ///
+ ///
+ ///
+ /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")]
+ public static
+ void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return material parameters
+ ///
+ ///
+ ///
+ /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")]
+ public static
+ void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return material parameters
+ ///
+ ///
+ ///
+ /// Specifies which of the two materials is being queried. GL_FRONT or GL_BACK are accepted, representing the front and back materials, respectively.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the material parameter to return. GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, GL_SHININESS, and GL_COLOR_INDEXES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialfv")]
+ public static
+ unsafe void GetMaterial(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")]
+ public static
+ void GetMaterialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")]
+ public static
+ void GetMaterialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetMaterialxv")]
+ public static
+ unsafe void GetMaterialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")]
+ public static
+ void GetPixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, [OutAttribute] int[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* values_ptr = values)
+ {
+ Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")]
+ public static
+ void GetPixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, [OutAttribute] out int values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* values_ptr = &values)
+ {
+ Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values_ptr);
+ values = *values_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetPixelMapxv")]
+ public static
+ unsafe void GetPixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, [OutAttribute] int* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the address of the specified pointer
+ ///
+ ///
+ ///
+ /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value specified by pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")]
+ public static
+ void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the address of the specified pointer
+ ///
+ ///
+ ///
+ /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value specified by pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")]
+ public static
+ void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the address of the specified pointer
+ ///
+ ///
+ ///
+ /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value specified by pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")]
+ public static
+ void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the address of the specified pointer
+ ///
+ ///
+ ///
+ /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value specified by pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")]
+ public static
+ void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] T1[,,] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return the address of the specified pointer
+ ///
+ ///
+ ///
+ /// Specifies the array or buffer pointer to be returned. Symbolic constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER, GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER, GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pointer value specified by pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetPointerv")]
+ public static
+ void GetPointer(OpenTK.Graphics.ES11.GetPointervPName pname, [InAttribute, OutAttribute] ref T1 @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ @params = (T1)@params_ptr.Target;
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return a string describing the current GL connection
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
+ ///
+ ///
+ ///
+ ///
+ /// For glGetStringi, specifies the index of the string to return.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetString")]
+ public static
+ String GetString(OpenTK.Graphics.ES11.StringName name)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES11.StringName)name)); }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")]
+ public static
+ void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")]
+ public static
+ void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvfv")]
+ public static
+ unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")]
+ public static
+ void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")]
+ public static
+ void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL, or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE, GL_TEXTURE_ENV_COLOR, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnviv")]
+ public static
+ unsafe void GetTexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")]
+ public static
+ void GetTexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")]
+ public static
+ void GetTexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexEnvxv")]
+ public static
+ unsafe void GetTexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")]
+ public static
+ void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")]
+ public static
+ void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterfv")]
+ public static
+ unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")]
+ public static
+ void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")]
+ public static
+ void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Return texture parameter values
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, and GL_TEXTURE_CUBE_MAP_ARRAY are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a texture parameter. GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_IMMUTABLE_FORMAT, GL_TEXTURE_IMMUTABLE_LEVELS, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_VIEW_MIN_LAYER, GL_TEXTURE_VIEW_MIN_LEVEL, GL_TEXTURE_VIEW_NUM_LAYERS, GL_TEXTURE_VIEW_NUM_LEVELS, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the texture parameters.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameteriv")]
+ public static
+ unsafe void GetTexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")]
+ public static
+ void GetTexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")]
+ public static
+ void GetTexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glGetTexParameterxv")]
+ public static
+ unsafe void GetTexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify implementation-specific hints
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glHint")]
+ public static
+ void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glHint((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Determine if a name corresponds to a buffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a buffer object.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")]
+ public static
+ bool IsBuffer(Int32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsBuffer((UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Determine if a name corresponds to a buffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a buffer object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsBuffer")]
+ public static
+ bool IsBuffer(UInt32 buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsBuffer((UInt32)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Test whether a capability is enabled
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant indicating a GL capability.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the index of the capability.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsEnabled")]
+ public static
+ bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsEnabled((OpenTK.Graphics.ES11.EnableCap)cap);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Determine if a name corresponds to a texture
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a texture.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")]
+ public static
+ bool IsTexture(Int32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsTexture((UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Determine if a name corresponds to a texture
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a texture.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glIsTexture")]
+ public static
+ bool IsTexture(UInt32 texture)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsTexture((UInt32)texture);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set light source parameters
+ ///
+ ///
+ ///
+ /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter pname of light source light will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightf")]
+ public static
+ void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightf((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set light source parameters
+ ///
+ ///
+ ///
+ /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter pname of light source light will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")]
+ public static
+ void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set light source parameters
+ ///
+ ///
+ ///
+ /// Specifies a light. The number of lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form GL_LIGHT , where i ranges from 0 to the value of GL_MAX_LIGHTS - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued light source parameter for light. GL_SPOT_EXPONENT, GL_SPOT_CUTOFF, GL_CONSTANT_ATTENUATION, GL_LINEAR_ATTENUATION, and GL_QUADRATIC_ATTENUATION are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter pname of light source light will be set to.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightfv")]
+ public static
+ unsafe void Light(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the lighting model parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that param will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelf")]
+ public static
+ void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelf((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the lighting model parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that param will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")]
+ public static
+ void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the lighting model parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued lighting model parameter. GL_LIGHT_MODEL_LOCAL_VIEWER, GL_LIGHT_MODEL_COLOR_CONTROL, and GL_LIGHT_MODEL_TWO_SIDE are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that param will be set to.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelfv")]
+ public static
+ unsafe void LightModel(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelx")]
+ public static
+ void LightModelx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelx((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")]
+ public static
+ void LightModelx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glLightModelxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightModelxv")]
+ public static
+ unsafe void LightModelx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightx")]
+ public static
+ void Lightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightx((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")]
+ public static
+ void Lightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glLightxv((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLightxv")]
+ public static
+ unsafe void Lightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightxv((OpenTK.Graphics.ES11.VersionEsCm10)light, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the width of rasterized lines
+ ///
+ ///
+ ///
+ /// Specifies the width of rasterized lines. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidth")]
+ public static
+ void LineWidth(Single width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLineWidth((Single)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLineWidthx")]
+ public static
+ void LineWidthx(int width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLineWidthx((int)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Replace the current matrix with the identity matrix
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadIdentity")]
+ public static
+ void LoadIdentity()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadIdentity();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Replace the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
+ public static
+ void LoadMatrix(Single[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glLoadMatrixf((Single*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Replace the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
+ public static
+ void LoadMatrix(ref Single m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glLoadMatrixf((Single*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Replace the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixf")]
+ public static
+ unsafe void LoadMatrix(Single* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadMatrixf((Single*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
+ public static
+ void LoadMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glLoadMatrixx((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
+ public static
+ void LoadMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glLoadMatrixx((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLoadMatrixx")]
+ public static
+ unsafe void LoadMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadMatrixx((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a logical pixel operation for rendering
+ ///
+ ///
+ ///
+ /// Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: GL_CLEAR, GL_SET, GL_COPY, GL_COPY_INVERTED, GL_NOOP, GL_INVERT, GL_AND, GL_NAND, GL_OR, GL_NOR, GL_XOR, GL_EQUIV, GL_AND_REVERSE, GL_AND_INVERTED, GL_OR_REVERSE, and GL_OR_INVERTED. The initial value is GL_COPY.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glLogicOp")]
+ public static
+ void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLogicOp((OpenTK.Graphics.ES11.LogicOp)opcode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify material parameters for the lighting model
+ ///
+ ///
+ ///
+ /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter GL_SHININESS will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialf")]
+ public static
+ void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialf((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify material parameters for the lighting model
+ ///
+ ///
+ ///
+ /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter GL_SHININESS will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")]
+ public static
+ void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify material parameters for the lighting model
+ ///
+ ///
+ ///
+ /// Specifies which face or faces are being updated. Must be one of GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the single-valued material parameter of the face or faces that is being updated. Must be GL_SHININESS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that parameter GL_SHININESS will be set to.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialfv")]
+ public static
+ unsafe void Material(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialx")]
+ public static
+ void Materialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialx((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")]
+ public static
+ void Materialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glMaterialxv((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMaterialxv")]
+ public static
+ unsafe void Materialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialxv((OpenTK.Graphics.ES11.VersionEsCm10)face, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify which matrix is the current matrix
+ ///
+ ///
+ ///
+ /// Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMatrixMode")]
+ public static
+ void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMatrixMode((OpenTK.Graphics.ES11.MatrixMode)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4f")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.VersionEsCm10 target, Single s, Single t, Single r, Single q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.VersionEsCm10)target, (Single)s, (Single)t, (Single)r, (Single)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultiTexCoord4x")]
+ public static
+ void MultiTexCoord4x(OpenTK.Graphics.ES11.VersionEsCm10 texture, int s, int t, int r, int q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.VersionEsCm10)texture, (int)s, (int)t, (int)r, (int)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")]
+ public static
+ void MultMatrix(Single[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* m_ptr = m)
+ {
+ Delegates.glMultMatrixf((Single*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")]
+ public static
+ void MultMatrix(ref Single m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* m_ptr = &m)
+ {
+ Delegates.glMultMatrixf((Single*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix with the specified matrix
+ ///
+ ///
+ ///
+ /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixf")]
+ public static
+ unsafe void MultMatrix(Single* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultMatrixf((Single*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")]
+ public static
+ void MultMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glMultMatrixx((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")]
+ public static
+ void MultMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glMultMatrixx((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glMultMatrixx")]
+ public static
+ unsafe void MultMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultMatrixx((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the current normal vector
+ ///
+ ///
+ ///
+ /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1).
+ ///
+ ///
+ ///
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3f")]
+ public static
+ void Normal3(Single nx, Single ny, Single nz)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormal3x")]
+ public static
+ void Normal3x(int nx, int ny, int nz)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glNormal3x((int)nx, (int)ny, (int)nz);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of normals
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")]
+ public static
+ void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of normals
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")]
+ public static
+ void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of normals
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")]
+ public static
+ void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of normals
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")]
+ public static
+ void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of normals
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glNormalPointer")]
+ public static
+ void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T2)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix with an orthographic matrix
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the left and right vertical clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the bottom and top horizontal clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthof")]
+ public static
+ void Ortho(Single l, Single r, Single b, Single t, Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glOrthof((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glOrthox")]
+ public static
+ void Orthox(int l, int r, int b, int t, int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glOrthox((int)l, (int)r, (int)b, (int)t, (int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")]
+ public static
+ void PixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, int[] values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* values_ptr = values)
+ {
+ Delegates.glPixelMapx((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")]
+ public static
+ void PixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, ref int values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* values_ptr = &values)
+ {
+ Delegates.glPixelMapx((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelMapx")]
+ public static
+ unsafe void PixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, int* values)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPixelMapx((OpenTK.Graphics.ES11.OesFixedPoint)map, (Int32)size, (int*)values);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set pixel storage modes
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname is set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPixelStorei")]
+ public static
+ void PixelStore(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPixelStorei((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelStorex")]
+ public static
+ void PixelStorex(OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPixelStorex((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify point parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterf")]
+ public static
+ void PointParameter(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterf((OpenTK.Graphics.ES11.VersionEsCm10)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify point parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")]
+ public static
+ void PointParameter(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glPointParameterfv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify point parameters
+ ///
+ ///
+ ///
+ /// Specifies a single-valued point parameter. GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value that pname will be set to.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterfv")]
+ public static
+ unsafe void PointParameter(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterfv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterx")]
+ public static
+ void PointParameterx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterx((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")]
+ public static
+ void PointParameterx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glPointParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointParameterxv")]
+ public static
+ unsafe void PointParameterx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify the diameter of rasterized points
+ ///
+ ///
+ ///
+ /// Specifies the diameter of rasterized points. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSize")]
+ public static
+ void PointSize(Single size)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointSize((Single)size);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPointSizex")]
+ public static
+ void PointSizex(int size)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointSizex((int)size);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the scale and units used to calculate depth values
+ ///
+ ///
+ ///
+ /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffset")]
+ public static
+ void PolygonOffset(Single factor, Single units)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPolygonOffset((Single)factor, (Single)units);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPolygonOffsetx")]
+ public static
+ void PolygonOffsetx(int factor, int units)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPolygonOffsetx((int)factor, (int)units);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPopMatrix")]
+ public static
+ void PopMatrix()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPopMatrix();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Push and pop the current matrix stack
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glPushMatrix")]
+ public static
+ void PushMatrix()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPushMatrix();
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Read a block of pixels from the frame buffer
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pixel data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")]
+ public static
+ void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Read a block of pixels from the frame buffer
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pixel data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")]
+ public static
+ void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[] pixels)
+ where T6 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Read a block of pixels from the frame buffer
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pixel data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")]
+ public static
+ void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,] pixels)
+ where T6 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Read a block of pixels from the frame buffer
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pixel data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")]
+ public static
+ void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels)
+ where T6 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Read a block of pixels from the frame buffer
+ ///
+ ///
+ ///
+ /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the pixel data.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glReadPixels")]
+ public static
+ void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T6 pixels)
+ where T6 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ pixels = (T6)pixels_ptr.Target;
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix by a rotation matrix
+ ///
+ ///
+ ///
+ /// Specifies the angle of rotation, in degrees.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the x, y, and z coordinates of a vector, respectively.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatef")]
+ public static
+ void Rotate(Single angle, Single x, Single y, Single z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glRotatex")]
+ public static
+ void Rotatex(int angle, int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify multisample coverage parameters
+ ///
+ ///
+ ///
+ /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
+ ///
+ ///
+ ///
+ ///
+ /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoverage")]
+ public static
+ void SampleCoverage(Single value, bool invert)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSampleCoverage((Single)value, (bool)invert);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glSampleCoveragex")]
+ public static
+ void SampleCoveragex(int value, bool invert)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSampleCoveragex((int)value, (bool)invert);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix by a general scaling matrix
+ ///
+ ///
+ ///
+ /// Specify scale factors along the x, y, and z axes, respectively.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalef")]
+ public static
+ void Scale(Single x, Single y, Single z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glScalef((Single)x, (Single)y, (Single)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScalex")]
+ public static
+ void Scalex(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glScalex((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define the scissor box
+ ///
+ ///
+ ///
+ /// Specify the lower left corner of the scissor box. Initially (0, 0).
+ ///
+ ///
+ ///
+ ///
+ /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glScissor")]
+ public static
+ void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Select flat or smooth shading
+ ///
+ ///
+ ///
+ /// Specifies a symbolic value representing a shading technique. Accepted values are GL_FLAT and GL_SMOOTH. The initial value is GL_SMOOTH.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glShadeModel")]
+ public static
+ void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glShadeModel((OpenTK.Graphics.ES11.ShadingModel)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set front and back function and reference value for stencil testing
+ ///
+ ///
+ ///
+ /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")]
+ public static
+ void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set front and back function and reference value for stencil testing
+ ///
+ ///
+ ///
+ /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilFunc")]
+ public static
+ void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Control the front and back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")]
+ public static
+ void StencilMask(Int32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMask((UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Control the front and back writing of individual bits in the stencil planes
+ ///
+ ///
+ ///
+ /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilMask")]
+ public static
+ void StencilMask(UInt32 mask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilMask((UInt32)mask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set front and back stencil test actions
+ ///
+ ///
+ ///
+ /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glStencilOp")]
+ public static
+ void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStencilOp((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
+ public static
+ void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
+ public static
+ void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
+ public static
+ void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
+ public static
+ void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexCoordPointer")]
+ public static
+ void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T3)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvf")]
+ public static
+ void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvf((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")]
+ public static
+ void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvfv")]
+ public static
+ unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvi")]
+ public static
+ void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvi((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")]
+ public static
+ void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture environment parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture environment. May be GL_TEXTURE_ENV, GL_TEXTURE_FILTER_CONTROL or GL_POINT_SPRITE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture environment parameter. May be either GL_TEXTURE_ENV_MODE, GL_TEXTURE_LOD_BIAS, GL_COMBINE_RGB, GL_COMBINE_ALPHA, GL_SRC0_RGB, GL_SRC1_RGB, GL_SRC2_RGB, GL_SRC0_ALPHA, GL_SRC1_ALPHA, GL_SRC2_ALPHA, GL_OPERAND0_RGB, GL_OPERAND1_RGB, GL_OPERAND2_RGB, GL_OPERAND0_ALPHA, GL_OPERAND1_ALPHA, GL_OPERAND2_ALPHA, GL_RGB_SCALE, GL_ALPHA_SCALE, or GL_COORD_REPLACE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single symbolic constant, one of GL_ADD, GL_ADD_SIGNED, GL_INTERPOLATE, GL_MODULATE, GL_DECAL, GL_BLEND, GL_REPLACE, GL_SUBTRACT, GL_COMBINE, GL_TEXTURE, GL_CONSTANT, GL_PRIMARY_COLOR, GL_PREVIOUS, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, a single boolean value for the point sprite texture coordinate replacement, a single floating-point value for the texture level-of-detail bias, or 1.0, 2.0, or 4.0 when specifying the GL_RGB_SCALE or GL_ALPHA_SCALE.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnviv")]
+ public static
+ unsafe void TexEnv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvx")]
+ public static
+ void TexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvx((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")]
+ public static
+ void TexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glTexEnvxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexEnvxv")]
+ public static
+ unsafe void TexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")]
+ public static
+ void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")]
+ public static
+ void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")]
+ public static
+ void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")]
+ public static
+ void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture image
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of color components in the texture. Must be one of base internal formats given in Table 1, one of the sized internal formats given in Table 2, or one of the compressed internal formats given in Table 3, below.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
+ ///
+ ///
+ ///
+ ///
+ /// This value must be 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_RED_INTEGER, GL_RG_INTEGER, GL_RGB_INTEGER, GL_BGR_INTEGER, GL_RGBA_INTEGER, GL_BGRA_INTEGER, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexImage2D")]
+ public static
+ void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ pixels = (T8)pixels_ptr.Target;
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterf")]
+ public static
+ void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterf((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")]
+ public static
+ void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterfv")]
+ public static
+ unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteri")]
+ public static
+ void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameteri((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")]
+ public static
+ void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set texture parameters
+ ///
+ ///
+ ///
+ /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_DEPTH_STENCIL_TEXTURE_MODE, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the value of pname.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameteriv")]
+ public static
+ unsafe void TexParameter(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterx")]
+ public static
+ void TexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterx((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")]
+ public static
+ void TexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glTexParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexParameterxv")]
+ public static
+ unsafe void TexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterxv((OpenTK.Graphics.ES11.VersionEsCm10)target, (OpenTK.Graphics.ES11.VersionEsCm10)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
+ public static
+ void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
+ public static
+ void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
+ public static
+ void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
+ public static
+ void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Specify a two-dimensional texture subimage
+ ///
+ ///
+ ///
+ /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_TEXTURE_1D_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the x direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a texel offset in the y direction within the texture array.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture subimage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_DEPTH_COMPONENT, and GL_STENCIL_INDEX.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the image data in memory.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTexSubImage2D")]
+ public static
+ void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
+ where T8 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
+ pixels = (T8)pixels_ptr.Target;
+ }
+ finally
+ {
+ pixels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Multiply the current matrix by a translation matrix
+ ///
+ ///
+ ///
+ /// Specify the x, y, and z coordinates of a translation vector.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatef")]
+ public static
+ void Translate(Single x, Single y, Single z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTranslatef((Single)x, (Single)y, (Single)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: v1.0]
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glTranslatex")]
+ public static
+ void Translatex(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTranslatex((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of vertex data
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")]
+ public static
+ void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of vertex data
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")]
+ public static
+ void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of vertex data
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")]
+ public static
+ void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of vertex data
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")]
+ public static
+ void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Define an array of vertex data
+ ///
+ ///
+ ///
+ /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glVertexPointer")]
+ public static
+ void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T3)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: v1.0]
+ /// Set the viewport
+ ///
+ ///
+ ///
+ /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).
+ ///
+ ///
+ ///
+ ///
+ /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
+ ///
+ ///
+ [AutoGenerated(Category = "VERSION_ES_CM_1_0", Version = "1.0", EntryPoint = "glViewport")]
+ public static
+ void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ public static partial class Ext
+ {
+
+ /// [requires: EXT_blend_minmax]
+ /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
+ ///
+ ///
+ ///
+ /// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation.
+ ///
+ ///
+ ///
+ ///
+ /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_blend_minmax", Version = "", EntryPoint = "glBlendEquationEXT")]
+ public static
+ void BlendEquation(OpenTK.Graphics.ES11.ExtBlendMinmax mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.ExtBlendMinmax)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_discard_framebuffer]
+ [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")]
+ public static
+ void DiscardFramebuffer(OpenTK.Graphics.ES11.ExtDiscardFramebuffer target, Int32 numAttachments, OpenTK.Graphics.ES11.ExtDiscardFramebuffer[] attachments)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (OpenTK.Graphics.ES11.ExtDiscardFramebuffer* attachments_ptr = attachments)
+ {
+ Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.ExtDiscardFramebuffer)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.ExtDiscardFramebuffer*)attachments_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_discard_framebuffer]
+ [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")]
+ public static
+ void DiscardFramebuffer(OpenTK.Graphics.ES11.ExtDiscardFramebuffer target, Int32 numAttachments, ref OpenTK.Graphics.ES11.ExtDiscardFramebuffer attachments)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (OpenTK.Graphics.ES11.ExtDiscardFramebuffer* attachments_ptr = &attachments)
+ {
+ Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.ExtDiscardFramebuffer)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.ExtDiscardFramebuffer*)attachments_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_discard_framebuffer]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_discard_framebuffer", Version = "", EntryPoint = "glDiscardFramebufferEXT")]
+ public static
+ unsafe void DiscardFramebuffer(OpenTK.Graphics.ES11.ExtDiscardFramebuffer target, Int32 numAttachments, OpenTK.Graphics.ES11.ExtDiscardFramebuffer* attachments)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.ExtDiscardFramebuffer)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.ExtDiscardFramebuffer*)attachments);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_map_buffer_range]
+ /// Indicate modifications to a range of a mapped buffer
+ ///
+ ///
+ ///
+ /// Specifies the target of the flush operation. target must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the start of the buffer subrange, in basic machine units.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the length of the buffer subrange, in basic machine units.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glFlushMappedBufferRangeEXT")]
+ public static
+ void FlushMappedBufferRange(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES11.ExtMapBufferRange)target, (IntPtr)offset, (IntPtr)length);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_multisampled_render_to_texture]
+ [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")]
+ public static
+ void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture textarget, Int32 texture, Int32 level, Int32 samples)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)target, (OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)attachment, (OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)textarget, (UInt32)texture, (Int32)level, (Int32)samples);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_multisampled_render_to_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleEXT")]
+ public static
+ void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)target, (OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)attachment, (OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)textarget, (UInt32)texture, (Int32)level, (Int32)samples);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetGraphicsResetStatusEXT")]
+ public static
+ OpenTK.Graphics.ES11.ExtRobustness GetGraphicsResetStatus()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glGetGraphicsResetStatusEXT();
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformfvEXT")]
+ public static
+ unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ unsafe void GetnUniform(Int32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glGetnUniformivEXT")]
+ public static
+ unsafe void GetnUniform(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_map_buffer_range]
+ /// Map a section of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target buffer is bound.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a the starting offset within the buffer of the range to be mapped.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a length of the range to be mapped.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a combination of access flags indicating the desired access to the range.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
+ public static
+ IntPtr MapBufferRange(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length, Int32 access)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.ExtMapBufferRange)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_map_buffer_range]
+ /// Map a section of a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target buffer is bound.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a the starting offset within the buffer of the range to be mapped.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a length of the range to be mapped.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a combination of access flags indicating the desired access to the range.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_map_buffer_range", Version = "", EntryPoint = "glMapBufferRangeEXT")]
+ public static
+ IntPtr MapBufferRange(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.ExtMapBufferRange)target, (IntPtr)offset, (IntPtr)length, (UInt32)access);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of starting indices in the enabled arrays.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the number of indices to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the first and count
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
+ public static
+ void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] first, Int32[] count, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* first_ptr = first)
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of starting indices in the enabled arrays.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the number of indices to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the first and count
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
+ public static
+ void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 first, ref Int32 count, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* first_ptr = &first)
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives from array data
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of starting indices in the enabled arrays.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the number of indices to be rendered.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the first and count
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawArraysEXT")]
+ public static
+ unsafe void MultiDrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, IntPtr indices, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32[] count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ indices = (T3)indices_ptr.Target;
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, IntPtr indices, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices, (Int32)primcount);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* count_ptr = &count)
+ {
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ indices = (T3)indices_ptr.Target;
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, IntPtr indices, Int32 primcount)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices, (Int32)primcount);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multi_draw_arrays]
+ /// Render multiple sets of primitives by specifying indices of array data elements
+ ///
+ ///
+ ///
+ /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Points to an array of the elements counts.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a pointer to the location where the indices are stored.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the size of the count and indices arrays.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_multi_draw_arrays", Version = "", EntryPoint = "glMultiDrawElementsEXT")]
+ public static
+ unsafe void MultiDrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.ExtMultiDrawArrays)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
+ indices = (T3)indices_ptr.Target;
+ }
+ finally
+ {
+ indices_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")]
+ public static
+ void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [OutAttribute] IntPtr data)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.ExtRobustness)format, (OpenTK.Graphics.ES11.ExtRobustness)type, (Int32)bufSize, (IntPtr)data);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")]
+ public static
+ void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.ExtRobustness)format, (OpenTK.Graphics.ES11.ExtRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")]
+ public static
+ void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.ExtRobustness)format, (OpenTK.Graphics.ES11.ExtRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")]
+ public static
+ void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [InAttribute, OutAttribute] T7[,,] data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.ExtRobustness)format, (OpenTK.Graphics.ES11.ExtRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_robustness]
+ [AutoGenerated(Category = "EXT_robustness", Version = "", EntryPoint = "glReadnPixelsEXT")]
+ public static
+ void ReadnPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [InAttribute, OutAttribute] ref T7 data)
+ where T7 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.ExtRobustness)format, (OpenTK.Graphics.ES11.ExtRobustness)type, (Int32)bufSize, (IntPtr)data_ptr.AddrOfPinnedObject());
+ data = (T7)data_ptr.Target;
+ }
+ finally
+ {
+ data_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_multisampled_render_to_texture]
+ /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of samples to be used for the renderbuffer object's storage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the internal format to use for the renderbuffer object's image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the renderbuffer, in pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the renderbuffer, in pixels.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleEXT")]
+ public static
+ void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)target, (Int32)samples, (OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_texture_storage]
+ /// Simultaneously specify storage for all levels of a one-dimensional texture
+ ///
+ ///
+ ///
+ /// Specify the target of the operation. target must be either GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the number of texture levels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the sized internal format to be used to store texture image data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture, in texels.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage1DEXT")]
+ public static
+ void TexStorage1D(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_texture_storage]
+ /// Simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture
+ ///
+ ///
+ ///
+ /// Specify the target of the operation. target must be one of GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, or GL_PROXY_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the number of texture levels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the sized internal format to be used to store texture image data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture, in texels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture, in texels.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage2DEXT")]
+ public static
+ void TexStorage2D(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: EXT_texture_storage]
+ /// Simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture
+ ///
+ ///
+ ///
+ /// Specify the target of the operation. target must be one of GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY, GL_PROXY_TEXTURE_2D_ARRAY, GL_TEXTURE_CUBE_ARRAY, or GL_PROXY_TEXTURE_CUBE_ARRAY.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the number of texture levels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the sized internal format to be used to store texture image data.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the texture, in texels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the texture, in texels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the depth of the texture, in texels.
+ ///
+ ///
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")]
+ public static
+ void TexStorage3D(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")]
+ public static
+ void TextureStorage1D(Int32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage1DEXT")]
+ public static
+ void TextureStorage1D(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")]
+ public static
+ void TextureStorage2D(Int32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage2DEXT")]
+ public static
+ void TextureStorage2D(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")]
+ public static
+ void TextureStorage3D(Int32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: EXT_texture_storage]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTextureStorage3DEXT")]
+ public static
+ void TextureStorage3D(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.ExtTextureStorage)target, (Int32)levels, (OpenTK.Graphics.ES11.ExtTextureStorage)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+ public static partial class Img
+ {
+
+ /// [requires: IMG_user_clip_plane]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.ImgUserClipPlane p, Single[] eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* eqn_ptr = eqn)
+ {
+ Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (Single*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: IMG_user_clip_plane]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.ImgUserClipPlane p, ref Single eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* eqn_ptr = &eqn)
+ {
+ Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (Single*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: IMG_user_clip_plane]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanefIMG")]
+ public static
+ unsafe void ClipPlane(OpenTK.Graphics.ES11.ImgUserClipPlane p, Single* eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (Single*)eqn);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: IMG_user_clip_plane]
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.ImgUserClipPlane p, int[] eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* eqn_ptr = eqn)
+ {
+ Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (int*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: IMG_user_clip_plane]
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.ImgUserClipPlane p, ref int eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* eqn_ptr = &eqn)
+ {
+ Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (int*)eqn_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: IMG_user_clip_plane]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "IMG_user_clip_plane", Version = "", EntryPoint = "glClipPlanexIMG")]
+ public static
+ unsafe void ClipPlanex(OpenTK.Graphics.ES11.ImgUserClipPlane p, int* eqn)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.ImgUserClipPlane)p, (int*)eqn);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: IMG_multisampled_render_to_texture]
+ [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")]
+ public static
+ void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture textarget, Int32 texture, Int32 level, Int32 samples)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)target, (OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)attachment, (OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)textarget, (UInt32)texture, (Int32)level, (Int32)samples);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: IMG_multisampled_render_to_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glFramebufferTexture2DMultisampleIMG")]
+ public static
+ void FramebufferTexture2DMultisample(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)target, (OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)attachment, (OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)textarget, (UInt32)texture, (Int32)level, (Int32)samples);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: IMG_multisampled_render_to_texture]
+ /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the number of samples to be used for the renderbuffer object's storage.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the internal format to use for the renderbuffer object's image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the renderbuffer, in pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the renderbuffer, in pixels.
+ ///
+ ///
+ [AutoGenerated(Category = "IMG_multisampled_render_to_texture", Version = "", EntryPoint = "glRenderbufferStorageMultisampleIMG")]
+ public static
+ void RenderbufferStorageMultisample(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)target, (Int32)samples, (OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+ public static partial class NV
+ {
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, ref Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ unsafe void DeleteFences(Int32 n, Int32* fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, UInt32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ void DeleteFences(Int32 n, ref UInt32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glDeleteFencesNV")]
+ public static
+ unsafe void DeleteFences(Int32 n, UInt32* fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")]
+ public static
+ void FinishFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFinishFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glFinishFenceNV")]
+ public static
+ void FinishFence(UInt32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFinishFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, [OutAttribute] Int32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, [OutAttribute] out Int32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, [OutAttribute] UInt32[] fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ void GenFences(Int32 n, [OutAttribute] out UInt32 fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* fences_ptr = &fences)
+ {
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
+ fences = *fences_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGenFencesNV")]
+ public static
+ unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(Int32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(UInt32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ void GetFence(UInt32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glGetFenceivNV")]
+ public static
+ unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")]
+ public static
+ bool IsFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glIsFenceNV")]
+ public static
+ bool IsFence(UInt32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")]
+ public static
+ void SetFence(Int32 fence, OpenTK.Graphics.ES11.NvFence condition)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)condition);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glSetFenceNV")]
+ public static
+ void SetFence(UInt32 fence, OpenTK.Graphics.ES11.NvFence condition)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.NvFence)condition);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")]
+ public static
+ bool TestFence(Int32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glTestFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: NV_fence]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "NV_fence", Version = "", EntryPoint = "glTestFenceNV")]
+ public static
+ bool TestFence(UInt32 fence)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glTestFenceNV((UInt32)fence);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+ public static partial class Oes
+ {
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAccumxOES")]
+ public static
+ void Accumx(OpenTK.Graphics.ES11.OesFixedPoint op, int value)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glAccumxOES((OpenTK.Graphics.ES11.OesFixedPoint)op, (int)value);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glAlphaFuncxOES")]
+ public static
+ void AlphaFuncx(OpenTK.Graphics.ES11.OesFixedPoint func, int @ref)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.OesFixedPoint)func, (int)@ref);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Bind a framebuffer to a framebuffer target
+ ///
+ ///
+ ///
+ /// Specifies the framebuffer target of the binding operation.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of the framebuffer object to bind.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")]
+ public static
+ void BindFramebuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Bind a framebuffer to a framebuffer target
+ ///
+ ///
+ ///
+ /// Specifies the framebuffer target of the binding operation.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of the framebuffer object to bind.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindFramebufferOES")]
+ public static
+ void BindFramebuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Bind a renderbuffer to a renderbuffer target
+ ///
+ ///
+ ///
+ /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of the renderbuffer object to bind.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")]
+ public static
+ void BindRenderbuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Bind a renderbuffer to a renderbuffer target
+ ///
+ ///
+ ///
+ /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of the renderbuffer object to bind.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glBindRenderbufferOES")]
+ public static
+ void BindRenderbuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Bind a vertex array object
+ ///
+ ///
+ ///
+ /// Specifies the name of the vertex array to bind.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")]
+ public static
+ void BindVertexArray(Int32 array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindVertexArrayOES((UInt32)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Bind a vertex array object
+ ///
+ ///
+ ///
+ /// Specifies the name of the vertex array to bind.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glBindVertexArrayOES")]
+ public static
+ void BindVertexArray(UInt32 array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBindVertexArrayOES((UInt32)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")]
+ public static
+ void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte[] bitmap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* bitmap_ptr = bitmap)
+ {
+ Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")]
+ public static
+ void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, ref Byte bitmap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* bitmap_ptr = &bitmap)
+ {
+ Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBitmapxOES")]
+ public static
+ unsafe void Bitmapx(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glBlendColorxOES")]
+ public static
+ void BlendColorx(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_blend_subtract]
+ /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
+ ///
+ ///
+ ///
+ /// for glBlendEquationi, specifies the index of the draw buffer for which to set the blend equation.
+ ///
+ ///
+ ///
+ ///
+ /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_blend_subtract", Version = "", EntryPoint = "glBlendEquationOES")]
+ public static
+ void BlendEquation(OpenTK.Graphics.ES11.OesBlendSubtract mode)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.OesBlendSubtract)mode);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_blend_equation_separate]
+ /// Set the RGB blend equation and the alpha blend equation separately
+ ///
+ ///
+ ///
+ /// for glBlendEquationSeparatei, specifies the index of the draw buffer for which to set the blend equations.
+ ///
+ ///
+ ///
+ ///
+ /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
+ ///
+ ///
+ ///
+ ///
+ /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_blend_equation_separate", Version = "", EntryPoint = "glBlendEquationSeparateOES")]
+ public static
+ void BlendEquationSeparate(OpenTK.Graphics.ES11.OesBlendEquationSeparate modeRGB, OpenTK.Graphics.ES11.OesBlendEquationSeparate modeAlpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.OesBlendEquationSeparate)modeRGB, (OpenTK.Graphics.ES11.OesBlendEquationSeparate)modeAlpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_blend_func_separate]
+ /// Specify pixel arithmetic for RGB and alpha components separately
+ ///
+ ///
+ ///
+ /// For glBlendFuncSeparatei, specifies the index of the draw buffer for which to set the blend functions.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
+ ///
+ ///
+ ///
+ ///
+ /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE.
+ ///
+ ///
+ ///
+ ///
+ /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_blend_func_separate", Version = "", EntryPoint = "glBlendFuncSeparateOES")]
+ public static
+ void BlendFuncSeparate(OpenTK.Graphics.ES11.OesBlendFuncSeparate srcRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate srcAlpha, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstAlpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.OesBlendFuncSeparate)srcRGB, (OpenTK.Graphics.ES11.OesBlendFuncSeparate)dstRGB, (OpenTK.Graphics.ES11.OesBlendFuncSeparate)srcAlpha, (OpenTK.Graphics.ES11.OesBlendFuncSeparate)dstAlpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Check the completeness status of a framebuffer
+ ///
+ ///
+ ///
+ /// Specify the target of the framebuffer completeness check.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glCheckFramebufferStatusOES")]
+ public static
+ OpenTK.Graphics.ES11.OesFramebufferObject CheckFramebufferStatus(OpenTK.Graphics.ES11.OesFramebufferObject target)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.OesFramebufferObject)target);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearAccumxOES")]
+ public static
+ void ClearAccumx(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearColorxOES")]
+ public static
+ void ClearColorx(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Specify the clear value for the depth buffer
+ ///
+ ///
+ ///
+ /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClearDepthfOES")]
+ public static
+ void ClearDepth(Single depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearDepthfOES((Single)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClearDepthxOES")]
+ public static
+ void ClearDepthx(int depth)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClearDepthxOES((int)depth);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, Single[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = equation)
+ {
+ Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")]
+ public static
+ void ClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, ref Single equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = &equation)
+ {
+ Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Specify a plane against which all geometry is clipped
+ ///
+ ///
+ ///
+ /// Specifies which clipping plane is being positioned. Symbolic names of the form GL_CLIP_PLANEi, where i is an integer between 0 and GL_MAX_CLIP_PLANES - 1, are accepted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array of four double-precision floating-point values. These values are interpreted as a plane equation.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glClipPlanefOES")]
+ public static
+ unsafe void ClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, Single* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, int[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = equation)
+ {
+ Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")]
+ public static
+ void ClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, ref int equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = &equation)
+ {
+ Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glClipPlanexOES")]
+ public static
+ unsafe void ClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, int* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xOES")]
+ public static
+ void Color3x(int red, int green, int blue)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor3xOES((int)red, (int)green, (int)blue);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")]
+ public static
+ void Color3x(int[] components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* components_ptr = components)
+ {
+ Delegates.glColor3xvOES((int*)components_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")]
+ public static
+ void Color3x(ref int components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* components_ptr = &components)
+ {
+ Delegates.glColor3xvOES((int*)components_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor3xvOES")]
+ public static
+ unsafe void Color3x(int* components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor3xvOES((int*)components);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xOES")]
+ public static
+ void Color4x(int red, int green, int blue, int alpha)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")]
+ public static
+ void Color4x(int[] components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* components_ptr = components)
+ {
+ Delegates.glColor4xvOES((int*)components_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")]
+ public static
+ void Color4x(ref int components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* components_ptr = &components)
+ {
+ Delegates.glColor4xvOES((int*)components_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glColor4xvOES")]
+ public static
+ unsafe void Color4x(int* components)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glColor4xvOES((int*)components);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxOES")]
+ public static
+ void ConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glConvolutionParameterxOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")]
+ public static
+ void ConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glConvolutionParameterxvOES")]
+ public static
+ unsafe void ConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")]
+ public static
+ void CurrentPaletteMatrix(Int32 matrixpaletteindex)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glCurrentPaletteMatrixOES")]
+ public static
+ void CurrentPaletteMatrix(UInt32 matrixpaletteindex)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete framebuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n framebuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteFramebuffersOES")]
+ public static
+ unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Delete renderbuffer objects
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// A pointer to an array containing n renderbuffer objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glDeleteRenderbuffersOES")]
+ public static
+ unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ void DeleteVertexArrays(Int32 n, Int32[] arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = arrays)
+ {
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ void DeleteVertexArrays(Int32 n, ref Int32 arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = &arrays)
+ {
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ unsafe void DeleteVertexArrays(Int32 n, Int32* arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ void DeleteVertexArrays(Int32 n, UInt32[] arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = arrays)
+ {
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ void DeleteVertexArrays(Int32 n, ref UInt32 arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = &arrays)
+ {
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Delete vertex array objects
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array objects to be deleted.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array containing the n names of the objects to be deleted.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glDeleteVertexArraysOES")]
+ public static
+ unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Specify mapping of depth values from normalized device coordinates to window coordinates
+ ///
+ ///
+ ///
+ /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glDepthRangefOES")]
+ public static
+ void DepthRange(Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthRangefOES((Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glDepthRangexOES")]
+ public static
+ void DepthRangex(int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDepthRangexOES((int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfOES")]
+ public static
+ void DrawTex(Single x, Single y, Single z, Single width, Single height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")]
+ public static
+ void DrawTex(Single[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* coords_ptr = coords)
+ {
+ Delegates.glDrawTexfvOES((Single*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")]
+ public static
+ void DrawTex(ref Single coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* coords_ptr = &coords)
+ {
+ Delegates.glDrawTexfvOES((Single*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexfvOES")]
+ public static
+ unsafe void DrawTex(Single* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexfvOES((Single*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexiOES")]
+ public static
+ void DrawTex(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")]
+ public static
+ void DrawTex(Int32[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* coords_ptr = coords)
+ {
+ Delegates.glDrawTexivOES((Int32*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")]
+ public static
+ void DrawTex(ref Int32 coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* coords_ptr = &coords)
+ {
+ Delegates.glDrawTexivOES((Int32*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexivOES")]
+ public static
+ unsafe void DrawTex(Int32* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexivOES((Int32*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsOES")]
+ public static
+ void DrawTex(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")]
+ public static
+ void DrawTex(Int16[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int16* coords_ptr = coords)
+ {
+ Delegates.glDrawTexsvOES((Int16*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")]
+ public static
+ void DrawTex(ref Int16 coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int16* coords_ptr = &coords)
+ {
+ Delegates.glDrawTexsvOES((Int16*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexsvOES")]
+ public static
+ unsafe void DrawTex(Int16* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexsvOES((Int16*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxOES")]
+ public static
+ void DrawTexx(int x, int y, int z, int width, int height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")]
+ public static
+ void DrawTexx(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glDrawTexxvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")]
+ public static
+ void DrawTexx(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glDrawTexxvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_draw_texture]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_draw_texture", Version = "", EntryPoint = "glDrawTexxvOES")]
+ public static
+ unsafe void DrawTexx(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDrawTexxvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_EGL_image]
+ [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetRenderbufferStorageOES")]
+ public static
+ void EGLImageTargetRenderbufferStorage(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.OesEglImage)target, (IntPtr)image);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_EGL_image]
+ [AutoGenerated(Category = "OES_EGL_image", Version = "", EntryPoint = "glEGLImageTargetTexture2DOES")]
+ public static
+ void EGLImageTargetTexture2D(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.OesEglImage)target, (IntPtr)image);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xOES")]
+ public static
+ void EvalCoord1x(int u)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEvalCoord1xOES((int)u);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord1xvOES")]
+ public static
+ unsafe void EvalCoord1x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEvalCoord1xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xOES")]
+ public static
+ void EvalCoord2x(int u, int v)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEvalCoord2xOES((int)u, (int)v);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")]
+ public static
+ void EvalCoord2x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glEvalCoord2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")]
+ public static
+ void EvalCoord2x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glEvalCoord2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glEvalCoord2xvOES")]
+ public static
+ unsafe void EvalCoord2x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEvalCoord2xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")]
+ public static
+ void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.OesFixedPoint type, int[] buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* buffer_ptr = buffer)
+ {
+ Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.OesFixedPoint)type, (int*)buffer_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")]
+ public static
+ void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.OesFixedPoint type, ref int buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* buffer_ptr = &buffer)
+ {
+ Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.OesFixedPoint)type, (int*)buffer_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFeedbackBufferxOES")]
+ public static
+ unsafe void FeedbackBufferx(Int32 n, OpenTK.Graphics.ES11.OesFixedPoint type, int* buffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.OesFixedPoint)type, (int*)buffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxOES")]
+ public static
+ void Fogx(OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogxOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")]
+ public static
+ void Fogx(OpenTK.Graphics.ES11.OesFixedPoint pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glFogxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFogxvOES")]
+ public static
+ unsafe void Fogx(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFogxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the attachment point of the framebuffer.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")]
+ public static
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject renderbuffertarget, Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)renderbuffertarget, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the attachment point of the framebuffer.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferRenderbufferOES")]
+ public static
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject renderbuffertarget, UInt32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)renderbuffertarget, (UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_framebuffer_object]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")]
+ public static
+ void FramebufferTexture2D(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject textarget, Int32 texture, Int32 level)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)textarget, (UInt32)texture, (Int32)level);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_framebuffer_object]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glFramebufferTexture2DOES")]
+ public static
+ void FramebufferTexture2D(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject textarget, UInt32 texture, Int32 level)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)textarget, (UInt32)texture, (Int32)level);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Multiply the current matrix by a perspective matrix
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the left and right vertical clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the bottom and top horizontal clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the distances to the near and far depth clipping planes. Both distances must be positive.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glFrustumfOES")]
+ public static
+ void Frustum(Single l, Single r, Single b, Single t, Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glFrustumxOES")]
+ public static
+ void Frustumx(int l, int r, int b, int t, int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate mipmaps for a specified texture target
+ ///
+ ///
+ ///
+ /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenerateMipmapOES")]
+ public static
+ void GenerateMipmap(OpenTK.Graphics.ES11.OesFramebufferObject target)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.OesFramebufferObject)target);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = &framebuffers)
+ {
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate framebuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of framebuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated framebuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenFramebuffersOES")]
+ public static
+ unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = &renderbuffers)
+ {
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Generate renderbuffer object names
+ ///
+ ///
+ ///
+ /// Specifies the number of renderbuffer object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated renderbuffer object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGenRenderbuffersOES")]
+ public static
+ unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = arrays)
+ {
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* arrays_ptr = &arrays)
+ {
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ arrays = *arrays_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = arrays)
+ {
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* arrays_ptr = &arrays)
+ {
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays_ptr);
+ arrays = *arrays_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Generate vertex array object names
+ ///
+ ///
+ ///
+ /// Specifies the number of vertex array object names to generate.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies an array in which the generated vertex array object names are stored.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glGenVertexArraysOES")]
+ public static
+ unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
+ public static
+ void GetBufferPointer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [OutAttribute] IntPtr @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)pname, (IntPtr)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
+ public static
+ void GetBufferPointer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [InAttribute, OutAttribute] T2[] @params)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
+ public static
+ void GetBufferPointer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [InAttribute, OutAttribute] T2[,] @params)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
+ public static
+ void GetBufferPointer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [InAttribute, OutAttribute] T2[,,] @params)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glGetBufferPointervOES")]
+ public static
+ void GetBufferPointer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [InAttribute, OutAttribute] ref T2 @params)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ @params = (T2)@params_ptr.Target;
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")]
+ public static
+ void GetClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, [OutAttribute] Single[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = equation)
+ {
+ Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")]
+ public static
+ void GetClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, [OutAttribute] out Single equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* equation_ptr = &equation)
+ {
+ Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation_ptr);
+ equation = *equation_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Return the coefficients of the specified clipping plane
+ ///
+ ///
+ ///
+ /// Specifies a clipping plane. The number of clipping planes depends on the implementation, but at least six clipping planes are supported. They are identified by symbolic names of the form GL_CLIP_PLANE where i ranges from 0 to the value of GL_MAX_CLIP_PLANES - 1.
+ ///
+ ///
+ ///
+ ///
+ /// Returns four double-precision values that are the coefficients of the plane equation of plane in eye coordinates. The initial value is (0, 0, 0, 0).
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glGetClipPlanefOES")]
+ public static
+ unsafe void GetClipPlane(OpenTK.Graphics.ES11.OesSinglePrecision plane, [OutAttribute] Single* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.OesSinglePrecision)plane, (Single*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")]
+ public static
+ void GetClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, [OutAttribute] int[] equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = equation)
+ {
+ Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")]
+ public static
+ void GetClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, [OutAttribute] out int equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* equation_ptr = &equation)
+ {
+ Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation_ptr);
+ equation = *equation_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetClipPlanexOES")]
+ public static
+ unsafe void GetClipPlanex(OpenTK.Graphics.ES11.OesFixedPoint plane, [OutAttribute] int* equation)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.OesFixedPoint)plane, (int*)equation);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")]
+ public static
+ void GetConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")]
+ public static
+ void GetConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetConvolutionParameterxvOES")]
+ public static
+ unsafe void GetConvolutionParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")]
+ public static
+ void GetFixed(OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")]
+ public static
+ void GetFixed(OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetFixedvOES")]
+ public static
+ unsafe void GetFixed(OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about attachments of a bound framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the attachment within target
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter of attachment to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of a variable receive the value of pname for attachment.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
+ public static
+ void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about attachments of a bound framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the attachment within target
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter of attachment to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of a variable receive the value of pname for attachment.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
+ public static
+ void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about attachments of a bound framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the attachment within target
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter of attachment to query.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of a variable receive the value of pname for attachment.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetFramebufferAttachmentParameterivOES")]
+ public static
+ unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)attachment, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")]
+ public static
+ void GetHistogramParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")]
+ public static
+ void GetHistogramParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetHistogramParameterxvOES")]
+ public static
+ unsafe void GetHistogramParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")]
+ public static
+ void GetLightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetLightxOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")]
+ public static
+ void GetLightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetLightxOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetLightxOES")]
+ public static
+ unsafe void GetLightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetLightxOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")]
+ public static
+ void GetMapx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint query, [OutAttribute] int[] v)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* v_ptr = v)
+ {
+ Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)query, (int*)v_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")]
+ public static
+ void GetMapx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint query, [OutAttribute] out int v)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* v_ptr = &v)
+ {
+ Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)query, (int*)v_ptr);
+ v = *v_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMapxvOES")]
+ public static
+ unsafe void GetMapx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint query, [OutAttribute] int* v)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)query, (int*)v);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxOES")]
+ public static
+ void GetMaterialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetMaterialxOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")]
+ public static
+ void GetMaterialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetMaterialxvOES")]
+ public static
+ unsafe void GetMaterialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about a bound renderbuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the value of the queried parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")]
+ public static
+ void GetRenderbufferParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about a bound renderbuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the value of the queried parameter.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")]
+ public static
+ void GetRenderbufferParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Retrieve information about a bound renderbuffer object
+ ///
+ ///
+ ///
+ /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the address of an array to receive the value of the queried parameter.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glGetRenderbufferParameterivOES")]
+ public static
+ unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")]
+ public static
+ void GetTexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")]
+ public static
+ void GetTexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexEnvxvOES")]
+ public static
+ unsafe void GetTexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")]
+ public static
+ void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")]
+ public static
+ void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] out Single @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenfvOES")]
+ public static
+ unsafe void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")]
+ public static
+ void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")]
+ public static
+ void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Return texture coordinate generation parameters
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the value(s) to be returned. Must be either GL_TEXTURE_GEN_MODE or the name of one of the texture generation plane equations: GL_OBJECT_PLANE or GL_EYE_PLANE.
+ ///
+ ///
+ ///
+ ///
+ /// Returns the requested data.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenivOES")]
+ public static
+ unsafe void GetTexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")]
+ public static
+ void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")]
+ public static
+ void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glGetTexGenxvOES")]
+ public static
+ unsafe void GetTexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")]
+ public static
+ void GetTexLevelParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, Int32 level, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")]
+ public static
+ void GetTexLevelParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, Int32 level, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexLevelParameterxvOES")]
+ public static
+ unsafe void GetTexLevelParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, Int32 level, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")]
+ public static
+ void GetTexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")]
+ public static
+ void GetTexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] out int @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = &@params)
+ {
+ Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glGetTexParameterxvOES")]
+ public static
+ unsafe void GetTexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxOES")]
+ public static
+ void Indexx(int component)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glIndexxOES((int)component);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glIndexxvOES")]
+ public static
+ unsafe void Indexx(int* component)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glIndexxvOES((int*)component);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Determine if a name corresponds to a framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a framebuffer object.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")]
+ public static
+ bool IsFramebuffer(Int32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFramebufferOES((UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Determine if a name corresponds to a framebuffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a framebuffer object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsFramebufferOES")]
+ public static
+ bool IsFramebuffer(UInt32 framebuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsFramebufferOES((UInt32)framebuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Determine if a name corresponds to a renderbuffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a renderbuffer object.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")]
+ public static
+ bool IsRenderbuffer(Int32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsRenderbufferOES((UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Determine if a name corresponds to a renderbuffer object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a renderbuffer object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glIsRenderbufferOES")]
+ public static
+ bool IsRenderbuffer(UInt32 renderbuffer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsRenderbufferOES((UInt32)renderbuffer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Determine if a name corresponds to a vertex array object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a vertex array object.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")]
+ public static
+ bool IsVertexArray(Int32 array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsVertexArrayOES((UInt32)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_vertex_array_object]
+ /// Determine if a name corresponds to a vertex array object
+ ///
+ ///
+ ///
+ /// Specifies a value that may be the name of a vertex array object.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_vertex_array_object", Version = "", EntryPoint = "glIsVertexArrayOES")]
+ public static
+ bool IsVertexArray(UInt32 array)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glIsVertexArrayOES((UInt32)array);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxOES")]
+ public static
+ void LightModelx(OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelxOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")]
+ public static
+ void LightModelx(OpenTK.Graphics.ES11.OesFixedPoint pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightModelxvOES")]
+ public static
+ unsafe void LightModelx(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxOES")]
+ public static
+ void Lightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightxOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")]
+ public static
+ void Lightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glLightxvOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLightxvOES")]
+ public static
+ unsafe void Lightx(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLightxvOES((OpenTK.Graphics.ES11.OesFixedPoint)light, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLineWidthxOES")]
+ public static
+ void LineWidthx(int width)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLineWidthxOES((int)width);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")]
+ public static
+ void LoadMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glLoadMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")]
+ public static
+ void LoadMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glLoadMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadMatrixxOES")]
+ public static
+ unsafe void LoadMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadMatrixxOES((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glLoadPaletteFromModelViewMatrixOES")]
+ public static
+ void LoadPaletteFromModelViewMatrix()
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadPaletteFromModelViewMatrixOES();
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")]
+ public static
+ void LoadTransposeMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glLoadTransposeMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")]
+ public static
+ void LoadTransposeMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glLoadTransposeMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glLoadTransposeMatrixxOES")]
+ public static
+ unsafe void LoadTransposeMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glLoadTransposeMatrixxOES((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap1xOES")]
+ public static
+ void Map1x(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMap1xOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMap2xOES")]
+ public static
+ void Map2x(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMap2xOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_mapbuffer]
+ /// Map a buffer object's data store
+ ///
+ ///
+ ///
+ /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ATOMIC_COUNTER_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_DRAW_INDIRECT_BUFFER, GL_DISPATCH_INDIRECT_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_QUERY_BUFFER, GL_SHADER_STORAGE_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER or GL_UNIFORM_BUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the access policy, indicating whether it will be possible to read from, write to, or both read from and write to the buffer object's mapped data store. The symbolic constant must be GL_READ_ONLY, GL_WRITE_ONLY, or GL_READ_WRITE.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glMapBufferOES")]
+ public static
+ IntPtr MapBuffer(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer access)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.OesMapbuffer)target, (OpenTK.Graphics.ES11.OesMapbuffer)access);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid1xOES")]
+ public static
+ void MapGrid1x(Int32 n, int u1, int u2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMapGrid2xOES")]
+ public static
+ void MapGrid2x(Int32 n, int u1, int u2, int v1, int v2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxOES")]
+ public static
+ void Materialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialxOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")]
+ public static
+ void Materialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int[] param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* param_ptr = param)
+ {
+ Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMaterialxvOES")]
+ public static
+ unsafe void Materialx(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int* param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.OesFixedPoint)face, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")]
+ public static
+ void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")]
+ public static
+ void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")]
+ public static
+ void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")]
+ public static
+ void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glMatrixIndexPointerOES")]
+ public static
+ void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T3)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")]
+ public static
+ void MultiTexCoord1(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bOES")]
+ public static
+ void MultiTexCoord1(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")]
+ public static
+ unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord1bvOES")]
+ public static
+ unsafe void MultiTexCoord1(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xOES")]
+ public static
+ void MultiTexCoord1x(OpenTK.Graphics.ES11.OesFixedPoint texture, int s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord1xvOES")]
+ public static
+ unsafe void MultiTexCoord1x(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte s, Byte t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord2bvOES")]
+ public static
+ unsafe void MultiTexCoord2(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xOES")]
+ public static
+ void MultiTexCoord2x(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int)s, (int)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")]
+ public static
+ void MultiTexCoord2x(OpenTK.Graphics.ES11.OesFixedPoint texture, int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")]
+ public static
+ void MultiTexCoord2x(OpenTK.Graphics.ES11.OesFixedPoint texture, ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord2xvOES")]
+ public static
+ unsafe void MultiTexCoord2x(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte s, Byte t, Byte r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord3bvOES")]
+ public static
+ unsafe void MultiTexCoord3(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xOES")]
+ public static
+ void MultiTexCoord3x(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int)s, (int)t, (int)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")]
+ public static
+ void MultiTexCoord3x(OpenTK.Graphics.ES11.OesFixedPoint texture, int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")]
+ public static
+ void MultiTexCoord3x(OpenTK.Graphics.ES11.OesFixedPoint texture, ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord3xvOES")]
+ public static
+ unsafe void MultiTexCoord3x(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte s, Byte t, Byte r, Byte q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value.
+ ///
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glMultiTexCoord4bvOES")]
+ public static
+ unsafe void MultiTexCoord4(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.OesByteCoordinates)texture, (SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xOES")]
+ public static
+ void MultiTexCoord4x(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r, int q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int)s, (int)t, (int)r, (int)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")]
+ public static
+ void MultiTexCoord4x(OpenTK.Graphics.ES11.OesFixedPoint texture, int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")]
+ public static
+ void MultiTexCoord4x(OpenTK.Graphics.ES11.OesFixedPoint texture, ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultiTexCoord4xvOES")]
+ public static
+ unsafe void MultiTexCoord4x(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.OesFixedPoint)texture, (int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")]
+ public static
+ void MultMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glMultMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")]
+ public static
+ void MultMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glMultMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultMatrixxOES")]
+ public static
+ unsafe void MultMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultMatrixxOES((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")]
+ public static
+ void MultTransposeMatrixx(int[] m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = m)
+ {
+ Delegates.glMultTransposeMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")]
+ public static
+ void MultTransposeMatrixx(ref int m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* m_ptr = &m)
+ {
+ Delegates.glMultTransposeMatrixxOES((int*)m_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glMultTransposeMatrixxOES")]
+ public static
+ unsafe void MultTransposeMatrixx(int* m)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glMultTransposeMatrixxOES((int*)m);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xOES")]
+ public static
+ void Normal3x(int nx, int ny, int nz)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")]
+ public static
+ void Normal3x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glNormal3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")]
+ public static
+ void Normal3x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glNormal3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glNormal3xvOES")]
+ public static
+ unsafe void Normal3x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glNormal3xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_single_precision]
+ /// Multiply the current matrix with an orthographic matrix
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the left and right vertical clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the coordinates for the bottom and top horizontal clipping planes.
+ ///
+ ///
+ ///
+ ///
+ /// Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_single_precision", Version = "", EntryPoint = "glOrthofOES")]
+ public static
+ void Ortho(Single l, Single r, Single b, Single t, Single n, Single f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glOrthoxOES")]
+ public static
+ void Orthox(int l, int r, int b, int t, int n, int f)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPassThroughxOES")]
+ public static
+ void PassThroughx(int token)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPassThroughxOES((int)token);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelTransferxOES")]
+ public static
+ void PixelTransferx(OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPixelTransferxOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPixelZoomxOES")]
+ public static
+ void PixelZoomx(int xfactor, int yfactor)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxOES")]
+ public static
+ void PointParameterx(OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")]
+ public static
+ void PointParameterx(OpenTK.Graphics.ES11.OesFixedPoint pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointParameterxvOES")]
+ public static
+ unsafe void PointParameterx(OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_point_size_array]
+ [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")]
+ public static
+ void PointSizePointer(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.OesPointSizeArray)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_point_size_array]
+ [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")]
+ public static
+ void PointSizePointer(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, [InAttribute, OutAttribute] T2[] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.OesPointSizeArray)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_point_size_array]
+ [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")]
+ public static
+ void PointSizePointer(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, [InAttribute, OutAttribute] T2[,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.OesPointSizeArray)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_point_size_array]
+ [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")]
+ public static
+ void PointSizePointer(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, [InAttribute, OutAttribute] T2[,,] pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.OesPointSizeArray)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_point_size_array]
+ [AutoGenerated(Category = "OES_point_size_array", Version = "", EntryPoint = "glPointSizePointerOES")]
+ public static
+ void PointSizePointer(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, [InAttribute, OutAttribute] ref T2 pointer)
+ where T2 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.OesPointSizeArray)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T2)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPointSizexOES")]
+ public static
+ void PointSizex(int size)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPointSizexOES((int)size);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPolygonOffsetxOES")]
+ public static
+ void PolygonOffsetx(int factor, int units)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPolygonOffsetxOES((int)factor, (int)units);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ void PrioritizeTexturesx(Int32 n, Int32[] textures, int[] priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (int* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ void PrioritizeTexturesx(Int32 n, ref Int32 textures, ref int priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (int* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ unsafe void PrioritizeTexturesx(Int32 n, Int32* textures, int* priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ void PrioritizeTexturesx(Int32 n, UInt32[] textures, int[] priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (int* priorities_ptr = priorities)
+ {
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ void PrioritizeTexturesx(Int32 n, ref UInt32 textures, ref int priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (int* priorities_ptr = &priorities)
+ {
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures_ptr, (int*)priorities_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glPrioritizeTexturesxOES")]
+ public static
+ unsafe void PrioritizeTexturesx(Int32 n, UInt32* textures, int* priorities)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_query_matrix]
+ [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")]
+ public static
+ Int32 QueryMatrixx([OutAttribute] int[] mantissa, [OutAttribute] Int32[] exponent)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* mantissa_ptr = mantissa)
+ fixed (Int32* exponent_ptr = exponent)
+ {
+ return Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_query_matrix]
+ [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")]
+ public static
+ Int32 QueryMatrixx([OutAttribute] out int mantissa, [OutAttribute] out Int32 exponent)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* mantissa_ptr = &mantissa)
+ fixed (Int32* exponent_ptr = &exponent)
+ {
+ Int32 retval = Delegates.glQueryMatrixxOES((int*)mantissa_ptr, (Int32*)exponent_ptr);
+ mantissa = *mantissa_ptr;
+ exponent = *exponent_ptr;
+ return retval;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_query_matrix]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_query_matrix", Version = "", EntryPoint = "glQueryMatrixxOES")]
+ public static
+ unsafe Int32 QueryMatrixx([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xOES")]
+ public static
+ void RasterPos2x(int x, int y)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos2xOES((int)x, (int)y);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")]
+ public static
+ void RasterPos2x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glRasterPos2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")]
+ public static
+ void RasterPos2x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glRasterPos2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos2xvOES")]
+ public static
+ unsafe void RasterPos2x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos2xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xOES")]
+ public static
+ void RasterPos3x(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos3xOES((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")]
+ public static
+ void RasterPos3x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glRasterPos3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")]
+ public static
+ void RasterPos3x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glRasterPos3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos3xvOES")]
+ public static
+ unsafe void RasterPos3x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos3xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xOES")]
+ public static
+ void RasterPos4x(int x, int y, int z, int w)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")]
+ public static
+ void RasterPos4x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glRasterPos4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")]
+ public static
+ void RasterPos4x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glRasterPos4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRasterPos4xvOES")]
+ public static
+ unsafe void RasterPos4x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRasterPos4xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxOES")]
+ public static
+ void Rectx(int x1, int y1, int x2, int y2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")]
+ public static
+ void Rectx(int[] v1, int[] v2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* v1_ptr = v1)
+ fixed (int* v2_ptr = v2)
+ {
+ Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")]
+ public static
+ void Rectx(ref int v1, ref int v2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* v1_ptr = &v1)
+ fixed (int* v2_ptr = &v2)
+ {
+ Delegates.glRectxvOES((int*)v1_ptr, (int*)v2_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRectxvOES")]
+ public static
+ unsafe void Rectx(int* v1, int* v2)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRectxvOES((int*)v1, (int*)v2);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_framebuffer_object]
+ /// Establish data storage, format and dimensions of a renderbuffer object's image
+ ///
+ ///
+ ///
+ /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the internal format to use for the renderbuffer object's image.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the width of the renderbuffer, in pixels.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the height of the renderbuffer, in pixels.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_framebuffer_object", Version = "", EntryPoint = "glRenderbufferStorageOES")]
+ public static
+ void RenderbufferStorage(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject internalformat, Int32 width, Int32 height)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.OesFramebufferObject)target, (OpenTK.Graphics.ES11.OesFramebufferObject)internalformat, (Int32)width, (Int32)height);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glRotatexOES")]
+ public static
+ void Rotatex(int angle, int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_fixed_point]
+ /// Specify multisample coverage parameters
+ ///
+ ///
+ ///
+ /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
+ ///
+ ///
+ ///
+ ///
+ /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoverageOES")]
+ public static
+ void SampleCoverage(int value, bool invert)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSampleCoverageOES((int)value, (bool)invert);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glSampleCoveragexOES")]
+ public static
+ void SampleCoveragex(int value, bool invert)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glSampleCoveragexOES((int)value, (bool)invert);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glScalexOES")]
+ public static
+ void Scalex(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glScalexOES((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")]
+ public static
+ void TexCoord1(Byte s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1bOES((SByte)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bOES")]
+ public static
+ void TexCoord1(SByte s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1bOES((SByte)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")]
+ public static
+ unsafe void TexCoord1(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord1bvOES")]
+ public static
+ unsafe void TexCoord1(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xOES")]
+ public static
+ void TexCoord1x(int s)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1xOES((int)s);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord1xvOES")]
+ public static
+ unsafe void TexCoord1x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord1xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")]
+ public static
+ void TexCoord2(Byte s, Byte t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2bOES((SByte)s, (SByte)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bOES")]
+ public static
+ void TexCoord2(SByte s, SByte t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2bOES((SByte)s, (SByte)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ void TexCoord2(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ void TexCoord2(ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ unsafe void TexCoord2(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ void TexCoord2(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ void TexCoord2(ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord2bvOES")]
+ public static
+ unsafe void TexCoord2(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xOES")]
+ public static
+ void TexCoord2x(int s, int t)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2xOES((int)s, (int)t);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")]
+ public static
+ void TexCoord2x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glTexCoord2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")]
+ public static
+ void TexCoord2x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord2xvOES")]
+ public static
+ unsafe void TexCoord2x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord2xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")]
+ public static
+ void TexCoord3(Byte s, Byte t, Byte r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bOES")]
+ public static
+ void TexCoord3(SByte s, SByte t, SByte r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ void TexCoord3(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ void TexCoord3(ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ unsafe void TexCoord3(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ void TexCoord3(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ void TexCoord3(ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord3bvOES")]
+ public static
+ unsafe void TexCoord3(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xOES")]
+ public static
+ void TexCoord3x(int s, int t, int r)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3xOES((int)s, (int)t, (int)r);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")]
+ public static
+ void TexCoord3x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glTexCoord3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")]
+ public static
+ void TexCoord3x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord3xvOES")]
+ public static
+ unsafe void TexCoord3x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord3xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")]
+ public static
+ void TexCoord4(Byte s, Byte t, Byte r, Byte q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bOES")]
+ public static
+ void TexCoord4(SByte s, SByte t, SByte r, SByte q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ void TexCoord4(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ void TexCoord4(ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ unsafe void TexCoord4(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ void TexCoord4(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glTexCoord4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ void TexCoord4(ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Set the current texture coordinates
+ ///
+ ///
+ ///
+ /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glTexCoord4bvOES")]
+ public static
+ unsafe void TexCoord4(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xOES")]
+ public static
+ void TexCoord4x(int s, int t, int r, int q)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")]
+ public static
+ void TexCoord4x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glTexCoord4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")]
+ public static
+ void TexCoord4x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glTexCoord4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexCoord4xvOES")]
+ public static
+ unsafe void TexCoord4x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexCoord4xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxOES")]
+ public static
+ void TexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")]
+ public static
+ void TexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexEnvxvOES")]
+ public static
+ unsafe void TexEnvx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfOES")]
+ public static
+ void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGenfOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")]
+ public static
+ void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Single* @params_ptr = @params)
+ {
+ Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenfvOES")]
+ public static
+ unsafe void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Single*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGeniOES")]
+ public static
+ void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32 param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGeniOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")]
+ public static
+ void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glTexGenivOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_texture_cube_map]
+ /// Control the generation of texture coordinates
+ ///
+ ///
+ ///
+ /// Specifies a texture coordinate. Must be one of GL_S, GL_T, GL_R, or GL_Q.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies the symbolic name of the texture-coordinate generation function. Must be GL_TEXTURE_GEN_MODE.
+ ///
+ ///
+ ///
+ ///
+ /// Specifies a single-valued texture generation parameter, one of GL_OBJECT_LINEAR, GL_EYE_LINEAR, GL_SPHERE_MAP, GL_NORMAL_MAP, or GL_REFLECTION_MAP.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_texture_cube_map", Version = "", EntryPoint = "glTexGenivOES")]
+ public static
+ unsafe void TexGen(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGenivOES((OpenTK.Graphics.ES11.OesTextureCubeMap)coord, (OpenTK.Graphics.ES11.OesTextureCubeMap)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxOES")]
+ public static
+ void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxvOES")]
+ public static
+ void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point|OES_texture_cube_map]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point|OES_texture_cube_map", Version = "", EntryPoint = "glTexGenxvOES")]
+ public static
+ unsafe void TexGenx(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxOES")]
+ public static
+ void TexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")]
+ public static
+ void TexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* @params_ptr = @params)
+ {
+ Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTexParameterxvOES")]
+ public static
+ unsafe void TexParameterx(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.OesFixedPoint)target, (OpenTK.Graphics.ES11.OesFixedPoint)pname, (int*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glTranslatexOES")]
+ public static
+ void Translatex(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glTranslatexOES((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_mapbuffer]
+ [AutoGenerated(Category = "OES_mapbuffer", Version = "", EntryPoint = "glUnmapBufferOES")]
+ public static
+ bool UnmapBuffer(OpenTK.Graphics.ES11.OesMapbuffer target)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.OesMapbuffer)target);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")]
+ public static
+ void Vertex2(Byte x)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2bOES((SByte)x);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bOES")]
+ public static
+ void Vertex2(SByte x)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2bOES((SByte)x);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")]
+ public static
+ void Vertex2(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glVertex2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")]
+ public static
+ unsafe void Vertex2(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")]
+ public static
+ void Vertex2(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glVertex2bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex2bvOES")]
+ public static
+ unsafe void Vertex2(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xOES")]
+ public static
+ void Vertex2x(int x)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2xOES((int)x);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")]
+ public static
+ void Vertex2x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glVertex2xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex2xvOES")]
+ public static
+ unsafe void Vertex2x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex2xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")]
+ public static
+ void Vertex3(Byte x, Byte y)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3bOES((SByte)x, (SByte)y);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bOES")]
+ public static
+ void Vertex3(SByte x, SByte y)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3bOES((SByte)x, (SByte)y);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ void Vertex3(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glVertex3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ void Vertex3(ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glVertex3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ unsafe void Vertex3(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ void Vertex3(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glVertex3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ void Vertex3(ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glVertex3bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex3bvOES")]
+ public static
+ unsafe void Vertex3(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xOES")]
+ public static
+ void Vertex3x(int x, int y)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3xOES((int)x, (int)y);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")]
+ public static
+ void Vertex3x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glVertex3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")]
+ public static
+ void Vertex3x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glVertex3xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex3xvOES")]
+ public static
+ unsafe void Vertex3x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex3xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")]
+ public static
+ void Vertex4(Byte x, Byte y, Byte z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bOES")]
+ public static
+ void Vertex4(SByte x, SByte y, SByte z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ void Vertex4(Byte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = coords)
+ {
+ Delegates.glVertex4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ void Vertex4(ref Byte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Byte* coords_ptr = &coords)
+ {
+ Delegates.glVertex4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ unsafe void Vertex4(Byte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ void Vertex4(SByte[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = coords)
+ {
+ Delegates.glVertex4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ void Vertex4(ref SByte coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (SByte* coords_ptr = &coords)
+ {
+ Delegates.glVertex4bvOES((SByte*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+
+ /// [requires: OES_byte_coordinates]
+ /// Specify a vertex
+ ///
+ ///
+ ///
+ /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command.
+ ///
+ ///
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_byte_coordinates", Version = "", EntryPoint = "glVertex4bvOES")]
+ public static
+ unsafe void Vertex4(SByte* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4bvOES((SByte*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xOES")]
+ public static
+ void Vertex4x(int x, int y, int z)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4xOES((int)x, (int)y, (int)z);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")]
+ public static
+ void Vertex4x(int[] coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = coords)
+ {
+ Delegates.glVertex4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")]
+ public static
+ void Vertex4x(ref int coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (int* coords_ptr = &coords)
+ {
+ Delegates.glVertex4xvOES((int*)coords_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_fixed_point]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "OES_fixed_point", Version = "", EntryPoint = "glVertex4xvOES")]
+ public static
+ unsafe void Vertex4x(int* coords)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glVertex4xvOES((int*)coords);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")]
+ public static
+ void WeightPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")]
+ public static
+ void WeightPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")]
+ public static
+ void WeightPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")]
+ public static
+ void WeightPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] T3[,,] pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: OES_matrix_palette]
+ [AutoGenerated(Category = "OES_matrix_palette", Version = "", EntryPoint = "glWeightPointerOES")]
+ public static
+ void WeightPointer(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, [InAttribute, OutAttribute] ref T3 pointer)
+ where T3 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.OesMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject());
+ pointer = (T3)pointer_ptr.Target;
+ }
+ finally
+ {
+ pointer_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+ public static partial class Qcom
+ {
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")]
+ public static
+ void DisableDriverControl(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glDisableDriverControlQCOM")]
+ public static
+ void DisableDriverControl(UInt32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glDisableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")]
+ public static
+ void EnableDriverControl(Int32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glEnableDriverControlQCOM")]
+ public static
+ void EnableDriverControl(UInt32 driverControl)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEnableDriverControlQCOM((UInt32)driverControl);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_tiled_rendering]
+ [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")]
+ public static
+ void EndTiling(Int32 preserveMask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEndTilingQCOM((UInt32)preserveMask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_tiled_rendering]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glEndTilingQCOM")]
+ public static
+ void EndTiling(UInt32 preserveMask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glEndTilingQCOM((UInt32)preserveMask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")]
+ public static
+ void ExtGetBufferPointer(OpenTK.Graphics.ES11.QcomExtendedGet target, [OutAttribute] IntPtr @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (IntPtr)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")]
+ public static
+ void ExtGetBufferPointer(OpenTK.Graphics.ES11.QcomExtendedGet target, [InAttribute, OutAttribute] T1[] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")]
+ public static
+ void ExtGetBufferPointer(OpenTK.Graphics.ES11.QcomExtendedGet target, [InAttribute, OutAttribute] T1[,] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")]
+ public static
+ void ExtGetBufferPointer(OpenTK.Graphics.ES11.QcomExtendedGet target, [InAttribute, OutAttribute] T1[,,] @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBufferPointervQCOM")]
+ public static
+ void ExtGetBufferPointer(OpenTK.Graphics.ES11.QcomExtendedGet target, [InAttribute, OutAttribute] ref T1 @params)
+ where T1 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (IntPtr)@params_ptr.AddrOfPinnedObject());
+ @params = (T1)@params_ptr.Target;
+ }
+ finally
+ {
+ @params_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ void ExtGetBuffers([OutAttribute] Int32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = buffers)
+ fixed (Int32* numBuffers_ptr = numBuffers)
+ {
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ void ExtGetBuffers([OutAttribute] out Int32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* buffers_ptr = &buffers)
+ fixed (Int32* numBuffers_ptr = &numBuffers)
+ {
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr);
+ buffers = *buffers_ptr;
+ numBuffers = *numBuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ unsafe void ExtGetBuffers([OutAttribute] Int32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ void ExtGetBuffers([OutAttribute] UInt32[] buffers, Int32 maxBuffers, [OutAttribute] Int32[] numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = buffers)
+ fixed (Int32* numBuffers_ptr = numBuffers)
+ {
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ void ExtGetBuffers([OutAttribute] out UInt32 buffers, Int32 maxBuffers, [OutAttribute] out Int32 numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* buffers_ptr = &buffers)
+ fixed (Int32* numBuffers_ptr = &numBuffers)
+ {
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers_ptr, (Int32)maxBuffers, (Int32*)numBuffers_ptr);
+ buffers = *buffers_ptr;
+ numBuffers = *numBuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")]
+ public static
+ unsafe void ExtGetBuffers([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ void ExtGetFramebuffers([OutAttribute] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = framebuffers)
+ fixed (Int32* numFramebuffers_ptr = numFramebuffers)
+ {
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ void ExtGetFramebuffers([OutAttribute] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* framebuffers_ptr = &framebuffers)
+ fixed (Int32* numFramebuffers_ptr = &numFramebuffers)
+ {
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ numFramebuffers = *numFramebuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ unsafe void ExtGetFramebuffers([OutAttribute] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ void ExtGetFramebuffers([OutAttribute] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32[] numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = framebuffers)
+ fixed (Int32* numFramebuffers_ptr = numFramebuffers)
+ {
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ void ExtGetFramebuffers([OutAttribute] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute] out Int32 numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* framebuffers_ptr = &framebuffers)
+ fixed (Int32* numFramebuffers_ptr = &numFramebuffers)
+ {
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers_ptr, (Int32)maxFramebuffers, (Int32*)numFramebuffers_ptr);
+ framebuffers = *framebuffers_ptr;
+ numFramebuffers = *numFramebuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")]
+ public static
+ unsafe void ExtGetFramebuffers([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length_ptr);
+ length = *length_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ unsafe void ExtGetProgramBinarySource(Int32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32[] length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] out Int32 length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length_ptr);
+ length = *length_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramBinarySourceQCOM")]
+ public static
+ unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.QcomExtendedGet2)shadertype, (StringBuilder)source, (Int32*)length);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ void ExtGetProgram([OutAttribute] Int32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* programs_ptr = programs)
+ fixed (Int32* numPrograms_ptr = numPrograms)
+ {
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ void ExtGetProgram([OutAttribute] out Int32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* programs_ptr = &programs)
+ fixed (Int32* numPrograms_ptr = &numPrograms)
+ {
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr);
+ programs = *programs_ptr;
+ numPrograms = *numPrograms_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ unsafe void ExtGetProgram([OutAttribute] Int32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ void ExtGetProgram([OutAttribute] UInt32[] programs, Int32 maxPrograms, [OutAttribute] Int32[] numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = programs)
+ fixed (Int32* numPrograms_ptr = numPrograms)
+ {
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ void ExtGetProgram([OutAttribute] out UInt32 programs, Int32 maxPrograms, [OutAttribute] out Int32 numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* programs_ptr = &programs)
+ fixed (Int32* numPrograms_ptr = &numPrograms)
+ {
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs_ptr, (Int32)maxPrograms, (Int32*)numPrograms_ptr);
+ programs = *programs_ptr;
+ numPrograms = *numPrograms_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")]
+ public static
+ unsafe void ExtGetProgram([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ void ExtGetRenderbuffers([OutAttribute] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = renderbuffers)
+ fixed (Int32* numRenderbuffers_ptr = numRenderbuffers)
+ {
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ void ExtGetRenderbuffers([OutAttribute] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* renderbuffers_ptr = &renderbuffers)
+ fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers)
+ {
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ numRenderbuffers = *numRenderbuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ unsafe void ExtGetRenderbuffers([OutAttribute] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ void ExtGetRenderbuffers([OutAttribute] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32[] numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = renderbuffers)
+ fixed (Int32* numRenderbuffers_ptr = numRenderbuffers)
+ {
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ void ExtGetRenderbuffers([OutAttribute] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute] out Int32 numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* renderbuffers_ptr = &renderbuffers)
+ fixed (Int32* numRenderbuffers_ptr = &numRenderbuffers)
+ {
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers_ptr, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers_ptr);
+ renderbuffers = *renderbuffers_ptr;
+ numRenderbuffers = *numRenderbuffers_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")]
+ public static
+ unsafe void ExtGetRenderbuffers([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ void ExtGetShaders([OutAttribute] Int32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = shaders)
+ fixed (Int32* numShaders_ptr = numShaders)
+ {
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ void ExtGetShaders([OutAttribute] out Int32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* shaders_ptr = &shaders)
+ fixed (Int32* numShaders_ptr = &numShaders)
+ {
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr);
+ shaders = *shaders_ptr;
+ numShaders = *numShaders_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ unsafe void ExtGetShaders([OutAttribute] Int32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ void ExtGetShaders([OutAttribute] UInt32[] shaders, Int32 maxShaders, [OutAttribute] Int32[] numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* shaders_ptr = shaders)
+ fixed (Int32* numShaders_ptr = numShaders)
+ {
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ void ExtGetShaders([OutAttribute] out UInt32 shaders, Int32 maxShaders, [OutAttribute] out Int32 numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* shaders_ptr = &shaders)
+ fixed (Int32* numShaders_ptr = &numShaders)
+ {
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders_ptr, (Int32)maxShaders, (Int32*)numShaders_ptr);
+ shaders = *shaders_ptr;
+ numShaders = *numShaders_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")]
+ public static
+ unsafe void ExtGetShaders([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ unsafe void ExtGetTexLevelParameter(Int32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32[] @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = @params)
+ {
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] out Int32 @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* @params_ptr = &@params)
+ {
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params_ptr);
+ @params = *@params_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexLevelParameterivQCOM")]
+ public static
+ unsafe void ExtGetTexLevelParameter(UInt32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32* @params)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.QcomExtendedGet)face, (Int32)level, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32*)@params);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")]
+ public static
+ void ExtGetTexSubImage(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [OutAttribute] IntPtr texels)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.QcomExtendedGet)format, (OpenTK.Graphics.ES11.QcomExtendedGet)type, (IntPtr)texels);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")]
+ public static
+ void ExtGetTexSubImage(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [InAttribute, OutAttribute] T10[] texels)
+ where T10 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.QcomExtendedGet)format, (OpenTK.Graphics.ES11.QcomExtendedGet)type, (IntPtr)texels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ texels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")]
+ public static
+ void ExtGetTexSubImage(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [InAttribute, OutAttribute] T10[,] texels)
+ where T10 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.QcomExtendedGet)format, (OpenTK.Graphics.ES11.QcomExtendedGet)type, (IntPtr)texels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ texels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")]
+ public static
+ void ExtGetTexSubImage(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [InAttribute, OutAttribute] T10[,,] texels)
+ where T10 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.QcomExtendedGet)format, (OpenTK.Graphics.ES11.QcomExtendedGet)type, (IntPtr)texels_ptr.AddrOfPinnedObject());
+ }
+ finally
+ {
+ texels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexSubImageQCOM")]
+ public static
+ void ExtGetTexSubImage(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [InAttribute, OutAttribute] ref T10 texels)
+ where T10 : struct
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ GCHandle texels_ptr = GCHandle.Alloc(texels, GCHandleType.Pinned);
+ try
+ {
+ Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.QcomExtendedGet)format, (OpenTK.Graphics.ES11.QcomExtendedGet)type, (IntPtr)texels_ptr.AddrOfPinnedObject());
+ texels = (T10)texels_ptr.Target;
+ }
+ finally
+ {
+ texels_ptr.Free();
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ void ExtGetTextures([OutAttribute] Int32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = textures)
+ fixed (Int32* numTextures_ptr = numTextures)
+ {
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ void ExtGetTextures([OutAttribute] out Int32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* textures_ptr = &textures)
+ fixed (Int32* numTextures_ptr = &numTextures)
+ {
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr);
+ textures = *textures_ptr;
+ numTextures = *numTextures_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ unsafe void ExtGetTextures([OutAttribute] Int32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ void ExtGetTextures([OutAttribute] UInt32[] textures, Int32 maxTextures, [OutAttribute] Int32[] numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = textures)
+ fixed (Int32* numTextures_ptr = numTextures)
+ {
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ void ExtGetTextures([OutAttribute] out UInt32 textures, Int32 maxTextures, [OutAttribute] out Int32 numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (UInt32* textures_ptr = &textures)
+ fixed (Int32* numTextures_ptr = &numTextures)
+ {
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures_ptr, (Int32)maxTextures, (Int32*)numTextures_ptr);
+ textures = *textures_ptr;
+ numTextures = *numTextures_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetTexturesQCOM")]
+ public static
+ unsafe void ExtGetTextures([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")]
+ public static
+ bool ExtIsProgramBinary(Int32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glExtIsProgramBinaryQCOM((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get2]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtIsProgramBinaryQCOM")]
+ public static
+ bool ExtIsProgramBinary(UInt32 program)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ return Delegates.glExtIsProgramBinaryQCOM((UInt32)program);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_extended_get]
+ [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtTexObjectStateOverrideiQCOM")]
+ public static
+ void ExtTexObjectStateOverride(OpenTK.Graphics.ES11.QcomExtendedGet target, OpenTK.Graphics.ES11.QcomExtendedGet pname, Int32 param)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES11.QcomExtendedGet)target, (OpenTK.Graphics.ES11.QcomExtendedGet)pname, (Int32)param);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] Int32[] driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = num)
+ fixed (Int32* driverControls_ptr = driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControl([OutAttribute] Int32[] num, Int32 size, [OutAttribute] UInt32[] driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = num)
+ fixed (UInt32* driverControls_ptr = driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out Int32 driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = &num)
+ fixed (Int32* driverControls_ptr = &driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ num = *num_ptr;
+ driverControls = *driverControls_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ void GetDriverControl([OutAttribute] out Int32 num, Int32 size, [OutAttribute] out UInt32 driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* num_ptr = &num)
+ fixed (UInt32* driverControls_ptr = &driverControls)
+ {
+ Delegates.glGetDriverControlsQCOM((Int32*)num_ptr, (Int32)size, (UInt32*)driverControls_ptr);
+ num = *num_ptr;
+ driverControls = *driverControls_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] Int32* driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlsQCOM")]
+ public static
+ unsafe void GetDriverControl([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
+ length = *length_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ unsafe void GetDriverControlString(Int32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ unsafe
+ {
+ fixed (Int32* length_ptr = &length)
+ {
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)driverControlString);
+ length = *length_ptr;
+ }
+ }
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_driver_control]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_driver_control", Version = "", EntryPoint = "glGetDriverControlStringQCOM")]
+ public static
+ unsafe void GetDriverControlString(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_tiled_rendering]
+ [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")]
+ public static
+ void StartTiling(Int32 x, Int32 y, Int32 width, Int32 height, Int32 preserveMask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ /// [requires: QCOM_tiled_rendering]
+ [System.CLSCompliant(false)]
+ [AutoGenerated(Category = "QCOM_tiled_rendering", Version = "", EntryPoint = "glStartTilingQCOM")]
+ public static
+ void StartTiling(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask)
+ {
+ #if DEBUG
+ using (new ErrorHelper(GraphicsContext.CurrentContext))
+ {
+ #endif
+ Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask);
+ #if DEBUG
+ }
+ #endif
+ }
+
+ }
+
+ }
+}
diff --git a/Source/OpenTK/Graphics/ES11/Core.cs b/Source/OpenTK/Graphics/ES11/ES11Core.cs
similarity index 52%
rename from Source/OpenTK/Graphics/ES11/Core.cs
rename to Source/OpenTK/Graphics/ES11/ES11Core.cs
index 2df43124..7b807164 100644
--- a/Source/OpenTK/Graphics/ES11/Core.cs
+++ b/Source/OpenTK/Graphics/ES11/ES11Core.cs
@@ -1,8 +1,7 @@
-#region License
//
// The Open Toolkit Library License
//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
+// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +22,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
-#endregion
+
+
namespace OpenTK.Graphics.ES11
{
@@ -39,54 +39,72 @@ namespace OpenTK.Graphics.ES11
internal static partial class Core
{
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAccumxOES", ExactSpelling = true)]
+ internal extern static void AccumxOES(OpenTK.Graphics.ES11.OesFixedPoint op, int value);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)]
- internal extern static void ActiveTexture(OpenTK.Graphics.ES11.All texture);
+ internal extern static void ActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFunc", ExactSpelling = true)]
- internal extern static void AlphaFunc(OpenTK.Graphics.ES11.All func, Single @ref);
+ internal extern static void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncx", ExactSpelling = true)]
- internal extern static void AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref);
+ internal extern static void AlphaFuncx(OpenTK.Graphics.ES11.VersionEsCm10 func, int @ref);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAlphaFuncxOES", ExactSpelling = true)]
- internal extern static void AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref);
+ internal extern static void AlphaFuncxOES(OpenTK.Graphics.ES11.OesFixedPoint func, int @ref);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)]
- internal extern static void BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer);
+ internal extern static void BindBuffer(OpenTK.Graphics.ES11.VersionEsCm10 target, UInt32 buffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebufferOES", ExactSpelling = true)]
- internal extern static void BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer);
+ internal extern static void BindFramebufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 framebuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbufferOES", ExactSpelling = true)]
- internal extern static void BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer);
+ internal extern static void BindRenderbufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 renderbuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)]
- internal extern static void BindTexture(OpenTK.Graphics.ES11.All target, UInt32 texture);
+ internal extern static void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArrayOES", ExactSpelling = true)]
+ internal extern static void BindVertexArrayOES(UInt32 array);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBitmapxOES", ExactSpelling = true)]
+ internal extern static unsafe void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColorxOES", ExactSpelling = true)]
+ internal extern static void BlendColorxOES(int red, int green, int blue, int alpha);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationEXT", ExactSpelling = true)]
+ internal extern static void BlendEquationEXT(OpenTK.Graphics.ES11.ExtBlendMinmax mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationOES", ExactSpelling = true)]
- internal extern static void BlendEquationOES(OpenTK.Graphics.ES11.All mode);
+ internal extern static void BlendEquationOES(OpenTK.Graphics.ES11.OesBlendSubtract mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparateOES", ExactSpelling = true)]
- internal extern static void BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha);
+ internal extern static void BlendEquationSeparateOES(OpenTK.Graphics.ES11.OesBlendEquationSeparate modeRGB, OpenTK.Graphics.ES11.OesBlendEquationSeparate modeAlpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)]
- internal extern static void BlendFunc(OpenTK.Graphics.ES11.All sfactor, OpenTK.Graphics.ES11.All dfactor);
+ internal extern static void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparateOES", ExactSpelling = true)]
- internal extern static void BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha);
+ internal extern static void BlendFuncSeparateOES(OpenTK.Graphics.ES11.OesBlendFuncSeparate srcRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate srcAlpha, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstAlpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
- internal extern static void BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage);
+ internal extern static void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.VersionEsCm10 usage);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)]
- internal extern static void BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data);
+ internal extern static void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatusOES", ExactSpelling = true)]
- internal extern static OpenTK.Graphics.ES11.All CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target);
+ internal extern static OpenTK.Graphics.ES11.OesFramebufferObject CheckFramebufferStatusOES(OpenTK.Graphics.ES11.OesFramebufferObject target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)]
- internal extern static void Clear(UInt32 mask);
+ internal extern static void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearAccumxOES", ExactSpelling = true)]
+ internal extern static void ClearAccumxOES(int red, int green, int blue, int alpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)]
internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha);
@@ -98,7 +116,7 @@ namespace OpenTK.Graphics.ES11
internal extern static void ClearColorxOES(int red, int green, int blue, int alpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)]
- internal extern static void ClearDepthf(Single depth);
+ internal extern static void ClearDepthf(Single d);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthfOES", ExactSpelling = true)]
internal extern static void ClearDepthfOES(Single depth);
@@ -113,25 +131,34 @@ namespace OpenTK.Graphics.ES11
internal extern static void ClearStencil(Int32 s);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientActiveTexture", ExactSpelling = true)]
- internal extern static void ClientActiveTexture(OpenTK.Graphics.ES11.All texture);
+ internal extern static void ClientActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)]
+ internal extern static OpenTK.Graphics.ES11.AppleSync ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanef", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanef(OpenTK.Graphics.ES11.All plane, Single* equation);
+ internal extern static unsafe void ClipPlanef(OpenTK.Graphics.ES11.VersionEsCm10 p, Single* eqn);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefIMG", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn);
+ internal extern static unsafe void ClipPlanefIMG(OpenTK.Graphics.ES11.ImgUserClipPlane p, Single* eqn);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanefOES", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation);
+ internal extern static unsafe void ClipPlanefOES(OpenTK.Graphics.ES11.OesSinglePrecision plane, Single* equation);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanex", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation);
+ internal extern static unsafe void ClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, int* equation);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexIMG", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn);
+ internal extern static unsafe void ClipPlanexIMG(OpenTK.Graphics.ES11.ImgUserClipPlane p, int* eqn);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClipPlanexOES", ExactSpelling = true)]
- internal extern static unsafe void ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation);
+ internal extern static unsafe void ClipPlanexOES(OpenTK.Graphics.ES11.OesFixedPoint plane, int* equation);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xOES", ExactSpelling = true)]
+ internal extern static void Color3xOES(int red, int green, int blue);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Color3xvOES(int* components);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4f", ExactSpelling = true)]
internal extern static void Color4f(Single red, Single green, Single blue, Single alpha);
@@ -145,26 +172,38 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xOES", ExactSpelling = true)]
internal extern static void Color4xOES(int red, int green, int blue, int alpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColor4xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Color4xvOES(int* components);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)]
internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorPointer", ExactSpelling = true)]
- internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
- internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
+ internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)]
- internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, Int32 imageSize, IntPtr data);
+ internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxOES", ExactSpelling = true)]
+ internal extern static void ConvolutionParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glConvolutionParameterxvOES", ExactSpelling = true)]
+ internal extern static unsafe void ConvolutionParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
- internal extern static void CopyTexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
+ internal extern static void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)]
- internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)]
+ internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)]
- internal extern static void CullFace(OpenTK.Graphics.ES11.All mode);
+ internal extern static void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCurrentPaletteMatrixOES", ExactSpelling = true)]
internal extern static void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex);
@@ -181,41 +220,50 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffersOES", ExactSpelling = true)]
internal extern static unsafe void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSyncAPPLE", ExactSpelling = true)]
+ internal extern static void DeleteSyncAPPLE(IntPtr sync);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)]
internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArraysOES", ExactSpelling = true)]
+ internal extern static unsafe void DeleteVertexArraysOES(Int32 n, UInt32* arrays);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)]
- internal extern static void DepthFunc(OpenTK.Graphics.ES11.All func);
+ internal extern static void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)]
internal extern static void DepthMask(bool flag);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)]
- internal extern static void DepthRangef(Single zNear, Single zFar);
+ internal extern static void DepthRangef(Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangefOES", ExactSpelling = true)]
- internal extern static void DepthRangefOES(Single zNear, Single zFar);
+ internal extern static void DepthRangefOES(Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangex", ExactSpelling = true)]
- internal extern static void DepthRangex(int zNear, int zFar);
+ internal extern static void DepthRangex(int n, int f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangexOES", ExactSpelling = true)]
- internal extern static void DepthRangexOES(int zNear, int zFar);
+ internal extern static void DepthRangexOES(int n, int f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)]
- internal extern static void Disable(OpenTK.Graphics.ES11.All cap);
+ internal extern static void Disable(OpenTK.Graphics.ES11.EnableCap cap);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableClientState", ExactSpelling = true)]
- internal extern static void DisableClientState(OpenTK.Graphics.ES11.All array);
+ internal extern static void DisableClientState(OpenTK.Graphics.ES11.EnableCap array);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)]
internal extern static void DisableDriverControlQCOM(UInt32 driverControl);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDiscardFramebufferEXT", ExactSpelling = true)]
+ internal extern static unsafe void DiscardFramebufferEXT(OpenTK.Graphics.ES11.ExtDiscardFramebuffer target, Int32 numAttachments, OpenTK.Graphics.ES11.ExtDiscardFramebuffer* attachments);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
- internal extern static void DrawArrays(OpenTK.Graphics.ES11.All mode, Int32 first, Int32 count);
+ internal extern static void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
- internal extern static void DrawElements(OpenTK.Graphics.ES11.All mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
+ internal extern static void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfOES", ExactSpelling = true)]
internal extern static void DrawTexfOES(Single x, Single y, Single z, Single width, Single height);
@@ -242,20 +290,77 @@ namespace OpenTK.Graphics.ES11
internal extern static unsafe void DrawTexxvOES(int* coords);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)]
- internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image);
+ internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)]
- internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image);
+ internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)]
- internal extern static void Enable(OpenTK.Graphics.ES11.All cap);
+ internal extern static void Enable(OpenTK.Graphics.ES11.EnableCap cap);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableClientState", ExactSpelling = true)]
- internal extern static void EnableClientState(OpenTK.Graphics.ES11.All array);
+ internal extern static void EnableClientState(OpenTK.Graphics.ES11.EnableCap array);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)]
internal extern static void EnableDriverControlQCOM(UInt32 driverControl);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTilingQCOM", ExactSpelling = true)]
+ internal extern static void EndTilingQCOM(UInt32 preserveMask);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xOES", ExactSpelling = true)]
+ internal extern static void EvalCoord1xOES(int u);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord1xvOES", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord1xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xOES", ExactSpelling = true)]
+ internal extern static void EvalCoord2xOES(int u, int v);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEvalCoord2xvOES", ExactSpelling = true)]
+ internal extern static unsafe void EvalCoord2xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBufferPointervQCOM", ExactSpelling = true)]
+ internal extern static void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, [OutAttribute] IntPtr @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetBuffersQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetFramebuffersQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramBinarySourceQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetProgramsQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetRenderbuffersQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetShadersQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexLevelParameterivQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexSubImageQCOM", ExactSpelling = true)]
+ internal extern static void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [OutAttribute] IntPtr texels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtGetTexturesQCOM", ExactSpelling = true)]
+ internal extern static unsafe void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtIsProgramBinaryQCOM", ExactSpelling = true)]
+ internal extern static bool ExtIsProgramBinaryQCOM(UInt32 program);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glExtTexObjectStateOverrideiQCOM", ExactSpelling = true)]
+ internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, OpenTK.Graphics.ES11.QcomExtendedGet pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFeedbackBufferxOES", ExactSpelling = true)]
+ internal extern static unsafe void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.OesFixedPoint type, int* buffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSyncAPPLE", ExactSpelling = true)]
+ internal extern static IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES11.AppleSync condition, UInt32 flags);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)]
internal extern static void Finish();
[System.Security.SuppressUnmanagedCodeSecurity()]
@@ -265,179 +370,233 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)]
internal extern static void Flush();
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRangeEXT", ExactSpelling = true)]
+ internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogf", ExactSpelling = true)]
- internal extern static void Fogf(OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogfv", ExactSpelling = true)]
- internal extern static unsafe void Fogfv(OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogx", ExactSpelling = true)]
- internal extern static void Fogx(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void Fogx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxOES", ExactSpelling = true)]
- internal extern static void FogxOES(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void FogxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxv", ExactSpelling = true)]
- internal extern static unsafe void Fogxv(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void Fogxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFogxvOES", ExactSpelling = true)]
- internal extern static unsafe void FogxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void FogxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbufferOES", ExactSpelling = true)]
- internal extern static void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer);
+ internal extern static void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject renderbuffertarget, UInt32 renderbuffer);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)]
+ internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleIMG", ExactSpelling = true)]
+ internal extern static void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DOES", ExactSpelling = true)]
- internal extern static void FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level);
+ internal extern static void FramebufferTexture2DOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject textarget, UInt32 texture, Int32 level);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)]
- internal extern static void FrontFace(OpenTK.Graphics.ES11.All mode);
+ internal extern static void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumf", ExactSpelling = true)]
- internal extern static void Frustumf(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
+ internal extern static void Frustumf(Single l, Single r, Single b, Single t, Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumfOES", ExactSpelling = true)]
- internal extern static void FrustumfOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
+ internal extern static void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumx", ExactSpelling = true)]
- internal extern static void Frustumx(int left, int right, int bottom, int top, int zNear, int zFar);
+ internal extern static void Frustumx(int l, int r, int b, int t, int n, int f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrustumxOES", ExactSpelling = true)]
- internal extern static void FrustumxOES(int left, int right, int bottom, int top, int zNear, int zFar);
+ internal extern static void FrustumxOES(int l, int r, int b, int t, int n, int f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)]
- internal extern static unsafe void GenBuffers(Int32 n, UInt32* buffers);
+ internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmapOES", ExactSpelling = true)]
- internal extern static void GenerateMipmapOES(OpenTK.Graphics.ES11.All target);
+ internal extern static void GenerateMipmapOES(OpenTK.Graphics.ES11.OesFramebufferObject target);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)]
- internal extern static unsafe void GenFencesNV(Int32 n, UInt32* fences);
+ internal extern static unsafe void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffersOES", ExactSpelling = true)]
- internal extern static unsafe void GenFramebuffersOES(Int32 n, UInt32* framebuffers);
+ internal extern static unsafe void GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffersOES", ExactSpelling = true)]
- internal extern static unsafe void GenRenderbuffersOES(Int32 n, UInt32* renderbuffers);
+ internal extern static unsafe void GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)]
- internal extern static unsafe void GenTextures(Int32 n, UInt32* textures);
+ internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArraysOES", ExactSpelling = true)]
+ internal extern static unsafe void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)]
- internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES11.All pname, bool* @params);
+ internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)]
- internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)]
- internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, IntPtr @params);
+ internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanef", ExactSpelling = true)]
- internal extern static unsafe void GetClipPlanef(OpenTK.Graphics.ES11.All pname, Single* eqn);
+ internal extern static unsafe void GetClipPlanef(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] Single* equation);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanefOES", ExactSpelling = true)]
- internal extern static unsafe void GetClipPlanefOES(OpenTK.Graphics.ES11.All pname, Single* eqn);
+ internal extern static unsafe void GetClipPlanefOES(OpenTK.Graphics.ES11.OesSinglePrecision plane, [OutAttribute] Single* equation);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanex", ExactSpelling = true)]
- internal extern static unsafe void GetClipPlanex(OpenTK.Graphics.ES11.All pname, int* eqn);
+ internal extern static unsafe void GetClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] int* equation);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetClipPlanexOES", ExactSpelling = true)]
- internal extern static unsafe void GetClipPlanexOES(OpenTK.Graphics.ES11.All pname, int* eqn);
+ internal extern static unsafe void GetClipPlanexOES(OpenTK.Graphics.ES11.OesFixedPoint plane, [OutAttribute] int* equation);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetConvolutionParameterxvOES", ExactSpelling = true)]
+ internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)]
- internal extern static unsafe void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls);
+ internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)]
- internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString);
+ internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)]
- internal extern static OpenTK.Graphics.ES11.All GetError();
+ internal extern static OpenTK.Graphics.ES11.ErrorCode GetError();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)]
- internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedv", ExactSpelling = true)]
- internal extern static unsafe void GetFixedv(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetFixedv(OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFixedvOES", ExactSpelling = true)]
- internal extern static unsafe void GetFixedvOES(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetFixedvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)]
- internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameterivOES", ExactSpelling = true)]
- internal extern static unsafe void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetGraphicsResetStatusEXT", ExactSpelling = true)]
+ internal extern static OpenTK.Graphics.ES11.ExtRobustness GetGraphicsResetStatusEXT();
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetHistogramParameterxvOES", ExactSpelling = true)]
+ internal extern static unsafe void GetHistogramParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64vAPPLE", ExactSpelling = true)]
+ internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES11.AppleSync pname, [OutAttribute] Int64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)]
- internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightfv", ExactSpelling = true)]
- internal extern static unsafe void GetLightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxOES", ExactSpelling = true)]
+ internal extern static unsafe void GetLightxOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxv", ExactSpelling = true)]
- internal extern static unsafe void GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetLightxv(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetLightxvOES", ExactSpelling = true)]
- internal extern static unsafe void GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetLightxvOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMapxvOES", ExactSpelling = true)]
+ internal extern static unsafe void GetMapxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint query, [OutAttribute] int* v);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialfv", ExactSpelling = true)]
- internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxOES", ExactSpelling = true)]
+ internal extern static void GetMaterialxOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxv", ExactSpelling = true)]
- internal extern static unsafe void GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetMaterialxv(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMaterialxvOES", ExactSpelling = true)]
- internal extern static unsafe void GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetMaterialxvOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformfvEXT", ExactSpelling = true)]
+ internal extern static unsafe void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetnUniformivEXT", ExactSpelling = true)]
+ internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPixelMapxv", ExactSpelling = true)]
+ internal extern static unsafe void GetPixelMapxv(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, [OutAttribute] int* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPointerv", ExactSpelling = true)]
- internal extern static void GetPointerv(OpenTK.Graphics.ES11.All pname, IntPtr @params);
+ internal extern static void GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameterivOES", ExactSpelling = true)]
- internal extern static unsafe void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)]
- internal extern static unsafe System.IntPtr GetString(OpenTK.Graphics.ES11.All name);
+ internal extern static IntPtr GetString(OpenTK.Graphics.ES11.StringName name);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)]
+ internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.AppleSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvfv", ExactSpelling = true)]
- internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnviv", ExactSpelling = true)]
- internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxv", ExactSpelling = true)]
- internal extern static unsafe void GetTexEnvxv(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetTexEnvxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexEnvxvOES", ExactSpelling = true)]
- internal extern static unsafe void GetTexEnvxvOES(OpenTK.Graphics.ES11.All env, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetTexEnvxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenfvOES", ExactSpelling = true)]
- internal extern static unsafe void GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetTexGenfvOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenivOES", ExactSpelling = true)]
- internal extern static unsafe void GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetTexGenivOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexGenxvOES", ExactSpelling = true)]
- internal extern static unsafe void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterxvOES", ExactSpelling = true)]
+ internal extern static unsafe void GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, Int32 level, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
- internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
- internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxv", ExactSpelling = true)]
- internal extern static unsafe void GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetTexParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterxvOES", ExactSpelling = true)]
- internal extern static unsafe void GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void GetTexParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)]
- internal extern static void Hint(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All mode);
+ internal extern static void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxOES", ExactSpelling = true)]
+ internal extern static void IndexxOES(int component);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIndexxvOES", ExactSpelling = true)]
+ internal extern static unsafe void IndexxvOES(int* component);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)]
internal extern static bool IsBuffer(UInt32 buffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)]
- internal extern static bool IsEnabled(OpenTK.Graphics.ES11.All cap);
+ internal extern static bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)]
internal extern static bool IsFenceNV(UInt32 fence);
@@ -448,44 +607,50 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbufferOES", ExactSpelling = true)]
internal extern static bool IsRenderbufferOES(UInt32 renderbuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSyncAPPLE", ExactSpelling = true)]
+ internal extern static bool IsSyncAPPLE(IntPtr sync);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)]
internal extern static bool IsTexture(UInt32 texture);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArrayOES", ExactSpelling = true)]
+ internal extern static bool IsVertexArrayOES(UInt32 array);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightf", ExactSpelling = true)]
- internal extern static void Lightf(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightfv", ExactSpelling = true)]
- internal extern static unsafe void Lightfv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelf", ExactSpelling = true)]
- internal extern static void LightModelf(OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelfv", ExactSpelling = true)]
- internal extern static unsafe void LightModelfv(OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelx", ExactSpelling = true)]
- internal extern static void LightModelx(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void LightModelx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxOES", ExactSpelling = true)]
- internal extern static void LightModelxOES(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void LightModelxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxv", ExactSpelling = true)]
- internal extern static unsafe void LightModelxv(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void LightModelxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightModelxvOES", ExactSpelling = true)]
- internal extern static unsafe void LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void LightModelxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightx", ExactSpelling = true)]
- internal extern static void Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void Lightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxOES", ExactSpelling = true)]
- internal extern static void LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void LightxOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxv", ExactSpelling = true)]
- internal extern static unsafe void Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void Lightxv(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLightxvOES", ExactSpelling = true)]
- internal extern static unsafe void LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void LightxvOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)]
internal extern static void LineWidth(Single width);
@@ -511,44 +676,113 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadPaletteFromModelViewMatrixOES", ExactSpelling = true)]
internal extern static void LoadPaletteFromModelViewMatrixOES();
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLoadTransposeMatrixxOES", ExactSpelling = true)]
+ internal extern static unsafe void LoadTransposeMatrixxOES(int* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLogicOp", ExactSpelling = true)]
- internal extern static void LogicOp(OpenTK.Graphics.ES11.All opcode);
+ internal extern static void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap1xOES", ExactSpelling = true)]
+ internal extern static void Map1xOES(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMap2xOES", ExactSpelling = true)]
+ internal extern static void Map2xOES(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferOES", ExactSpelling = true)]
- internal extern static unsafe System.IntPtr MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access);
+ internal extern static IntPtr MapBufferOES(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer access);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRangeEXT", ExactSpelling = true)]
+ internal extern static IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid1xOES", ExactSpelling = true)]
+ internal extern static void MapGrid1xOES(Int32 n, int u1, int u2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapGrid2xOES", ExactSpelling = true)]
+ internal extern static void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialf", ExactSpelling = true)]
- internal extern static void Materialf(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialfv", ExactSpelling = true)]
- internal extern static unsafe void Materialfv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialx", ExactSpelling = true)]
- internal extern static void Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void Materialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxOES", ExactSpelling = true)]
- internal extern static void MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void MaterialxOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxv", ExactSpelling = true)]
- internal extern static unsafe void Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void Materialxv(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMaterialxvOES", ExactSpelling = true)]
- internal extern static unsafe void MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void MaterialxvOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixIndexPointerOES", ExactSpelling = true)]
- internal extern static void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMatrixMode", ExactSpelling = true)]
- internal extern static void MatrixMode(OpenTK.Graphics.ES11.All mode);
+ internal extern static void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)]
+ internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)]
+ internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, IntPtr indices, Int32 primcount);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1bvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord1xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord1xvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord1xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2bvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord2xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord2xvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord2xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3bvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord3xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord3xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bOES", ExactSpelling = true)]
+ internal extern static void MultiTexCoord4bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4bvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4f", ExactSpelling = true)]
- internal extern static void MultiTexCoord4f(OpenTK.Graphics.ES11.All target, Single s, Single t, Single r, Single q);
+ internal extern static void MultiTexCoord4f(OpenTK.Graphics.ES11.VersionEsCm10 target, Single s, Single t, Single r, Single q);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4x", ExactSpelling = true)]
- internal extern static void MultiTexCoord4x(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q);
+ internal extern static void MultiTexCoord4x(OpenTK.Graphics.ES11.VersionEsCm10 texture, int s, int t, int r, int q);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xOES", ExactSpelling = true)]
- internal extern static void MultiTexCoord4xOES(OpenTK.Graphics.ES11.All target, int s, int t, int r, int q);
+ internal extern static void MultiTexCoord4xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r, int q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiTexCoord4xvOES", ExactSpelling = true)]
+ internal extern static unsafe void MultiTexCoord4xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixf", ExactSpelling = true)]
internal extern static unsafe void MultMatrixf(Single* m);
@@ -559,6 +793,9 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultMatrixxOES", ExactSpelling = true)]
internal extern static unsafe void MultMatrixxOES(int* m);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultTransposeMatrixxOES", ExactSpelling = true)]
+ internal extern static unsafe void MultTransposeMatrixxOES(int* m);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3f", ExactSpelling = true)]
internal extern static void Normal3f(Single nx, Single ny, Single nz);
[System.Security.SuppressUnmanagedCodeSecurity()]
@@ -568,47 +805,65 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xOES", ExactSpelling = true)]
internal extern static void Normal3xOES(int nx, int ny, int nz);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormal3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Normal3xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glNormalPointer", ExactSpelling = true)]
- internal extern static void NormalPointer(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthof", ExactSpelling = true)]
- internal extern static void Orthof(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
+ internal extern static void Orthof(Single l, Single r, Single b, Single t, Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthofOES", ExactSpelling = true)]
- internal extern static void OrthofOES(Single left, Single right, Single bottom, Single top, Single zNear, Single zFar);
+ internal extern static void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthox", ExactSpelling = true)]
- internal extern static void Orthox(int left, int right, int bottom, int top, int zNear, int zFar);
+ internal extern static void Orthox(int l, int r, int b, int t, int n, int f);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glOrthoxOES", ExactSpelling = true)]
- internal extern static void OrthoxOES(int left, int right, int bottom, int top, int zNear, int zFar);
+ internal extern static void OrthoxOES(int l, int r, int b, int t, int n, int f);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPassThroughxOES", ExactSpelling = true)]
+ internal extern static void PassThroughxOES(int token);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelMapx", ExactSpelling = true)]
+ internal extern static unsafe void PixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, int* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)]
- internal extern static void PixelStorei(OpenTK.Graphics.ES11.All pname, Int32 param);
+ internal extern static void PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorex", ExactSpelling = true)]
+ internal extern static void PixelStorex(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelTransferxOES", ExactSpelling = true)]
+ internal extern static void PixelTransferxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelZoomxOES", ExactSpelling = true)]
+ internal extern static void PixelZoomxOES(int xfactor, int yfactor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterf", ExactSpelling = true)]
- internal extern static void PointParameterf(OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void PointParameterf(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterfv", ExactSpelling = true)]
- internal extern static unsafe void PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void PointParameterfv(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterx", ExactSpelling = true)]
- internal extern static void PointParameterx(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void PointParameterx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxOES", ExactSpelling = true)]
- internal extern static void PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void PointParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxv", ExactSpelling = true)]
- internal extern static unsafe void PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void PointParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointParameterxvOES", ExactSpelling = true)]
- internal extern static unsafe void PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void PointParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSize", ExactSpelling = true)]
internal extern static void PointSize(Single size);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizePointerOES", ExactSpelling = true)]
- internal extern static void PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void PointSizePointerOES(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPointSizex", ExactSpelling = true)]
internal extern static void PointSizex(int size);
@@ -628,17 +883,59 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPopMatrix", ExactSpelling = true)]
internal extern static void PopMatrix();
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPrioritizeTexturesxOES", ExactSpelling = true)]
+ internal extern static unsafe void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPushMatrix", ExactSpelling = true)]
internal extern static void PushMatrix();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glQueryMatrixxOES", ExactSpelling = true)]
- internal extern static unsafe Int32 QueryMatrixxOES(int* mantissa, Int32* exponent);
+ internal extern static unsafe Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xOES", ExactSpelling = true)]
+ internal extern static void RasterPos2xOES(int x, int y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos2xvOES", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos2xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xOES", ExactSpelling = true)]
+ internal extern static void RasterPos3xOES(int x, int y, int z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos3xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xOES", ExactSpelling = true)]
+ internal extern static void RasterPos4xOES(int x, int y, int z, int w);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRasterPos4xvOES", ExactSpelling = true)]
+ internal extern static unsafe void RasterPos4xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadnPixelsEXT", ExactSpelling = true)]
+ internal extern static void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [OutAttribute] IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)]
- internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
+ internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxOES", ExactSpelling = true)]
+ internal extern static void RectxOES(int x1, int y1, int x2, int y2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRectxvOES", ExactSpelling = true)]
+ internal extern static unsafe void RectxvOES(int* v1, int* v2);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleAPPLE", ExactSpelling = true)]
+ internal extern static void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.AppleFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ES11.AppleFramebufferMultisample internalformat, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleEXT", ExactSpelling = true)]
+ internal extern static void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture internalformat, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisampleIMG", ExactSpelling = true)]
+ internal extern static void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageOES", ExactSpelling = true)]
- internal extern static void RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height);
+ internal extern static void RenderbufferStorageOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject internalformat, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResolveMultisampleFramebufferAPPLE", ExactSpelling = true)]
+ internal extern static void ResolveMultisampleFramebufferAPPLE();
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRotatef", ExactSpelling = true)]
internal extern static void Rotatef(Single angle, Single x, Single y, Single z);
@@ -652,6 +949,9 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)]
internal extern static void SampleCoverage(Single value, bool invert);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverageOES", ExactSpelling = true)]
+ internal extern static void SampleCoverageOES(int value, bool invert);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoveragex", ExactSpelling = true)]
internal extern static void SampleCoveragex(int value, bool invert);
[System.Security.SuppressUnmanagedCodeSecurity()]
@@ -671,61 +971,112 @@ namespace OpenTK.Graphics.ES11
internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)]
- internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition);
+ internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.NvFence condition);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShadeModel", ExactSpelling = true)]
- internal extern static void ShadeModel(OpenTK.Graphics.ES11.All mode);
+ internal extern static void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStartTilingQCOM", ExactSpelling = true)]
+ internal extern static void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)]
- internal extern static void StencilFunc(OpenTK.Graphics.ES11.All func, Int32 @ref, UInt32 mask);
+ internal extern static void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)]
internal extern static void StencilMask(UInt32 mask);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)]
- internal extern static void StencilOp(OpenTK.Graphics.ES11.All fail, OpenTK.Graphics.ES11.All zfail, OpenTK.Graphics.ES11.All zpass);
+ internal extern static void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)]
internal extern static bool TestFenceNV(UInt32 fence);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bOES", ExactSpelling = true)]
+ internal extern static void TexCoord1bOES(SByte s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1bvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xOES", ExactSpelling = true)]
+ internal extern static void TexCoord1xOES(int s);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1xvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord1xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bOES", ExactSpelling = true)]
+ internal extern static void TexCoord2bOES(SByte s, SByte t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2bvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xOES", ExactSpelling = true)]
+ internal extern static void TexCoord2xOES(int s, int t);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord2xvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord2xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bOES", ExactSpelling = true)]
+ internal extern static void TexCoord3bOES(SByte s, SByte t, SByte r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3bvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xOES", ExactSpelling = true)]
+ internal extern static void TexCoord3xOES(int s, int t, int r);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord3xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bOES", ExactSpelling = true)]
+ internal extern static void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4bvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xOES", ExactSpelling = true)]
+ internal extern static void TexCoord4xOES(int s, int t, int r, int q);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord4xvOES", ExactSpelling = true)]
+ internal extern static unsafe void TexCoord4xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoordPointer", ExactSpelling = true)]
- internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvf", ExactSpelling = true)]
- internal extern static void TexEnvf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvfv", ExactSpelling = true)]
- internal extern static unsafe void TexEnvfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvi", ExactSpelling = true)]
- internal extern static void TexEnvi(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param);
+ internal extern static void TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnviv", ExactSpelling = true)]
- internal extern static unsafe void TexEnviv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvx", ExactSpelling = true)]
- internal extern static void TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void TexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxOES", ExactSpelling = true)]
- internal extern static void TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void TexEnvxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxv", ExactSpelling = true)]
- internal extern static unsafe void TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void TexEnvxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexEnvxvOES", ExactSpelling = true)]
- internal extern static unsafe void TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void TexEnvxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfOES", ExactSpelling = true)]
- internal extern static void TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void TexGenfOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenfvOES", ExactSpelling = true)]
- internal extern static unsafe void TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void TexGenfvOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGeniOES", ExactSpelling = true)]
- internal extern static void TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param);
+ internal extern static void TexGeniOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenivOES", ExactSpelling = true)]
- internal extern static unsafe void TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void TexGenivOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexGenxOES", ExactSpelling = true)]
internal extern static void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param);
@@ -734,34 +1085,52 @@ namespace OpenTK.Graphics.ES11
internal extern static unsafe void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
- internal extern static void TexImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
+ internal extern static void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
- internal extern static void TexParameterf(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single param);
+ internal extern static void TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)]
- internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Single* @params);
+ internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)]
- internal extern static void TexParameteri(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param);
+ internal extern static void TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)]
- internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32* @params);
+ internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterx", ExactSpelling = true)]
- internal extern static void TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void TexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxOES", ExactSpelling = true)]
- internal extern static void TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param);
+ internal extern static void TexParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxv", ExactSpelling = true)]
- internal extern static unsafe void TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void TexParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterxvOES", ExactSpelling = true)]
- internal extern static unsafe void TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal extern static unsafe void TexParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage1DEXT", ExactSpelling = true)]
+ internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)]
+ internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)]
+ internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
- internal extern static void TexSubImage2D(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, IntPtr pixels);
+ internal extern static void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)]
+ internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage2DEXT", ExactSpelling = true)]
+ internal extern static void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage3DEXT", ExactSpelling = true)]
+ internal extern static void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTranslatef", ExactSpelling = true)]
internal extern static void Translatef(Single x, Single y, Single z);
@@ -773,16 +1142,55 @@ namespace OpenTK.Graphics.ES11
internal extern static void TranslatexOES(int x, int y, int z);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBufferOES", ExactSpelling = true)]
- internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES11.All target);
+ internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES11.OesMapbuffer target);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bOES", ExactSpelling = true)]
+ internal extern static void Vertex2bOES(SByte x);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2bvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xOES", ExactSpelling = true)]
+ internal extern static void Vertex2xOES(int x);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex2xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex2xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bOES", ExactSpelling = true)]
+ internal extern static void Vertex3bOES(SByte x, SByte y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3bvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xOES", ExactSpelling = true)]
+ internal extern static void Vertex3xOES(int x, int y);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex3xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex3xvOES(int* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bOES", ExactSpelling = true)]
+ internal extern static void Vertex4bOES(SByte x, SByte y, SByte z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4bvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4bvOES(SByte* coords);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xOES", ExactSpelling = true)]
+ internal extern static void Vertex4xOES(int x, int y, int z);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertex4xvOES", ExactSpelling = true)]
+ internal extern static unsafe void Vertex4xvOES(int* coords);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexPointer", ExactSpelling = true)]
- internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)]
internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
+ [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)]
+ internal extern static void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWeightPointerOES", ExactSpelling = true)]
- internal extern static void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer);
+ internal extern static void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer);
}
}
}
diff --git a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs
new file mode 100644
index 00000000..6b63b60d
--- /dev/null
+++ b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs
@@ -0,0 +1,1195 @@
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+
+
+
+namespace OpenTK.Graphics.ES11
+{
+ using System;
+ using System.Text;
+ using System.Runtime.InteropServices;
+ #pragma warning disable 0649
+ #pragma warning disable 3019
+ #pragma warning disable 1591
+
+ partial class GL
+ {
+ internal static partial class Delegates
+ {
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AccumxOES(OpenTK.Graphics.ES11.OesFixedPoint op, int value);
+ internal static AccumxOES glAccumxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture);
+ internal static ActiveTexture glActiveTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref);
+ internal static AlphaFunc glAlphaFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFuncx(OpenTK.Graphics.ES11.VersionEsCm10 func, int @ref);
+ internal static AlphaFuncx glAlphaFuncx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void AlphaFuncxOES(OpenTK.Graphics.ES11.OesFixedPoint func, int @ref);
+ internal static AlphaFuncxOES glAlphaFuncxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindBuffer(OpenTK.Graphics.ES11.VersionEsCm10 target, UInt32 buffer);
+ internal static BindBuffer glBindBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindFramebufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 framebuffer);
+ internal static BindFramebufferOES glBindFramebufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindRenderbufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, UInt32 renderbuffer);
+ internal static BindRenderbufferOES glBindRenderbufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture);
+ internal static BindTexture glBindTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BindVertexArrayOES(UInt32 array);
+ internal static BindVertexArrayOES glBindVertexArrayOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap);
+ internal unsafe static BitmapxOES glBitmapxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendColorxOES(int red, int green, int blue, int alpha);
+ internal static BlendColorxOES glBlendColorxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationEXT(OpenTK.Graphics.ES11.ExtBlendMinmax mode);
+ internal static BlendEquationEXT glBlendEquationEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationOES(OpenTK.Graphics.ES11.OesBlendSubtract mode);
+ internal static BlendEquationOES glBlendEquationOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendEquationSeparateOES(OpenTK.Graphics.ES11.OesBlendEquationSeparate modeRGB, OpenTK.Graphics.ES11.OesBlendEquationSeparate modeAlpha);
+ internal static BlendEquationSeparateOES glBlendEquationSeparateOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor);
+ internal static BlendFunc glBlendFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BlendFuncSeparateOES(OpenTK.Graphics.ES11.OesBlendFuncSeparate srcRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstRGB, OpenTK.Graphics.ES11.OesBlendFuncSeparate srcAlpha, OpenTK.Graphics.ES11.OesBlendFuncSeparate dstAlpha);
+ internal static BlendFuncSeparateOES glBlendFuncSeparateOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.VersionEsCm10 usage);
+ internal static BufferData glBufferData;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void BufferSubData(OpenTK.Graphics.ES11.VersionEsCm10 target, IntPtr offset, IntPtr size, IntPtr data);
+ internal static BufferSubData glBufferSubData;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate OpenTK.Graphics.ES11.OesFramebufferObject CheckFramebufferStatusOES(OpenTK.Graphics.ES11.OesFramebufferObject target);
+ internal static CheckFramebufferStatusOES glCheckFramebufferStatusOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Clear(OpenTK.Graphics.ES11.ClearBufferMask mask);
+ internal static Clear glClear;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearAccumxOES(int red, int green, int blue, int alpha);
+ internal static ClearAccumxOES glClearAccumxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
+ internal static ClearColor glClearColor;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColorx(int red, int green, int blue, int alpha);
+ internal static ClearColorx glClearColorx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearColorxOES(int red, int green, int blue, int alpha);
+ internal static ClearColorxOES glClearColorxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepthf(Single d);
+ internal static ClearDepthf glClearDepthf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepthfOES(Single depth);
+ internal static ClearDepthfOES glClearDepthfOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepthx(int depth);
+ internal static ClearDepthx glClearDepthx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearDepthxOES(int depth);
+ internal static ClearDepthxOES glClearDepthxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClearStencil(Int32 s);
+ internal static ClearStencil glClearStencil;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ClientActiveTexture(OpenTK.Graphics.ES11.VersionEsCm10 texture);
+ internal static ClientActiveTexture glClientActiveTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate OpenTK.Graphics.ES11.AppleSync ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanef(OpenTK.Graphics.ES11.VersionEsCm10 p, Single* eqn);
+ internal unsafe static ClipPlanef glClipPlanef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanefIMG(OpenTK.Graphics.ES11.ImgUserClipPlane p, Single* eqn);
+ internal unsafe static ClipPlanefIMG glClipPlanefIMG;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanefOES(OpenTK.Graphics.ES11.OesSinglePrecision plane, Single* equation);
+ internal unsafe static ClipPlanefOES glClipPlanefOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, int* equation);
+ internal unsafe static ClipPlanex glClipPlanex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanexIMG(OpenTK.Graphics.ES11.ImgUserClipPlane p, int* eqn);
+ internal unsafe static ClipPlanexIMG glClipPlanexIMG;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ClipPlanexOES(OpenTK.Graphics.ES11.OesFixedPoint plane, int* equation);
+ internal unsafe static ClipPlanexOES glClipPlanexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color3xOES(int red, int green, int blue);
+ internal static Color3xOES glColor3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color3xvOES(int* components);
+ internal unsafe static Color3xvOES glColor3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4f(Single red, Single green, Single blue, Single alpha);
+ internal static Color4f glColor4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4ub(Byte red, Byte green, Byte blue, Byte alpha);
+ internal static Color4ub glColor4ub;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4x(int red, int green, int blue, int alpha);
+ internal static Color4x glColor4x;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Color4xOES(int red, int green, int blue, int alpha);
+ internal static Color4xOES glColor4xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Color4xvOES(int* components);
+ internal unsafe static Color4xvOES glColor4xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
+ internal static ColorMask glColorMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer);
+ internal static ColorPointer glColorPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
+ internal static CompressedTexImage2D glCompressedTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, Int32 imageSize, IntPtr data);
+ internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ConvolutionParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static ConvolutionParameterxOES glConvolutionParameterxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ConvolutionParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ internal unsafe static ConvolutionParameterxvOES glConvolutionParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.VersionEsCm10 internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
+ internal static CopyTexImage2D glCopyTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static CopyTexSubImage2D glCopyTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
+ internal static CopyTextureLevelsAPPLE glCopyTextureLevelsAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CullFace(OpenTK.Graphics.ES11.CullFaceMode mode);
+ internal static CullFace glCullFace;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void CurrentPaletteMatrixOES(UInt32 matrixpaletteindex);
+ internal static CurrentPaletteMatrixOES glCurrentPaletteMatrixOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers);
+ internal unsafe static DeleteBuffers glDeleteBuffers;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteFencesNV(Int32 n, UInt32* fences);
+ internal unsafe static DeleteFencesNV glDeleteFencesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteFramebuffersOES(Int32 n, UInt32* framebuffers);
+ internal unsafe static DeleteFramebuffersOES glDeleteFramebuffersOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers);
+ internal unsafe static DeleteRenderbuffersOES glDeleteRenderbuffersOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DeleteSyncAPPLE(IntPtr sync);
+ internal static DeleteSyncAPPLE glDeleteSyncAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
+ internal unsafe static DeleteTextures glDeleteTextures;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DeleteVertexArraysOES(Int32 n, UInt32* arrays);
+ internal unsafe static DeleteVertexArraysOES glDeleteVertexArraysOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthFunc(OpenTK.Graphics.ES11.DepthFunction func);
+ internal static DepthFunc glDepthFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthMask(bool flag);
+ internal static DepthMask glDepthMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRangef(Single n, Single f);
+ internal static DepthRangef glDepthRangef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRangefOES(Single n, Single f);
+ internal static DepthRangefOES glDepthRangefOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRangex(int n, int f);
+ internal static DepthRangex glDepthRangex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DepthRangexOES(int n, int f);
+ internal static DepthRangexOES glDepthRangexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Disable(OpenTK.Graphics.ES11.EnableCap cap);
+ internal static Disable glDisable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableClientState(OpenTK.Graphics.ES11.EnableCap array);
+ internal static DisableClientState glDisableClientState;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DisableDriverControlQCOM(UInt32 driverControl);
+ internal static DisableDriverControlQCOM glDisableDriverControlQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DiscardFramebufferEXT(OpenTK.Graphics.ES11.ExtDiscardFramebuffer target, Int32 numAttachments, OpenTK.Graphics.ES11.ExtDiscardFramebuffer* attachments);
+ internal unsafe static DiscardFramebufferEXT glDiscardFramebufferEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count);
+ internal static DrawArrays glDrawArrays;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.VersionEsCm10 type, IntPtr indices);
+ internal static DrawElements glDrawElements;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawTexfOES(Single x, Single y, Single z, Single width, Single height);
+ internal static DrawTexfOES glDrawTexfOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawTexfvOES(Single* coords);
+ internal unsafe static DrawTexfvOES glDrawTexfvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height);
+ internal static DrawTexiOES glDrawTexiOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawTexivOES(Int32* coords);
+ internal unsafe static DrawTexivOES glDrawTexivOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height);
+ internal static DrawTexsOES glDrawTexsOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawTexsvOES(Int16* coords);
+ internal unsafe static DrawTexsvOES glDrawTexsvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void DrawTexxOES(int x, int y, int z, int width, int height);
+ internal static DrawTexxOES glDrawTexxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void DrawTexxvOES(int* coords);
+ internal unsafe static DrawTexxvOES glDrawTexxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image);
+ internal static EGLImageTargetRenderbufferStorageOES glEGLImageTargetRenderbufferStorageOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.OesEglImage target, IntPtr image);
+ internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Enable(OpenTK.Graphics.ES11.EnableCap cap);
+ internal static Enable glEnable;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableClientState(OpenTK.Graphics.ES11.EnableCap array);
+ internal static EnableClientState glEnableClientState;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EnableDriverControlQCOM(UInt32 driverControl);
+ internal static EnableDriverControlQCOM glEnableDriverControlQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EndTilingQCOM(UInt32 preserveMask);
+ internal static EndTilingQCOM glEndTilingQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord1xOES(int u);
+ internal static EvalCoord1xOES glEvalCoord1xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord1xvOES(int* coords);
+ internal unsafe static EvalCoord1xvOES glEvalCoord1xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void EvalCoord2xOES(int u, int v);
+ internal static EvalCoord2xOES glEvalCoord2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void EvalCoord2xvOES(int* coords);
+ internal unsafe static EvalCoord2xvOES glEvalCoord2xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, [OutAttribute] IntPtr @params);
+ internal static ExtGetBufferPointervQCOM glExtGetBufferPointervQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers);
+ internal unsafe static ExtGetBuffersQCOM glExtGetBuffersQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers);
+ internal unsafe static ExtGetFramebuffersQCOM glExtGetFramebuffersQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.QcomExtendedGet2 shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length);
+ internal unsafe static ExtGetProgramBinarySourceQCOM glExtGetProgramBinarySourceQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms);
+ internal unsafe static ExtGetProgramsQCOM glExtGetProgramsQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers);
+ internal unsafe static ExtGetRenderbuffersQCOM glExtGetRenderbuffersQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders);
+ internal unsafe static ExtGetShadersQCOM glExtGetShadersQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.QcomExtendedGet face, Int32 level, OpenTK.Graphics.ES11.QcomExtendedGet pname, [OutAttribute] Int32* @params);
+ internal unsafe static ExtGetTexLevelParameterivQCOM glExtGetTexLevelParameterivQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.QcomExtendedGet format, OpenTK.Graphics.ES11.QcomExtendedGet type, [OutAttribute] IntPtr texels);
+ internal static ExtGetTexSubImageQCOM glExtGetTexSubImageQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures);
+ internal unsafe static ExtGetTexturesQCOM glExtGetTexturesQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool ExtIsProgramBinaryQCOM(UInt32 program);
+ internal static ExtIsProgramBinaryQCOM glExtIsProgramBinaryQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.QcomExtendedGet target, OpenTK.Graphics.ES11.QcomExtendedGet pname, Int32 param);
+ internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.OesFixedPoint type, int* buffer);
+ internal unsafe static FeedbackBufferxOES glFeedbackBufferxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES11.AppleSync condition, UInt32 flags);
+ internal static FenceSyncAPPLE glFenceSyncAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Finish();
+ internal static Finish glFinish;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FinishFenceNV(UInt32 fence);
+ internal static FinishFenceNV glFinishFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Flush();
+ internal static Flush glFlush;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length);
+ internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param);
+ internal static Fogf glFogf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params);
+ internal unsafe static Fogfv glFogfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Fogx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static Fogx glFogx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FogxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static FogxOES glFogxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Fogxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
+ internal unsafe static Fogxv glFogxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void FogxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
+ internal unsafe static FogxvOES glFogxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferRenderbufferOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject renderbuffertarget, UInt32 renderbuffer);
+ internal static FramebufferRenderbufferOES glFramebufferRenderbufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples);
+ internal static FramebufferTexture2DMultisampleEXT glFramebufferTexture2DMultisampleEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture attachment, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture textarget, UInt32 texture, Int32 level, Int32 samples);
+ internal static FramebufferTexture2DMultisampleIMG glFramebufferTexture2DMultisampleIMG;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FramebufferTexture2DOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject textarget, UInt32 texture, Int32 level);
+ internal static FramebufferTexture2DOES glFramebufferTexture2DOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode);
+ internal static FrontFace glFrontFace;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Frustumf(Single l, Single r, Single b, Single t, Single n, Single f);
+ internal static Frustumf glFrustumf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f);
+ internal static FrustumfOES glFrustumfOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Frustumx(int l, int r, int b, int t, int n, int f);
+ internal static Frustumx glFrustumx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void FrustumxOES(int l, int r, int b, int t, int n, int f);
+ internal static FrustumxOES glFrustumxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers);
+ internal unsafe static GenBuffers glGenBuffers;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GenerateMipmapOES(OpenTK.Graphics.ES11.OesFramebufferObject target);
+ internal static GenerateMipmapOES glGenerateMipmapOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenFencesNV(Int32 n, [OutAttribute] UInt32* fences);
+ internal unsafe static GenFencesNV glGenFencesNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers);
+ internal unsafe static GenFramebuffersOES glGenFramebuffersOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers);
+ internal unsafe static GenRenderbuffersOES glGenRenderbuffersOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenTextures(Int32 n, [OutAttribute] UInt32* textures);
+ internal unsafe static GenTextures glGenTextures;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays);
+ internal unsafe static GenVertexArraysOES glGenVertexArraysOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* @params);
+ internal unsafe static GetBooleanv glGetBooleanv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer pname, [OutAttribute] IntPtr @params);
+ internal static GetBufferPointervOES glGetBufferPointervOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetClipPlanef(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] Single* equation);
+ internal unsafe static GetClipPlanef glGetClipPlanef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetClipPlanefOES(OpenTK.Graphics.ES11.OesSinglePrecision plane, [OutAttribute] Single* equation);
+ internal unsafe static GetClipPlanefOES glGetClipPlanefOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetClipPlanex(OpenTK.Graphics.ES11.VersionEsCm10 plane, [OutAttribute] int* equation);
+ internal unsafe static GetClipPlanex glGetClipPlanex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetClipPlanexOES(OpenTK.Graphics.ES11.OesFixedPoint plane, [OutAttribute] int* equation);
+ internal unsafe static GetClipPlanexOES glGetClipPlanexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetConvolutionParameterxvOES glGetConvolutionParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);
+ internal unsafe static GetDriverControlsQCOM glGetDriverControlsQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString);
+ internal unsafe static GetDriverControlStringQCOM glGetDriverControlStringQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate OpenTK.Graphics.ES11.ErrorCode GetError();
+ internal static GetError glGetError;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.NvFence pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetFenceivNV glGetFenceivNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFixedv(OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
+ internal unsafe static GetFixedv glGetFixedv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFixedvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetFixedvOES glGetFixedvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* @params);
+ internal unsafe static GetFloatv glGetFloatv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject attachment, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetFramebufferAttachmentParameterivOES glGetFramebufferAttachmentParameterivOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate OpenTK.Graphics.ES11.ExtRobustness GetGraphicsResetStatusEXT();
+ internal static GetGraphicsResetStatusEXT glGetGraphicsResetStatusEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetHistogramParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetHistogramParameterxvOES glGetHistogramParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES11.AppleSync pname, [OutAttribute] Int64* @params);
+ internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetIntegerv glGetIntegerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params);
+ internal unsafe static GetLightfv glGetLightfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightxOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetLightxOES glGetLightxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightxv(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
+ internal unsafe static GetLightxv glGetLightxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetLightxvOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetLightxvOES glGetLightxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMapxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint query, [OutAttribute] int* v);
+ internal unsafe static GetMapxvOES glGetMapxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params);
+ internal unsafe static GetMaterialfv glGetMaterialfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetMaterialxOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static GetMaterialxOES glGetMaterialxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMaterialxv(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
+ internal unsafe static GetMaterialxv glGetMaterialxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetMaterialxvOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetMaterialxvOES glGetMaterialxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params);
+ internal unsafe static GetnUniformfvEXT glGetnUniformfvEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
+ internal unsafe static GetnUniformivEXT glGetnUniformivEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetPixelMapxv(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, [OutAttribute] int* values);
+ internal unsafe static GetPixelMapxv glGetPixelMapxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params);
+ internal static GetPointerv glGetPointerv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetRenderbufferParameterivOES glGetRenderbufferParameterivOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr GetString(OpenTK.Graphics.ES11.StringName name);
+ internal static GetString glGetString;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.AppleSync pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params);
+ internal unsafe static GetTexEnvfv glGetTexEnvfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetTexEnviv glGetTexEnviv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnvxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexEnvxv glGetTexEnvxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexEnvxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexEnvxvOES glGetTexEnvxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGenfvOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Single* @params);
+ internal unsafe static GetTexGenfvOES glGetTexGenfvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGenivOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetTexGenivOES glGetTexGenivOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexGenxvOES glGetTexGenxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, Int32 level, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexLevelParameterxvOES glGetTexLevelParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params);
+ internal unsafe static GetTexParameterfv glGetTexParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params);
+ internal unsafe static GetTexParameteriv glGetTexParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexParameterxv glGetTexParameterxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void GetTexParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, [OutAttribute] int* @params);
+ internal unsafe static GetTexParameterxvOES glGetTexParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode);
+ internal static Hint glHint;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void IndexxOES(int component);
+ internal static IndexxOES glIndexxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void IndexxvOES(int* component);
+ internal unsafe static IndexxvOES glIndexxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsBuffer(UInt32 buffer);
+ internal static IsBuffer glIsBuffer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsEnabled(OpenTK.Graphics.ES11.EnableCap cap);
+ internal static IsEnabled glIsEnabled;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsFenceNV(UInt32 fence);
+ internal static IsFenceNV glIsFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsFramebufferOES(UInt32 framebuffer);
+ internal static IsFramebufferOES glIsFramebufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsRenderbufferOES(UInt32 renderbuffer);
+ internal static IsRenderbufferOES glIsRenderbufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsSyncAPPLE(IntPtr sync);
+ internal static IsSyncAPPLE glIsSyncAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsTexture(UInt32 texture);
+ internal static IsTexture glIsTexture;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool IsVertexArrayOES(UInt32 array);
+ internal static IsVertexArrayOES glIsVertexArrayOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param);
+ internal static Lightf glLightf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params);
+ internal unsafe static Lightfv glLightfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param);
+ internal static LightModelf glLightModelf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params);
+ internal unsafe static LightModelfv glLightModelfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightModelx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static LightModelx glLightModelx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightModelxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static LightModelxOES glLightModelxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightModelxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
+ internal unsafe static LightModelxv glLightModelxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightModelxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
+ internal unsafe static LightModelxvOES glLightModelxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Lightx(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static Lightx glLightx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LightxOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static LightxOES glLightxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Lightxv(OpenTK.Graphics.ES11.VersionEsCm10 light, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
+ internal unsafe static Lightxv glLightxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LightxvOES(OpenTK.Graphics.ES11.OesFixedPoint light, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ internal unsafe static LightxvOES glLightxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LineWidth(Single width);
+ internal static LineWidth glLineWidth;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LineWidthx(int width);
+ internal static LineWidthx glLineWidthx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LineWidthxOES(int width);
+ internal static LineWidthxOES glLineWidthxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LoadIdentity();
+ internal static LoadIdentity glLoadIdentity;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadMatrixf(Single* m);
+ internal unsafe static LoadMatrixf glLoadMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadMatrixx(int* m);
+ internal unsafe static LoadMatrixx glLoadMatrixx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadMatrixxOES(int* m);
+ internal unsafe static LoadMatrixxOES glLoadMatrixxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LoadPaletteFromModelViewMatrixOES();
+ internal static LoadPaletteFromModelViewMatrixOES glLoadPaletteFromModelViewMatrixOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void LoadTransposeMatrixxOES(int* m);
+ internal unsafe static LoadTransposeMatrixxOES glLoadTransposeMatrixxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void LogicOp(OpenTK.Graphics.ES11.LogicOp opcode);
+ internal static LogicOp glLogicOp;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Map1xOES(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points);
+ internal static Map1xOES glMap1xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Map2xOES(OpenTK.Graphics.ES11.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points);
+ internal static Map2xOES glMap2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr MapBufferOES(OpenTK.Graphics.ES11.OesMapbuffer target, OpenTK.Graphics.ES11.OesMapbuffer access);
+ internal static MapBufferOES glMapBufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate IntPtr MapBufferRangeEXT(OpenTK.Graphics.ES11.ExtMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access);
+ internal static MapBufferRangeEXT glMapBufferRangeEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid1xOES(Int32 n, int u1, int u2);
+ internal static MapGrid1xOES glMapGrid1xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2);
+ internal static MapGrid2xOES glMapGrid2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param);
+ internal static Materialf glMaterialf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params);
+ internal unsafe static Materialfv glMaterialfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Materialx(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static Materialx glMaterialx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MaterialxOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static MaterialxOES glMaterialxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Materialxv(OpenTK.Graphics.ES11.VersionEsCm10 face, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* param);
+ internal unsafe static Materialxv glMaterialxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MaterialxvOES(OpenTK.Graphics.ES11.OesFixedPoint face, OpenTK.Graphics.ES11.OesFixedPoint pname, int* param);
+ internal unsafe static MaterialxvOES glMaterialxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer);
+ internal static MatrixIndexPointerOES glMatrixIndexPointerOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode);
+ internal static MatrixMode glMatrixMode;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
+ internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.ExtMultiDrawArrays type, IntPtr indices, Int32 primcount);
+ internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s);
+ internal static MultiTexCoord1bOES glMultiTexCoord1bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ internal unsafe static MultiTexCoord1bvOES glMultiTexCoord1bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord1xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s);
+ internal static MultiTexCoord1xOES glMultiTexCoord1xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord1xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ internal unsafe static MultiTexCoord1xvOES glMultiTexCoord1xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t);
+ internal static MultiTexCoord2bOES glMultiTexCoord2bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ internal unsafe static MultiTexCoord2bvOES glMultiTexCoord2bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord2xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t);
+ internal static MultiTexCoord2xOES glMultiTexCoord2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord2xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ internal unsafe static MultiTexCoord2xvOES glMultiTexCoord2xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r);
+ internal static MultiTexCoord3bOES glMultiTexCoord3bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ internal unsafe static MultiTexCoord3bvOES glMultiTexCoord3bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord3xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r);
+ internal static MultiTexCoord3xOES glMultiTexCoord3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord3xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ internal unsafe static MultiTexCoord3xvOES glMultiTexCoord3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4bOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q);
+ internal static MultiTexCoord4bOES glMultiTexCoord4bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4bvOES(OpenTK.Graphics.ES11.OesByteCoordinates texture, SByte* coords);
+ internal unsafe static MultiTexCoord4bvOES glMultiTexCoord4bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4f(OpenTK.Graphics.ES11.VersionEsCm10 target, Single s, Single t, Single r, Single q);
+ internal static MultiTexCoord4f glMultiTexCoord4f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4x(OpenTK.Graphics.ES11.VersionEsCm10 texture, int s, int t, int r, int q);
+ internal static MultiTexCoord4x glMultiTexCoord4x;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void MultiTexCoord4xOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int s, int t, int r, int q);
+ internal static MultiTexCoord4xOES glMultiTexCoord4xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultiTexCoord4xvOES(OpenTK.Graphics.ES11.OesFixedPoint texture, int* coords);
+ internal unsafe static MultiTexCoord4xvOES glMultiTexCoord4xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultMatrixf(Single* m);
+ internal unsafe static MultMatrixf glMultMatrixf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultMatrixx(int* m);
+ internal unsafe static MultMatrixx glMultMatrixx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultMatrixxOES(int* m);
+ internal unsafe static MultMatrixxOES glMultMatrixxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void MultTransposeMatrixxOES(int* m);
+ internal unsafe static MultTransposeMatrixxOES glMultTransposeMatrixxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3f(Single nx, Single ny, Single nz);
+ internal static Normal3f glNormal3f;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3x(int nx, int ny, int nz);
+ internal static Normal3x glNormal3x;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Normal3xOES(int nx, int ny, int nz);
+ internal static Normal3xOES glNormal3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Normal3xvOES(int* coords);
+ internal unsafe static Normal3xvOES glNormal3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer);
+ internal static NormalPointer glNormalPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Orthof(Single l, Single r, Single b, Single t, Single n, Single f);
+ internal static Orthof glOrthof;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f);
+ internal static OrthofOES glOrthofOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Orthox(int l, int r, int b, int t, int n, int f);
+ internal static Orthox glOrthox;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void OrthoxOES(int l, int r, int b, int t, int n, int f);
+ internal static OrthoxOES glOrthoxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PassThroughxOES(int token);
+ internal static PassThroughxOES glPassThroughxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PixelMapx(OpenTK.Graphics.ES11.OesFixedPoint map, Int32 size, int* values);
+ internal unsafe static PixelMapx glPixelMapx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param);
+ internal static PixelStorei glPixelStorei;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelStorex(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static PixelStorex glPixelStorex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelTransferxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static PixelTransferxOES glPixelTransferxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PixelZoomxOES(int xfactor, int yfactor);
+ internal static PixelZoomxOES glPixelZoomxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterf(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single param);
+ internal static PointParameterf glPointParameterf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterfv(OpenTK.Graphics.ES11.VersionEsCm10 pname, Single* @params);
+ internal unsafe static PointParameterfv glPointParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterx(OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static PointParameterx glPointParameterx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static PointParameterxOES glPointParameterxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
+ internal unsafe static PointParameterxv glPointParameterxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PointParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ internal unsafe static PointParameterxvOES glPointParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointSize(Single size);
+ internal static PointSize glPointSize;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointSizePointerOES(OpenTK.Graphics.ES11.OesPointSizeArray type, Int32 stride, IntPtr pointer);
+ internal static PointSizePointerOES glPointSizePointerOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointSizex(int size);
+ internal static PointSizex glPointSizex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PointSizexOES(int size);
+ internal static PointSizexOES glPointSizexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonOffset(Single factor, Single units);
+ internal static PolygonOffset glPolygonOffset;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonOffsetx(int factor, int units);
+ internal static PolygonOffsetx glPolygonOffsetx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PolygonOffsetxOES(int factor, int units);
+ internal static PolygonOffsetxOES glPolygonOffsetxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PopMatrix();
+ internal static PopMatrix glPopMatrix;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities);
+ internal unsafe static PrioritizeTexturesxOES glPrioritizeTexturesxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void PushMatrix();
+ internal static PushMatrix glPushMatrix;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate Int32 QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent);
+ internal unsafe static QueryMatrixxOES glQueryMatrixxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos2xOES(int x, int y);
+ internal static RasterPos2xOES glRasterPos2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos2xvOES(int* coords);
+ internal unsafe static RasterPos2xvOES glRasterPos2xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos3xOES(int x, int y, int z);
+ internal static RasterPos3xOES glRasterPos3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos3xvOES(int* coords);
+ internal unsafe static RasterPos3xvOES glRasterPos3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RasterPos4xOES(int x, int y, int z, int w);
+ internal static RasterPos4xOES glRasterPos4xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RasterPos4xvOES(int* coords);
+ internal unsafe static RasterPos4xvOES glRasterPos4xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.ExtRobustness format, OpenTK.Graphics.ES11.ExtRobustness type, Int32 bufSize, [OutAttribute] IntPtr data);
+ internal static ReadnPixelsEXT glReadnPixelsEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels);
+ internal static ReadPixels glReadPixels;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RectxOES(int x1, int y1, int x2, int y2);
+ internal static RectxOES glRectxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void RectxvOES(int* v1, int* v2);
+ internal unsafe static RectxvOES glRectxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.AppleFramebufferMultisample target, Int32 samples, OpenTK.Graphics.ES11.AppleFramebufferMultisample internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageMultisampleAPPLE glRenderbufferStorageMultisampleAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ExtMultisampledRenderToTexture internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture target, Int32 samples, OpenTK.Graphics.ES11.ImgMultisampledRenderToTexture internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageMultisampleIMG glRenderbufferStorageMultisampleIMG;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RenderbufferStorageOES(OpenTK.Graphics.ES11.OesFramebufferObject target, OpenTK.Graphics.ES11.OesFramebufferObject internalformat, Int32 width, Int32 height);
+ internal static RenderbufferStorageOES glRenderbufferStorageOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ResolveMultisampleFramebufferAPPLE();
+ internal static ResolveMultisampleFramebufferAPPLE glResolveMultisampleFramebufferAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rotatef(Single angle, Single x, Single y, Single z);
+ internal static Rotatef glRotatef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Rotatex(int angle, int x, int y, int z);
+ internal static Rotatex glRotatex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void RotatexOES(int angle, int x, int y, int z);
+ internal static RotatexOES glRotatexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoverage(Single value, bool invert);
+ internal static SampleCoverage glSampleCoverage;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoverageOES(int value, bool invert);
+ internal static SampleCoverageOES glSampleCoverageOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoveragex(int value, bool invert);
+ internal static SampleCoveragex glSampleCoveragex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SampleCoveragexOES(int value, bool invert);
+ internal static SampleCoveragexOES glSampleCoveragexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scalef(Single x, Single y, Single z);
+ internal static Scalef glScalef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scalex(int x, int y, int z);
+ internal static Scalex glScalex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ScalexOES(int x, int y, int z);
+ internal static ScalexOES glScalexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Scissor(Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static Scissor glScissor;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.NvFence condition);
+ internal static SetFenceNV glSetFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode);
+ internal static ShadeModel glShadeModel;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask);
+ internal static StartTilingQCOM glStartTilingQCOM;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask);
+ internal static StencilFunc glStencilFunc;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilMask(UInt32 mask);
+ internal static StencilMask glStencilMask;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass);
+ internal static StencilOp glStencilOp;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool TestFenceNV(UInt32 fence);
+ internal static TestFenceNV glTestFenceNV;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1bOES(SByte s);
+ internal static TexCoord1bOES glTexCoord1bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1bvOES(SByte* coords);
+ internal unsafe static TexCoord1bvOES glTexCoord1bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord1xOES(int s);
+ internal static TexCoord1xOES glTexCoord1xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord1xvOES(int* coords);
+ internal unsafe static TexCoord1xvOES glTexCoord1xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2bOES(SByte s, SByte t);
+ internal static TexCoord2bOES glTexCoord2bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2bvOES(SByte* coords);
+ internal unsafe static TexCoord2bvOES glTexCoord2bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord2xOES(int s, int t);
+ internal static TexCoord2xOES glTexCoord2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord2xvOES(int* coords);
+ internal unsafe static TexCoord2xvOES glTexCoord2xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3bOES(SByte s, SByte t, SByte r);
+ internal static TexCoord3bOES glTexCoord3bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3bvOES(SByte* coords);
+ internal unsafe static TexCoord3bvOES glTexCoord3bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord3xOES(int s, int t, int r);
+ internal static TexCoord3xOES glTexCoord3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord3xvOES(int* coords);
+ internal unsafe static TexCoord3xvOES glTexCoord3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4bOES(SByte s, SByte t, SByte r, SByte q);
+ internal static TexCoord4bOES glTexCoord4bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4bvOES(SByte* coords);
+ internal unsafe static TexCoord4bvOES glTexCoord4bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoord4xOES(int s, int t, int r, int q);
+ internal static TexCoord4xOES glTexCoord4xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexCoord4xvOES(int* coords);
+ internal unsafe static TexCoord4xvOES glTexCoord4xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer);
+ internal static TexCoordPointer glTexCoordPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param);
+ internal static TexEnvf glTexEnvf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params);
+ internal unsafe static TexEnvfv glTexEnvfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param);
+ internal static TexEnvi glTexEnvi;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params);
+ internal unsafe static TexEnviv glTexEnviv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static TexEnvx glTexEnvx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexEnvxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static TexEnvxOES glTexEnvxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnvxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
+ internal unsafe static TexEnvxv glTexEnvxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexEnvxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ internal unsafe static TexEnvxvOES glTexEnvxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGenfOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single param);
+ internal static TexGenfOES glTexGenfOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGenfvOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Single* @params);
+ internal unsafe static TexGenfvOES glTexGenfvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGeniOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32 param);
+ internal static TexGeniOES glTexGeniOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGenivOES(OpenTK.Graphics.ES11.OesTextureCubeMap coord, OpenTK.Graphics.ES11.OesTextureCubeMap pname, Int32* @params);
+ internal unsafe static TexGenivOES glTexGenivOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param);
+ internal static TexGenxOES glTexGenxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params);
+ internal unsafe static TexGenxvOES glTexGenxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels);
+ internal static TexImage2D glTexImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param);
+ internal static TexParameterf glTexParameterf;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params);
+ internal unsafe static TexParameterfv glTexParameterfv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param);
+ internal static TexParameteri glTexParameteri;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params);
+ internal unsafe static TexParameteriv glTexParameteriv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameterx(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int param);
+ internal static TexParameterx glTexParameterx;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexParameterxOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int param);
+ internal static TexParameterxOES glTexParameterxOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterxv(OpenTK.Graphics.ES11.VersionEsCm10 target, OpenTK.Graphics.ES11.VersionEsCm10 pname, int* @params);
+ internal unsafe static TexParameterxv glTexParameterxv;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void TexParameterxvOES(OpenTK.Graphics.ES11.OesFixedPoint target, OpenTK.Graphics.ES11.OesFixedPoint pname, int* @params);
+ internal unsafe static TexParameterxvOES glTexParameterxvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width);
+ internal static TexStorage1DEXT glTexStorage1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height);
+ internal static TexStorage2DEXT glTexStorage2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth);
+ internal static TexStorage3DEXT glTexStorage3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, IntPtr pixels);
+ internal static TexSubImage2D glTexSubImage2D;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width);
+ internal static TextureStorage1DEXT glTextureStorage1DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height);
+ internal static TextureStorage2DEXT glTextureStorage2DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.ExtTextureStorage target, Int32 levels, OpenTK.Graphics.ES11.ExtTextureStorage internalformat, Int32 width, Int32 height, Int32 depth);
+ internal static TextureStorage3DEXT glTextureStorage3DEXT;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Translatef(Single x, Single y, Single z);
+ internal static Translatef glTranslatef;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Translatex(int x, int y, int z);
+ internal static Translatex glTranslatex;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void TranslatexOES(int x, int y, int z);
+ internal static TranslatexOES glTranslatexOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate bool UnmapBufferOES(OpenTK.Graphics.ES11.OesMapbuffer target);
+ internal static UnmapBufferOES glUnmapBufferOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2bOES(SByte x);
+ internal static Vertex2bOES glVertex2bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2bvOES(SByte* coords);
+ internal unsafe static Vertex2bvOES glVertex2bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex2xOES(int x);
+ internal static Vertex2xOES glVertex2xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex2xvOES(int* coords);
+ internal unsafe static Vertex2xvOES glVertex2xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3bOES(SByte x, SByte y);
+ internal static Vertex3bOES glVertex3bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3bvOES(SByte* coords);
+ internal unsafe static Vertex3bvOES glVertex3bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex3xOES(int x, int y);
+ internal static Vertex3xOES glVertex3xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex3xvOES(int* coords);
+ internal unsafe static Vertex3xvOES glVertex3xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4bOES(SByte x, SByte y, SByte z);
+ internal static Vertex4bOES glVertex4bOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4bvOES(SByte* coords);
+ internal unsafe static Vertex4bvOES glVertex4bvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Vertex4xOES(int x, int y, int z);
+ internal static Vertex4xOES glVertex4xOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal unsafe delegate void Vertex4xvOES(int* coords);
+ internal unsafe static Vertex4xvOES glVertex4xvOES;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer);
+ internal static VertexPointer glVertexPointer;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
+ internal static Viewport glViewport;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal static WaitSyncAPPLE glWaitSyncAPPLE;
+ [System.Security.SuppressUnmanagedCodeSecurity()]
+ internal delegate void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.OesMatrixPalette type, Int32 stride, IntPtr pointer);
+ internal static WeightPointerOES glWeightPointerOES;
+ }
+ }
+}
diff --git a/Source/OpenTK/Graphics/ES11/ES11Enums.cs b/Source/OpenTK/Graphics/ES11/ES11Enums.cs
new file mode 100644
index 00000000..7f683a74
--- /dev/null
+++ b/Source/OpenTK/Graphics/ES11/ES11Enums.cs
@@ -0,0 +1,15616 @@
+//
+// The Open Toolkit Library License
+//
+// Copyright (c) 2006 - 2013 Stefanos Apostolopoulos for the Open Toolkit Library
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights to
+// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+// the Software, and to permit persons to whom the Software is furnished to do
+// so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+// OTHER DEALINGS IN THE SOFTWARE.
+//
+
+
+
+using System;
+
+namespace OpenTK.Graphics.ES11
+{
+ ///
+ /// Not used directly.
+ ///
+ public enum AccumOp : int
+ {
+ ///
+ /// Original was GL_ACCUM = 0x0100
+ ///
+ Accum = ((int)0x0100) ,
+ ///
+ /// Original was GL_LOAD = 0x0101
+ ///
+ Load = ((int)0x0101) ,
+ ///
+ /// Original was GL_RETURN = 0x0102
+ ///
+ Return = ((int)0x0102) ,
+ ///
+ /// Original was GL_MULT = 0x0103
+ ///
+ Mult = ((int)0x0103) ,
+ ///
+ /// Original was GL_ADD = 0x0104
+ ///
+ Add = ((int)0x0104) ,
+ }
+
+ ///
+ /// Used in GL.Oes.GetTexGenx, GL.Oes.TexGenx
+ ///
+ public enum All : int
+ {
+ ///
+ /// Original was GL_FALSE = 0
+ ///
+ False = ((int)0) ,
+ ///
+ /// Original was GL_LAYOUT_DEFAULT_INTEL = 0
+ ///
+ LayoutDefaultIntel = ((int)0) ,
+ ///
+ /// Original was GL_NO_ERROR = 0
+ ///
+ NoError = ((int)0) ,
+ ///
+ /// Original was GL_NONE = 0
+ ///
+ None = ((int)0) ,
+ ///
+ /// Original was GL_NONE_OES = 0
+ ///
+ NoneOes = ((int)0) ,
+ ///
+ /// Original was GL_ZERO = 0
+ ///
+ Zero = ((int)0) ,
+ ///
+ /// Original was GL_POINTS = 0x0000
+ ///
+ Points = ((int)0x0000) ,
+ ///
+ /// Original was GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
+ ///
+ ClientPixelStoreBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT0_QCOM = 0x00000001
+ ///
+ ColorBufferBit0Qcom = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CONTEXT_CORE_PROFILE_BIT = 0x00000001
+ ///
+ ContextCoreProfileBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x00000001
+ ///
+ ContextFlagForwardCompatibleBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CURRENT_BIT = 0x00000001
+ ///
+ CurrentBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001
+ ///
+ SyncFlushCommandsBitApple = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
+ ///
+ VertexAttribArrayBarrierBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT = 0x00000001
+ ///
+ VertexAttribArrayBarrierBitExt = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_SHADER_BIT = 0x00000001
+ ///
+ VertexShaderBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_SHADER_BIT_EXT = 0x00000001
+ ///
+ VertexShaderBitExt = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
+ ///
+ ClientVertexArrayBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT1_QCOM = 0x00000002
+ ///
+ ColorBufferBit1Qcom = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002
+ ///
+ ContextCompatibilityProfileBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_DEBUG_BIT = 0x00000002
+ ///
+ ContextFlagDebugBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_DEBUG_BIT_KHR = 0x00000002
+ ///
+ ContextFlagDebugBitKhr = ((int)0x00000002) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT = 0x00000002
+ ///
+ ElementArrayBarrierBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT_EXT = 0x00000002
+ ///
+ ElementArrayBarrierBitExt = ((int)0x00000002) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002
+ ///
+ FragmentShaderBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_BIT_EXT = 0x00000002
+ ///
+ FragmentShaderBitExt = ((int)0x00000002) ,
+ ///
+ /// Original was GL_POINT_BIT = 0x00000002
+ ///
+ PointBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004
+ ///
+ ColorBufferBit2Qcom = ((int)0x00000004) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004
+ ///
+ ContextFlagRobustAccessBitArb = ((int)0x00000004) ,
+ ///
+ /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004
+ ///
+ GeometryShaderBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_LINE_BIT = 0x00000004
+ ///
+ LineBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
+ ///
+ UniformBarrierBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_UNIFORM_BARRIER_BIT_EXT = 0x00000004
+ ///
+ UniformBarrierBitExt = ((int)0x00000004) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT3_QCOM = 0x00000008
+ ///
+ ColorBufferBit3Qcom = ((int)0x00000008) ,
+ ///
+ /// Original was GL_POLYGON_BIT = 0x00000008
+ ///
+ PolygonBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
+ ///
+ TessControlShaderBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_TEXTURE_FETCH_BARRIER_BIT = 0x00000008
+ ///
+ TextureFetchBarrierBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_TEXTURE_FETCH_BARRIER_BIT_EXT = 0x00000008
+ ///
+ TextureFetchBarrierBitExt = ((int)0x00000008) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT4_QCOM = 0x00000010
+ ///
+ ColorBufferBit4Qcom = ((int)0x00000010) ,
+ ///
+ /// Original was GL_POLYGON_STIPPLE_BIT = 0x00000010
+ ///
+ PolygonStippleBit = ((int)0x00000010) ,
+ ///
+ /// Original was GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010
+ ///
+ ShaderGlobalAccessBarrierBitNv = ((int)0x00000010) ,
+ ///
+ /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010
+ ///
+ TessEvaluationShaderBit = ((int)0x00000010) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT5_QCOM = 0x00000020
+ ///
+ ColorBufferBit5Qcom = ((int)0x00000020) ,
+ ///
+ /// Original was GL_COMPUTE_SHADER_BIT = 0x00000020
+ ///
+ ComputeShaderBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_PIXEL_MODE_BIT = 0x00000020
+ ///
+ PixelModeBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
+ ///
+ ShaderImageAccessBarrierBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT = 0x00000020
+ ///
+ ShaderImageAccessBarrierBitExt = ((int)0x00000020) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT6_QCOM = 0x00000040
+ ///
+ ColorBufferBit6Qcom = ((int)0x00000040) ,
+ ///
+ /// Original was GL_COMMAND_BARRIER_BIT = 0x00000040
+ ///
+ CommandBarrierBit = ((int)0x00000040) ,
+ ///
+ /// Original was GL_COMMAND_BARRIER_BIT_EXT = 0x00000040
+ ///
+ CommandBarrierBitExt = ((int)0x00000040) ,
+ ///
+ /// Original was GL_LIGHTING_BIT = 0x00000040
+ ///
+ LightingBit = ((int)0x00000040) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT7_QCOM = 0x00000080
+ ///
+ ColorBufferBit7Qcom = ((int)0x00000080) ,
+ ///
+ /// Original was GL_FOG_BIT = 0x00000080
+ ///
+ FogBit = ((int)0x00000080) ,
+ ///
+ /// Original was GL_PIXEL_BUFFER_BARRIER_BIT = 0x00000080
+ ///
+ PixelBufferBarrierBit = ((int)0x00000080) ,
+ ///
+ /// Original was GL_PIXEL_BUFFER_BARRIER_BIT_EXT = 0x00000080
+ ///
+ PixelBufferBarrierBitExt = ((int)0x00000080) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100
+ ///
+ DepthBufferBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT0_QCOM = 0x00000100
+ ///
+ DepthBufferBit0Qcom = ((int)0x00000100) ,
+ ///
+ /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT = 0x00000100
+ ///
+ TextureUpdateBarrierBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT_EXT = 0x00000100
+ ///
+ TextureUpdateBarrierBitExt = ((int)0x00000100) ,
+ ///
+ /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200
+ ///
+ AccumBufferBit = ((int)0x00000200) ,
+ ///
+ /// Original was GL_BUFFER_UPDATE_BARRIER_BIT = 0x00000200
+ ///
+ BufferUpdateBarrierBit = ((int)0x00000200) ,
+ ///
+ /// Original was GL_BUFFER_UPDATE_BARRIER_BIT_EXT = 0x00000200
+ ///
+ BufferUpdateBarrierBitExt = ((int)0x00000200) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT1_QCOM = 0x00000200
+ ///
+ DepthBufferBit1Qcom = ((int)0x00000200) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT2_QCOM = 0x00000400
+ ///
+ DepthBufferBit2Qcom = ((int)0x00000400) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BARRIER_BIT = 0x00000400
+ ///
+ FramebufferBarrierBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BARRIER_BIT_EXT = 0x00000400
+ ///
+ FramebufferBarrierBitExt = ((int)0x00000400) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400
+ ///
+ StencilBufferBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT3_QCOM = 0x00000800
+ ///
+ DepthBufferBit3Qcom = ((int)0x00000800) ,
+ ///
+ /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800
+ ///
+ TransformFeedbackBarrierBit = ((int)0x00000800) ,
+ ///
+ /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT = 0x00000800
+ ///
+ TransformFeedbackBarrierBitExt = ((int)0x00000800) ,
+ ///
+ /// Original was GL_VIEWPORT_BIT = 0x00000800
+ ///
+ ViewportBit = ((int)0x00000800) ,
+ ///
+ /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT = 0x00001000
+ ///
+ AtomicCounterBarrierBit = ((int)0x00001000) ,
+ ///
+ /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT_EXT = 0x00001000
+ ///
+ AtomicCounterBarrierBitExt = ((int)0x00001000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT4_QCOM = 0x00001000
+ ///
+ DepthBufferBit4Qcom = ((int)0x00001000) ,
+ ///
+ /// Original was GL_TRANSFORM_BIT = 0x00001000
+ ///
+ TransformBit = ((int)0x00001000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT5_QCOM = 0x00002000
+ ///
+ DepthBufferBit5Qcom = ((int)0x00002000) ,
+ ///
+ /// Original was GL_ENABLE_BIT = 0x00002000
+ ///
+ EnableBit = ((int)0x00002000) ,
+ ///
+ /// Original was GL_SHADER_STORAGE_BARRIER_BIT = 0x00002000
+ ///
+ ShaderStorageBarrierBit = ((int)0x00002000) ,
+ ///
+ /// Original was GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT = 0x00004000
+ ///
+ ClientMappedBufferBarrierBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT = 0x00004000
+ ///
+ ColorBufferBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT6_QCOM = 0x00004000
+ ///
+ DepthBufferBit6Qcom = ((int)0x00004000) ,
+ ///
+ /// Original was GL_COVERAGE_BUFFER_BIT_NV = 0x00008000
+ ///
+ CoverageBufferBitNv = ((int)0x00008000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT7_QCOM = 0x00008000
+ ///
+ DepthBufferBit7Qcom = ((int)0x00008000) ,
+ ///
+ /// Original was GL_HINT_BIT = 0x00008000
+ ///
+ HintBit = ((int)0x00008000) ,
+ ///
+ /// Original was GL_QUERY_BUFFER_BARRIER_BIT = 0x00008000
+ ///
+ QueryBufferBarrierBit = ((int)0x00008000) ,
+ ///
+ /// Original was GL_LINES = 0x0001
+ ///
+ Lines = ((int)0x0001) ,
+ ///
+ /// Original was GL_MAP_READ_BIT = 0x0001
+ ///
+ MapReadBit = ((int)0x0001) ,
+ ///
+ /// Original was GL_MAP_READ_BIT_EXT = 0x0001
+ ///
+ MapReadBitExt = ((int)0x0001) ,
+ ///
+ /// Original was GL_EVAL_BIT = 0x00010000
+ ///
+ EvalBit = ((int)0x00010000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT0_QCOM = 0x00010000
+ ///
+ StencilBufferBit0Qcom = ((int)0x00010000) ,
+ ///
+ /// Original was GL_LINE_LOOP = 0x0002
+ ///
+ LineLoop = ((int)0x0002) ,
+ ///
+ /// Original was GL_MAP_WRITE_BIT = 0x0002
+ ///
+ MapWriteBit = ((int)0x0002) ,
+ ///
+ /// Original was GL_MAP_WRITE_BIT_EXT = 0x0002
+ ///
+ MapWriteBitExt = ((int)0x0002) ,
+ ///
+ /// Original was GL_LIST_BIT = 0x00020000
+ ///
+ ListBit = ((int)0x00020000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT1_QCOM = 0x00020000
+ ///
+ StencilBufferBit1Qcom = ((int)0x00020000) ,
+ ///
+ /// Original was GL_LINE_STRIP = 0x0003
+ ///
+ LineStrip = ((int)0x0003) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004
+ ///
+ MapInvalidateRangeBit = ((int)0x0004) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_RANGE_BIT_EXT = 0x0004
+ ///
+ MapInvalidateRangeBitExt = ((int)0x0004) ,
+ ///
+ /// Original was GL_TRIANGLES = 0x0004
+ ///
+ Triangles = ((int)0x0004) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT2_QCOM = 0x00040000
+ ///
+ StencilBufferBit2Qcom = ((int)0x00040000) ,
+ ///
+ /// Original was GL_TEXTURE_BIT = 0x00040000
+ ///
+ TextureBit = ((int)0x00040000) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP = 0x0005
+ ///
+ TriangleStrip = ((int)0x0005) ,
+ ///
+ /// Original was GL_TRIANGLE_FAN = 0x0006
+ ///
+ TriangleFan = ((int)0x0006) ,
+ ///
+ /// Original was GL_QUADS = 0x0007
+ ///
+ Quads = ((int)0x0007) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008
+ ///
+ MapInvalidateBufferBit = ((int)0x0008) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_BUFFER_BIT_EXT = 0x0008
+ ///
+ MapInvalidateBufferBitExt = ((int)0x0008) ,
+ ///
+ /// Original was GL_QUAD_STRIP = 0x0008
+ ///
+ QuadStrip = ((int)0x0008) ,
+ ///
+ /// Original was GL_SCISSOR_BIT = 0x00080000
+ ///
+ ScissorBit = ((int)0x00080000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT3_QCOM = 0x00080000
+ ///
+ StencilBufferBit3Qcom = ((int)0x00080000) ,
+ ///
+ /// Original was GL_POLYGON = 0x0009
+ ///
+ Polygon = ((int)0x0009) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY = 0x000A
+ ///
+ LinesAdjacency = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY_ARB = 0x000A
+ ///
+ LinesAdjacencyArb = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY_EXT = 0x000A
+ ///
+ LinesAdjacencyExt = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY = 0x000B
+ ///
+ LineStripAdjacency = ((int)0x000B) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY_ARB = 0x000B
+ ///
+ LineStripAdjacencyArb = ((int)0x000B) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B
+ ///
+ LineStripAdjacencyExt = ((int)0x000B) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY = 0x000C
+ ///
+ TrianglesAdjacency = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY_ARB = 0x000C
+ ///
+ TrianglesAdjacencyArb = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C
+ ///
+ TrianglesAdjacencyExt = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D
+ ///
+ TriangleStripAdjacency = ((int)0x000D) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D
+ ///
+ TriangleStripAdjacencyArb = ((int)0x000D) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D
+ ///
+ TriangleStripAdjacencyExt = ((int)0x000D) ,
+ ///
+ /// Original was GL_PATCHES = 0x000E
+ ///
+ Patches = ((int)0x000E) ,
+ ///
+ /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010
+ ///
+ MapFlushExplicitBit = ((int)0x0010) ,
+ ///
+ /// Original was GL_MAP_FLUSH_EXPLICIT_BIT_EXT = 0x0010
+ ///
+ MapFlushExplicitBitExt = ((int)0x0010) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT4_QCOM = 0x00100000
+ ///
+ StencilBufferBit4Qcom = ((int)0x00100000) ,
+ ///
+ /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020
+ ///
+ MapUnsynchronizedBit = ((int)0x0020) ,
+ ///
+ /// Original was GL_MAP_UNSYNCHRONIZED_BIT_EXT = 0x0020
+ ///
+ MapUnsynchronizedBitExt = ((int)0x0020) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT5_QCOM = 0x00200000
+ ///
+ StencilBufferBit5Qcom = ((int)0x00200000) ,
+ ///
+ /// Original was GL_MAP_PERSISTENT_BIT = 0x0040
+ ///
+ MapPersistentBit = ((int)0x0040) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT6_QCOM = 0x00400000
+ ///
+ StencilBufferBit6Qcom = ((int)0x00400000) ,
+ ///
+ /// Original was GL_MAP_COHERENT_BIT = 0x0080
+ ///
+ MapCoherentBit = ((int)0x0080) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT7_QCOM = 0x00800000
+ ///
+ StencilBufferBit7Qcom = ((int)0x00800000) ,
+ ///
+ /// Original was GL_ACCUM = 0x0100
+ ///
+ Accum = ((int)0x0100) ,
+ ///
+ /// Original was GL_DYNAMIC_STORAGE_BIT = 0x0100
+ ///
+ DynamicStorageBit = ((int)0x0100) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT0_QCOM = 0x01000000
+ ///
+ MultisampleBufferBit0Qcom = ((int)0x01000000) ,
+ ///
+ /// Original was GL_LOAD = 0x0101
+ ///
+ Load = ((int)0x0101) ,
+ ///
+ /// Original was GL_RETURN = 0x0102
+ ///
+ Return = ((int)0x0102) ,
+ ///
+ /// Original was GL_MULT = 0x0103
+ ///
+ Mult = ((int)0x0103) ,
+ ///
+ /// Original was GL_ADD = 0x0104
+ ///
+ Add = ((int)0x0104) ,
+ ///
+ /// Original was GL_CLIENT_STORAGE_BIT = 0x0200
+ ///
+ ClientStorageBit = ((int)0x0200) ,
+ ///
+ /// Original was GL_NEVER = 0x0200
+ ///
+ Never = ((int)0x0200) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT1_QCOM = 0x02000000
+ ///
+ MultisampleBufferBit1Qcom = ((int)0x02000000) ,
+ ///
+ /// Original was GL_LESS = 0x0201
+ ///
+ Less = ((int)0x0201) ,
+ ///
+ /// Original was GL_EQUAL = 0x0202
+ ///
+ Equal = ((int)0x0202) ,
+ ///
+ /// Original was GL_LEQUAL = 0x0203
+ ///
+ Lequal = ((int)0x0203) ,
+ ///
+ /// Original was GL_GREATER = 0x0204
+ ///
+ Greater = ((int)0x0204) ,
+ ///
+ /// Original was GL_NOTEQUAL = 0x0205
+ ///
+ Notequal = ((int)0x0205) ,
+ ///
+ /// Original was GL_GEQUAL = 0x0206
+ ///
+ Gequal = ((int)0x0206) ,
+ ///
+ /// Original was GL_ALWAYS = 0x0207
+ ///
+ Always = ((int)0x0207) ,
+ ///
+ /// Original was GL_SRC_COLOR = 0x0300
+ ///
+ SrcColor = ((int)0x0300) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301
+ ///
+ OneMinusSrcColor = ((int)0x0301) ,
+ ///
+ /// Original was GL_SRC_ALPHA = 0x0302
+ ///
+ SrcAlpha = ((int)0x0302) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303
+ ///
+ OneMinusSrcAlpha = ((int)0x0303) ,
+ ///
+ /// Original was GL_DST_ALPHA = 0x0304
+ ///
+ DstAlpha = ((int)0x0304) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305
+ ///
+ OneMinusDstAlpha = ((int)0x0305) ,
+ ///
+ /// Original was GL_DST_COLOR = 0x0306
+ ///
+ DstColor = ((int)0x0306) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307
+ ///
+ OneMinusDstColor = ((int)0x0307) ,
+ ///
+ /// Original was GL_SRC_ALPHA_SATURATE = 0x0308
+ ///
+ SrcAlphaSaturate = ((int)0x0308) ,
+ ///
+ /// Original was GL_FRONT_LEFT = 0x0400
+ ///
+ FrontLeft = ((int)0x0400) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT2_QCOM = 0x04000000
+ ///
+ MultisampleBufferBit2Qcom = ((int)0x04000000) ,
+ ///
+ /// Original was GL_FRONT_RIGHT = 0x0401
+ ///
+ FrontRight = ((int)0x0401) ,
+ ///
+ /// Original was GL_BACK_LEFT = 0x0402
+ ///
+ BackLeft = ((int)0x0402) ,
+ ///
+ /// Original was GL_BACK_RIGHT = 0x0403
+ ///
+ BackRight = ((int)0x0403) ,
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_LEFT = 0x0406
+ ///
+ Left = ((int)0x0406) ,
+ ///
+ /// Original was GL_RIGHT = 0x0407
+ ///
+ Right = ((int)0x0407) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ ///
+ /// Original was GL_AUX0 = 0x0409
+ ///
+ Aux0 = ((int)0x0409) ,
+ ///
+ /// Original was GL_AUX1 = 0x040A
+ ///
+ Aux1 = ((int)0x040A) ,
+ ///
+ /// Original was GL_AUX2 = 0x040B
+ ///
+ Aux2 = ((int)0x040B) ,
+ ///
+ /// Original was GL_AUX3 = 0x040C
+ ///
+ Aux3 = ((int)0x040C) ,
+ ///
+ /// Original was GL_INVALID_ENUM = 0x0500
+ ///
+ InvalidEnum = ((int)0x0500) ,
+ ///
+ /// Original was GL_INVALID_VALUE = 0x0501
+ ///
+ InvalidValue = ((int)0x0501) ,
+ ///
+ /// Original was GL_INVALID_OPERATION = 0x0502
+ ///
+ InvalidOperation = ((int)0x0502) ,
+ ///
+ /// Original was GL_STACK_OVERFLOW = 0x0503
+ ///
+ StackOverflow = ((int)0x0503) ,
+ ///
+ /// Original was GL_STACK_UNDERFLOW = 0x0504
+ ///
+ StackUnderflow = ((int)0x0504) ,
+ ///
+ /// Original was GL_OUT_OF_MEMORY = 0x0505
+ ///
+ OutOfMemory = ((int)0x0505) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506
+ ///
+ InvalidFramebufferOperation = ((int)0x0506) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506
+ ///
+ InvalidFramebufferOperationExt = ((int)0x0506) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506
+ ///
+ InvalidFramebufferOperationOes = ((int)0x0506) ,
+ ///
+ /// Original was GL_2D = 0x0600
+ ///
+ Gl2D = ((int)0x0600) ,
+ ///
+ /// Original was GL_3D = 0x0601
+ ///
+ Gl3D = ((int)0x0601) ,
+ ///
+ /// Original was GL_3D_COLOR = 0x0602
+ ///
+ Gl3DColor = ((int)0x0602) ,
+ ///
+ /// Original was GL_3D_COLOR_TEXTURE = 0x0603
+ ///
+ Gl3DColorTexture = ((int)0x0603) ,
+ ///
+ /// Original was GL_4D_COLOR_TEXTURE = 0x0604
+ ///
+ Gl4DColorTexture = ((int)0x0604) ,
+ ///
+ /// Original was GL_PASS_THROUGH_TOKEN = 0x0700
+ ///
+ PassThroughToken = ((int)0x0700) ,
+ ///
+ /// Original was GL_POINT_TOKEN = 0x0701
+ ///
+ PointToken = ((int)0x0701) ,
+ ///
+ /// Original was GL_LINE_TOKEN = 0x0702
+ ///
+ LineToken = ((int)0x0702) ,
+ ///
+ /// Original was GL_POLYGON_TOKEN = 0x0703
+ ///
+ PolygonToken = ((int)0x0703) ,
+ ///
+ /// Original was GL_BITMAP_TOKEN = 0x0704
+ ///
+ BitmapToken = ((int)0x0704) ,
+ ///
+ /// Original was GL_DRAW_PIXEL_TOKEN = 0x0705
+ ///
+ DrawPixelToken = ((int)0x0705) ,
+ ///
+ /// Original was GL_COPY_PIXEL_TOKEN = 0x0706
+ ///
+ CopyPixelToken = ((int)0x0706) ,
+ ///
+ /// Original was GL_LINE_RESET_TOKEN = 0x0707
+ ///
+ LineResetToken = ((int)0x0707) ,
+ ///
+ /// Original was GL_EXP = 0x0800
+ ///
+ Exp = ((int)0x0800) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT3_QCOM = 0x08000000
+ ///
+ MultisampleBufferBit3Qcom = ((int)0x08000000) ,
+ ///
+ /// Original was GL_EXP2 = 0x0801
+ ///
+ Exp2 = ((int)0x0801) ,
+ ///
+ /// Original was GL_CW = 0x0900
+ ///
+ Cw = ((int)0x0900) ,
+ ///
+ /// Original was GL_CCW = 0x0901
+ ///
+ Ccw = ((int)0x0901) ,
+ ///
+ /// Original was GL_COEFF = 0x0A00
+ ///
+ Coeff = ((int)0x0A00) ,
+ ///
+ /// Original was GL_ORDER = 0x0A01
+ ///
+ Order = ((int)0x0A01) ,
+ ///
+ /// Original was GL_DOMAIN = 0x0A02
+ ///
+ Domain = ((int)0x0A02) ,
+ ///
+ /// Original was GL_CURRENT_COLOR = 0x0B00
+ ///
+ CurrentColor = ((int)0x0B00) ,
+ ///
+ /// Original was GL_CURRENT_INDEX = 0x0B01
+ ///
+ CurrentIndex = ((int)0x0B01) ,
+ ///
+ /// Original was GL_CURRENT_NORMAL = 0x0B02
+ ///
+ CurrentNormal = ((int)0x0B02) ,
+ ///
+ /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03
+ ///
+ CurrentTextureCoords = ((int)0x0B03) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_COLOR = 0x0B04
+ ///
+ CurrentRasterColor = ((int)0x0B04) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_INDEX = 0x0B05
+ ///
+ CurrentRasterIndex = ((int)0x0B05) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06
+ ///
+ CurrentRasterTextureCoords = ((int)0x0B06) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_POSITION = 0x0B07
+ ///
+ CurrentRasterPosition = ((int)0x0B07) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_POSITION_VALID = 0x0B08
+ ///
+ CurrentRasterPositionValid = ((int)0x0B08) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_DISTANCE = 0x0B09
+ ///
+ CurrentRasterDistance = ((int)0x0B09) ,
+ ///
+ /// Original was GL_POINT_SMOOTH = 0x0B10
+ ///
+ PointSmooth = ((int)0x0B10) ,
+ ///
+ /// Original was GL_POINT_SIZE = 0x0B11
+ ///
+ PointSize = ((int)0x0B11) ,
+ ///
+ /// Original was GL_POINT_SIZE_RANGE = 0x0B12
+ ///
+ PointSizeRange = ((int)0x0B12) ,
+ ///
+ /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
+ ///
+ SmoothPointSizeRange = ((int)0x0B12) ,
+ ///
+ /// Original was GL_POINT_SIZE_GRANULARITY = 0x0B13
+ ///
+ PointSizeGranularity = ((int)0x0B13) ,
+ ///
+ /// Original was GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
+ ///
+ SmoothPointSizeGranularity = ((int)0x0B13) ,
+ ///
+ /// Original was GL_LINE_SMOOTH = 0x0B20
+ ///
+ LineSmooth = ((int)0x0B20) ,
+ ///
+ /// Original was GL_LINE_WIDTH = 0x0B21
+ ///
+ LineWidth = ((int)0x0B21) ,
+ ///
+ /// Original was GL_LINE_WIDTH_RANGE = 0x0B22
+ ///
+ LineWidthRange = ((int)0x0B22) ,
+ ///
+ /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
+ ///
+ SmoothLineWidthRange = ((int)0x0B22) ,
+ ///
+ /// Original was GL_LINE_WIDTH_GRANULARITY = 0x0B23
+ ///
+ LineWidthGranularity = ((int)0x0B23) ,
+ ///
+ /// Original was GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
+ ///
+ SmoothLineWidthGranularity = ((int)0x0B23) ,
+ ///
+ /// Original was GL_LINE_STIPPLE = 0x0B24
+ ///
+ LineStipple = ((int)0x0B24) ,
+ ///
+ /// Original was GL_LINE_STIPPLE_PATTERN = 0x0B25
+ ///
+ LineStipplePattern = ((int)0x0B25) ,
+ ///
+ /// Original was GL_LINE_STIPPLE_REPEAT = 0x0B26
+ ///
+ LineStippleRepeat = ((int)0x0B26) ,
+ ///
+ /// Original was GL_LIST_MODE = 0x0B30
+ ///
+ ListMode = ((int)0x0B30) ,
+ ///
+ /// Original was GL_MAX_LIST_NESTING = 0x0B31
+ ///
+ MaxListNesting = ((int)0x0B31) ,
+ ///
+ /// Original was GL_LIST_BASE = 0x0B32
+ ///
+ ListBase = ((int)0x0B32) ,
+ ///
+ /// Original was GL_LIST_INDEX = 0x0B33
+ ///
+ ListIndex = ((int)0x0B33) ,
+ ///
+ /// Original was GL_POLYGON_MODE = 0x0B40
+ ///
+ PolygonMode = ((int)0x0B40) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH = 0x0B41
+ ///
+ PolygonSmooth = ((int)0x0B41) ,
+ ///
+ /// Original was GL_POLYGON_STIPPLE = 0x0B42
+ ///
+ PolygonStipple = ((int)0x0B42) ,
+ ///
+ /// Original was GL_EDGE_FLAG = 0x0B43
+ ///
+ EdgeFlag = ((int)0x0B43) ,
+ ///
+ /// Original was GL_CULL_FACE = 0x0B44
+ ///
+ CullFace = ((int)0x0B44) ,
+ ///
+ /// Original was GL_CULL_FACE_MODE = 0x0B45
+ ///
+ CullFaceMode = ((int)0x0B45) ,
+ ///
+ /// Original was GL_FRONT_FACE = 0x0B46
+ ///
+ FrontFace = ((int)0x0B46) ,
+ ///
+ /// Original was GL_LIGHTING = 0x0B50
+ ///
+ Lighting = ((int)0x0B50) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
+ ///
+ LightModelLocalViewer = ((int)0x0B51) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
+ ///
+ LightModelTwoSide = ((int)0x0B52) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53
+ ///
+ LightModelAmbient = ((int)0x0B53) ,
+ ///
+ /// Original was GL_SHADE_MODEL = 0x0B54
+ ///
+ ShadeModel = ((int)0x0B54) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL_FACE = 0x0B55
+ ///
+ ColorMaterialFace = ((int)0x0B55) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL_PARAMETER = 0x0B56
+ ///
+ ColorMaterialParameter = ((int)0x0B56) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL = 0x0B57
+ ///
+ ColorMaterial = ((int)0x0B57) ,
+ ///
+ /// Original was GL_FOG = 0x0B60
+ ///
+ Fog = ((int)0x0B60) ,
+ ///
+ /// Original was GL_FOG_INDEX = 0x0B61
+ ///
+ FogIndex = ((int)0x0B61) ,
+ ///
+ /// Original was GL_FOG_DENSITY = 0x0B62
+ ///
+ FogDensity = ((int)0x0B62) ,
+ ///
+ /// Original was GL_FOG_START = 0x0B63
+ ///
+ FogStart = ((int)0x0B63) ,
+ ///
+ /// Original was GL_FOG_END = 0x0B64
+ ///
+ FogEnd = ((int)0x0B64) ,
+ ///
+ /// Original was GL_FOG_MODE = 0x0B65
+ ///
+ FogMode = ((int)0x0B65) ,
+ ///
+ /// Original was GL_FOG_COLOR = 0x0B66
+ ///
+ FogColor = ((int)0x0B66) ,
+ ///
+ /// Original was GL_DEPTH_RANGE = 0x0B70
+ ///
+ DepthRange = ((int)0x0B70) ,
+ ///
+ /// Original was GL_DEPTH_TEST = 0x0B71
+ ///
+ DepthTest = ((int)0x0B71) ,
+ ///
+ /// Original was GL_DEPTH_WRITEMASK = 0x0B72
+ ///
+ DepthWritemask = ((int)0x0B72) ,
+ ///
+ /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73
+ ///
+ DepthClearValue = ((int)0x0B73) ,
+ ///
+ /// Original was GL_DEPTH_FUNC = 0x0B74
+ ///
+ DepthFunc = ((int)0x0B74) ,
+ ///
+ /// Original was GL_ACCUM_CLEAR_VALUE = 0x0B80
+ ///
+ AccumClearValue = ((int)0x0B80) ,
+ ///
+ /// Original was GL_STENCIL_TEST = 0x0B90
+ ///
+ StencilTest = ((int)0x0B90) ,
+ ///
+ /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91
+ ///
+ StencilClearValue = ((int)0x0B91) ,
+ ///
+ /// Original was GL_STENCIL_FUNC = 0x0B92
+ ///
+ StencilFunc = ((int)0x0B92) ,
+ ///
+ /// Original was GL_STENCIL_VALUE_MASK = 0x0B93
+ ///
+ StencilValueMask = ((int)0x0B93) ,
+ ///
+ /// Original was GL_STENCIL_FAIL = 0x0B94
+ ///
+ StencilFail = ((int)0x0B94) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95
+ ///
+ StencilPassDepthFail = ((int)0x0B95) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96
+ ///
+ StencilPassDepthPass = ((int)0x0B96) ,
+ ///
+ /// Original was GL_STENCIL_REF = 0x0B97
+ ///
+ StencilRef = ((int)0x0B97) ,
+ ///
+ /// Original was GL_STENCIL_WRITEMASK = 0x0B98
+ ///
+ StencilWritemask = ((int)0x0B98) ,
+ ///
+ /// Original was GL_MATRIX_MODE = 0x0BA0
+ ///
+ MatrixMode = ((int)0x0BA0) ,
+ ///
+ /// Original was GL_NORMALIZE = 0x0BA1
+ ///
+ Normalize = ((int)0x0BA1) ,
+ ///
+ /// Original was GL_VIEWPORT = 0x0BA2
+ ///
+ Viewport = ((int)0x0BA2) ,
+ ///
+ /// Original was GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3
+ ///
+ Modelview0StackDepthExt = ((int)0x0BA3) ,
+ ///
+ /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3
+ ///
+ ModelviewStackDepth = ((int)0x0BA3) ,
+ ///
+ /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4
+ ///
+ ProjectionStackDepth = ((int)0x0BA4) ,
+ ///
+ /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5
+ ///
+ TextureStackDepth = ((int)0x0BA5) ,
+ ///
+ /// Original was GL_MODELVIEW0_MATRIX_EXT = 0x0BA6
+ ///
+ Modelview0MatrixExt = ((int)0x0BA6) ,
+ ///
+ /// Original was GL_MODELVIEW_MATRIX = 0x0BA6
+ ///
+ ModelviewMatrix = ((int)0x0BA6) ,
+ ///
+ /// Original was GL_PROJECTION_MATRIX = 0x0BA7
+ ///
+ ProjectionMatrix = ((int)0x0BA7) ,
+ ///
+ /// Original was GL_TEXTURE_MATRIX = 0x0BA8
+ ///
+ TextureMatrix = ((int)0x0BA8) ,
+ ///
+ /// Original was GL_ATTRIB_STACK_DEPTH = 0x0BB0
+ ///
+ AttribStackDepth = ((int)0x0BB0) ,
+ ///
+ /// Original was GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
+ ///
+ ClientAttribStackDepth = ((int)0x0BB1) ,
+ ///
+ /// Original was GL_ALPHA_TEST = 0x0BC0
+ ///
+ AlphaTest = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_ALPHA_TEST_QCOM = 0x0BC0
+ ///
+ AlphaTestQcom = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1
+ ///
+ AlphaTestFunc = ((int)0x0BC1) ,
+ ///
+ /// Original was GL_ALPHA_TEST_FUNC_QCOM = 0x0BC1
+ ///
+ AlphaTestFuncQcom = ((int)0x0BC1) ,
+ ///
+ /// Original was GL_ALPHA_TEST_REF = 0x0BC2
+ ///
+ AlphaTestRef = ((int)0x0BC2) ,
+ ///
+ /// Original was GL_ALPHA_TEST_REF_QCOM = 0x0BC2
+ ///
+ AlphaTestRefQcom = ((int)0x0BC2) ,
+ ///
+ /// Original was GL_DITHER = 0x0BD0
+ ///
+ Dither = ((int)0x0BD0) ,
+ ///
+ /// Original was GL_BLEND_DST = 0x0BE0
+ ///
+ BlendDst = ((int)0x0BE0) ,
+ ///
+ /// Original was GL_BLEND_SRC = 0x0BE1
+ ///
+ BlendSrc = ((int)0x0BE1) ,
+ ///
+ /// Original was GL_BLEND = 0x0BE2
+ ///
+ Blend = ((int)0x0BE2) ,
+ ///
+ /// Original was GL_LOGIC_OP_MODE = 0x0BF0
+ ///
+ LogicOpMode = ((int)0x0BF0) ,
+ ///
+ /// Original was GL_INDEX_LOGIC_OP = 0x0BF1
+ ///
+ IndexLogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_LOGIC_OP = 0x0BF1
+ ///
+ LogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_COLOR_LOGIC_OP = 0x0BF2
+ ///
+ ColorLogicOp = ((int)0x0BF2) ,
+ ///
+ /// Original was GL_AUX_BUFFERS = 0x0C00
+ ///
+ AuxBuffers = ((int)0x0C00) ,
+ ///
+ /// Original was GL_DRAW_BUFFER = 0x0C01
+ ///
+ DrawBuffer = ((int)0x0C01) ,
+ ///
+ /// Original was GL_DRAW_BUFFER_EXT = 0x0C01
+ ///
+ DrawBufferExt = ((int)0x0C01) ,
+ ///
+ /// Original was GL_READ_BUFFER = 0x0C02
+ ///
+ ReadBuffer = ((int)0x0C02) ,
+ ///
+ /// Original was GL_READ_BUFFER_EXT = 0x0C02
+ ///
+ ReadBufferExt = ((int)0x0C02) ,
+ ///
+ /// Original was GL_READ_BUFFER_NV = 0x0C02
+ ///
+ ReadBufferNv = ((int)0x0C02) ,
+ ///
+ /// Original was GL_SCISSOR_BOX = 0x0C10
+ ///
+ ScissorBox = ((int)0x0C10) ,
+ ///
+ /// Original was GL_SCISSOR_TEST = 0x0C11
+ ///
+ ScissorTest = ((int)0x0C11) ,
+ ///
+ /// Original was GL_INDEX_CLEAR_VALUE = 0x0C20
+ ///
+ IndexClearValue = ((int)0x0C20) ,
+ ///
+ /// Original was GL_INDEX_WRITEMASK = 0x0C21
+ ///
+ IndexWritemask = ((int)0x0C21) ,
+ ///
+ /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22
+ ///
+ ColorClearValue = ((int)0x0C22) ,
+ ///
+ /// Original was GL_COLOR_WRITEMASK = 0x0C23
+ ///
+ ColorWritemask = ((int)0x0C23) ,
+ ///
+ /// Original was GL_INDEX_MODE = 0x0C30
+ ///
+ IndexMode = ((int)0x0C30) ,
+ ///
+ /// Original was GL_RGBA_MODE = 0x0C31
+ ///
+ RgbaMode = ((int)0x0C31) ,
+ ///
+ /// Original was GL_DOUBLEBUFFER = 0x0C32
+ ///
+ Doublebuffer = ((int)0x0C32) ,
+ ///
+ /// Original was GL_STEREO = 0x0C33
+ ///
+ Stereo = ((int)0x0C33) ,
+ ///
+ /// Original was GL_RENDER_MODE = 0x0C40
+ ///
+ RenderMode = ((int)0x0C40) ,
+ ///
+ /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
+ ///
+ PerspectiveCorrectionHint = ((int)0x0C50) ,
+ ///
+ /// Original was GL_POINT_SMOOTH_HINT = 0x0C51
+ ///
+ PointSmoothHint = ((int)0x0C51) ,
+ ///
+ /// Original was GL_LINE_SMOOTH_HINT = 0x0C52
+ ///
+ LineSmoothHint = ((int)0x0C52) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53
+ ///
+ PolygonSmoothHint = ((int)0x0C53) ,
+ ///
+ /// Original was GL_FOG_HINT = 0x0C54
+ ///
+ FogHint = ((int)0x0C54) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_S = 0x0C60
+ ///
+ TextureGenS = ((int)0x0C60) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_T = 0x0C61
+ ///
+ TextureGenT = ((int)0x0C61) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_R = 0x0C62
+ ///
+ TextureGenR = ((int)0x0C62) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_Q = 0x0C63
+ ///
+ TextureGenQ = ((int)0x0C63) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70
+ ///
+ PixelMapIToI = ((int)0x0C70) ,
+ ///
+ /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71
+ ///
+ PixelMapSToS = ((int)0x0C71) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72
+ ///
+ PixelMapIToR = ((int)0x0C72) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73
+ ///
+ PixelMapIToG = ((int)0x0C73) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74
+ ///
+ PixelMapIToB = ((int)0x0C74) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75
+ ///
+ PixelMapIToA = ((int)0x0C75) ,
+ ///
+ /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76
+ ///
+ PixelMapRToR = ((int)0x0C76) ,
+ ///
+ /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77
+ ///
+ PixelMapGToG = ((int)0x0C77) ,
+ ///
+ /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78
+ ///
+ PixelMapBToB = ((int)0x0C78) ,
+ ///
+ /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79
+ ///
+ PixelMapAToA = ((int)0x0C79) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0
+ ///
+ PixelMapIToISize = ((int)0x0CB0) ,
+ ///
+ /// Original was GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1
+ ///
+ PixelMapSToSSize = ((int)0x0CB1) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2
+ ///
+ PixelMapIToRSize = ((int)0x0CB2) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3
+ ///
+ PixelMapIToGSize = ((int)0x0CB3) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4
+ ///
+ PixelMapIToBSize = ((int)0x0CB4) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5
+ ///
+ PixelMapIToASize = ((int)0x0CB5) ,
+ ///
+ /// Original was GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6
+ ///
+ PixelMapRToRSize = ((int)0x0CB6) ,
+ ///
+ /// Original was GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7
+ ///
+ PixelMapGToGSize = ((int)0x0CB7) ,
+ ///
+ /// Original was GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8
+ ///
+ PixelMapBToBSize = ((int)0x0CB8) ,
+ ///
+ /// Original was GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9
+ ///
+ PixelMapAToASize = ((int)0x0CB9) ,
+ ///
+ /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0
+ ///
+ UnpackSwapBytes = ((int)0x0CF0) ,
+ ///
+ /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1
+ ///
+ UnpackLsbFirst = ((int)0x0CF1) ,
+ ///
+ /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2
+ ///
+ UnpackRowLength = ((int)0x0CF2) ,
+ ///
+ /// Original was GL_UNPACK_ROW_LENGTH_EXT = 0x0CF2
+ ///
+ UnpackRowLengthExt = ((int)0x0CF2) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3
+ ///
+ UnpackSkipRows = ((int)0x0CF3) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_ROWS_EXT = 0x0CF3
+ ///
+ UnpackSkipRowsExt = ((int)0x0CF3) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4
+ ///
+ UnpackSkipPixels = ((int)0x0CF4) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_PIXELS_EXT = 0x0CF4
+ ///
+ UnpackSkipPixelsExt = ((int)0x0CF4) ,
+ ///
+ /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5
+ ///
+ UnpackAlignment = ((int)0x0CF5) ,
+ ///
+ /// Original was GL_PACK_SWAP_BYTES = 0x0D00
+ ///
+ PackSwapBytes = ((int)0x0D00) ,
+ ///
+ /// Original was GL_PACK_LSB_FIRST = 0x0D01
+ ///
+ PackLsbFirst = ((int)0x0D01) ,
+ ///
+ /// Original was GL_PACK_ROW_LENGTH = 0x0D02
+ ///
+ PackRowLength = ((int)0x0D02) ,
+ ///
+ /// Original was GL_PACK_SKIP_ROWS = 0x0D03
+ ///
+ PackSkipRows = ((int)0x0D03) ,
+ ///
+ /// Original was GL_PACK_SKIP_PIXELS = 0x0D04
+ ///
+ PackSkipPixels = ((int)0x0D04) ,
+ ///
+ /// Original was GL_PACK_ALIGNMENT = 0x0D05
+ ///
+ PackAlignment = ((int)0x0D05) ,
+ ///
+ /// Original was GL_MAP_COLOR = 0x0D10
+ ///
+ MapColor = ((int)0x0D10) ,
+ ///
+ /// Original was GL_MAP_STENCIL = 0x0D11
+ ///
+ MapStencil = ((int)0x0D11) ,
+ ///
+ /// Original was GL_INDEX_SHIFT = 0x0D12
+ ///
+ IndexShift = ((int)0x0D12) ,
+ ///
+ /// Original was GL_INDEX_OFFSET = 0x0D13
+ ///
+ IndexOffset = ((int)0x0D13) ,
+ ///
+ /// Original was GL_RED_SCALE = 0x0D14
+ ///
+ RedScale = ((int)0x0D14) ,
+ ///
+ /// Original was GL_RED_BIAS = 0x0D15
+ ///
+ RedBias = ((int)0x0D15) ,
+ ///
+ /// Original was GL_ZOOM_X = 0x0D16
+ ///
+ ZoomX = ((int)0x0D16) ,
+ ///
+ /// Original was GL_ZOOM_Y = 0x0D17
+ ///
+ ZoomY = ((int)0x0D17) ,
+ ///
+ /// Original was GL_GREEN_SCALE = 0x0D18
+ ///
+ GreenScale = ((int)0x0D18) ,
+ ///
+ /// Original was GL_GREEN_BIAS = 0x0D19
+ ///
+ GreenBias = ((int)0x0D19) ,
+ ///
+ /// Original was GL_BLUE_SCALE = 0x0D1A
+ ///
+ BlueScale = ((int)0x0D1A) ,
+ ///
+ /// Original was GL_BLUE_BIAS = 0x0D1B
+ ///
+ BlueBias = ((int)0x0D1B) ,
+ ///
+ /// Original was GL_ALPHA_SCALE = 0x0D1C
+ ///
+ AlphaScale = ((int)0x0D1C) ,
+ ///
+ /// Original was GL_ALPHA_BIAS = 0x0D1D
+ ///
+ AlphaBias = ((int)0x0D1D) ,
+ ///
+ /// Original was GL_DEPTH_SCALE = 0x0D1E
+ ///
+ DepthScale = ((int)0x0D1E) ,
+ ///
+ /// Original was GL_DEPTH_BIAS = 0x0D1F
+ ///
+ DepthBias = ((int)0x0D1F) ,
+ ///
+ /// Original was GL_MAX_EVAL_ORDER = 0x0D30
+ ///
+ MaxEvalOrder = ((int)0x0D30) ,
+ ///
+ /// Original was GL_MAX_LIGHTS = 0x0D31
+ ///
+ MaxLights = ((int)0x0D31) ,
+ ///
+ /// Original was GL_MAX_CLIP_DISTANCES = 0x0D32
+ ///
+ MaxClipDistances = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_CLIP_PLANES = 0x0D32
+ ///
+ MaxClipPlanes = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_CLIP_PLANES_IMG = 0x0D32
+ ///
+ MaxClipPlanesImg = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33
+ ///
+ MaxTextureSize = ((int)0x0D33) ,
+ ///
+ /// Original was GL_MAX_PIXEL_MAP_TABLE = 0x0D34
+ ///
+ MaxPixelMapTable = ((int)0x0D34) ,
+ ///
+ /// Original was GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35
+ ///
+ MaxAttribStackDepth = ((int)0x0D35) ,
+ ///
+ /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36
+ ///
+ MaxModelviewStackDepth = ((int)0x0D36) ,
+ ///
+ /// Original was GL_MAX_NAME_STACK_DEPTH = 0x0D37
+ ///
+ MaxNameStackDepth = ((int)0x0D37) ,
+ ///
+ /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
+ ///
+ MaxProjectionStackDepth = ((int)0x0D38) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
+ ///
+ MaxTextureStackDepth = ((int)0x0D39) ,
+ ///
+ /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A
+ ///
+ MaxViewportDims = ((int)0x0D3A) ,
+ ///
+ /// Original was GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
+ ///
+ MaxClientAttribStackDepth = ((int)0x0D3B) ,
+ ///
+ /// Original was GL_SUBPIXEL_BITS = 0x0D50
+ ///
+ SubpixelBits = ((int)0x0D50) ,
+ ///
+ /// Original was GL_INDEX_BITS = 0x0D51
+ ///
+ IndexBits = ((int)0x0D51) ,
+ ///
+ /// Original was GL_RED_BITS = 0x0D52
+ ///
+ RedBits = ((int)0x0D52) ,
+ ///
+ /// Original was GL_GREEN_BITS = 0x0D53
+ ///
+ GreenBits = ((int)0x0D53) ,
+ ///
+ /// Original was GL_BLUE_BITS = 0x0D54
+ ///
+ BlueBits = ((int)0x0D54) ,
+ ///
+ /// Original was GL_ALPHA_BITS = 0x0D55
+ ///
+ AlphaBits = ((int)0x0D55) ,
+ ///
+ /// Original was GL_DEPTH_BITS = 0x0D56
+ ///
+ DepthBits = ((int)0x0D56) ,
+ ///
+ /// Original was GL_STENCIL_BITS = 0x0D57
+ ///
+ StencilBits = ((int)0x0D57) ,
+ ///
+ /// Original was GL_ACCUM_RED_BITS = 0x0D58
+ ///
+ AccumRedBits = ((int)0x0D58) ,
+ ///
+ /// Original was GL_ACCUM_GREEN_BITS = 0x0D59
+ ///
+ AccumGreenBits = ((int)0x0D59) ,
+ ///
+ /// Original was GL_ACCUM_BLUE_BITS = 0x0D5A
+ ///
+ AccumBlueBits = ((int)0x0D5A) ,
+ ///
+ /// Original was GL_ACCUM_ALPHA_BITS = 0x0D5B
+ ///
+ AccumAlphaBits = ((int)0x0D5B) ,
+ ///
+ /// Original was GL_NAME_STACK_DEPTH = 0x0D70
+ ///
+ NameStackDepth = ((int)0x0D70) ,
+ ///
+ /// Original was GL_AUTO_NORMAL = 0x0D80
+ ///
+ AutoNormal = ((int)0x0D80) ,
+ ///
+ /// Original was GL_MAP1_COLOR_4 = 0x0D90
+ ///
+ Map1Color4 = ((int)0x0D90) ,
+ ///
+ /// Original was GL_MAP1_INDEX = 0x0D91
+ ///
+ Map1Index = ((int)0x0D91) ,
+ ///
+ /// Original was GL_MAP1_NORMAL = 0x0D92
+ ///
+ Map1Normal = ((int)0x0D92) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93
+ ///
+ Map1TextureCoord1 = ((int)0x0D93) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94
+ ///
+ Map1TextureCoord2 = ((int)0x0D94) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95
+ ///
+ Map1TextureCoord3 = ((int)0x0D95) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96
+ ///
+ Map1TextureCoord4 = ((int)0x0D96) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_3 = 0x0D97
+ ///
+ Map1Vertex3 = ((int)0x0D97) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_4 = 0x0D98
+ ///
+ Map1Vertex4 = ((int)0x0D98) ,
+ ///
+ /// Original was GL_MAP2_COLOR_4 = 0x0DB0
+ ///
+ Map2Color4 = ((int)0x0DB0) ,
+ ///
+ /// Original was GL_MAP2_INDEX = 0x0DB1
+ ///
+ Map2Index = ((int)0x0DB1) ,
+ ///
+ /// Original was GL_MAP2_NORMAL = 0x0DB2
+ ///
+ Map2Normal = ((int)0x0DB2) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
+ ///
+ Map2TextureCoord1 = ((int)0x0DB3) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
+ ///
+ Map2TextureCoord2 = ((int)0x0DB4) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
+ ///
+ Map2TextureCoord3 = ((int)0x0DB5) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
+ ///
+ Map2TextureCoord4 = ((int)0x0DB6) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_3 = 0x0DB7
+ ///
+ Map2Vertex3 = ((int)0x0DB7) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_4 = 0x0DB8
+ ///
+ Map2Vertex4 = ((int)0x0DB8) ,
+ ///
+ /// Original was GL_MAP1_GRID_DOMAIN = 0x0DD0
+ ///
+ Map1GridDomain = ((int)0x0DD0) ,
+ ///
+ /// Original was GL_MAP1_GRID_SEGMENTS = 0x0DD1
+ ///
+ Map1GridSegments = ((int)0x0DD1) ,
+ ///
+ /// Original was GL_MAP2_GRID_DOMAIN = 0x0DD2
+ ///
+ Map2GridDomain = ((int)0x0DD2) ,
+ ///
+ /// Original was GL_MAP2_GRID_SEGMENTS = 0x0DD3
+ ///
+ Map2GridSegments = ((int)0x0DD3) ,
+ ///
+ /// Original was GL_TEXTURE_1D = 0x0DE0
+ ///
+ Texture1D = ((int)0x0DE0) ,
+ ///
+ /// Original was GL_TEXTURE_2D = 0x0DE1
+ ///
+ Texture2D = ((int)0x0DE1) ,
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
+ ///
+ FeedbackBufferPointer = ((int)0x0DF0) ,
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
+ ///
+ FeedbackBufferSize = ((int)0x0DF1) ,
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
+ ///
+ FeedbackBufferType = ((int)0x0DF2) ,
+ ///
+ /// Original was GL_SELECTION_BUFFER_POINTER = 0x0DF3
+ ///
+ SelectionBufferPointer = ((int)0x0DF3) ,
+ ///
+ /// Original was GL_SELECTION_BUFFER_SIZE = 0x0DF4
+ ///
+ SelectionBufferSize = ((int)0x0DF4) ,
+ ///
+ /// Original was GL_TEXTURE_WIDTH = 0x1000
+ ///
+ TextureWidth = ((int)0x1000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT4_QCOM = 0x10000000
+ ///
+ MultisampleBufferBit4Qcom = ((int)0x10000000) ,
+ ///
+ /// Original was GL_TEXTURE_HEIGHT = 0x1001
+ ///
+ TextureHeight = ((int)0x1001) ,
+ ///
+ /// Original was GL_TEXTURE_COMPONENTS = 0x1003
+ ///
+ TextureComponents = ((int)0x1003) ,
+ ///
+ /// Original was GL_TEXTURE_INTERNAL_FORMAT = 0x1003
+ ///
+ TextureInternalFormat = ((int)0x1003) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004
+ ///
+ TextureBorderColor = ((int)0x1004) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER_COLOR_NV = 0x1004
+ ///
+ TextureBorderColorNv = ((int)0x1004) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER = 0x1005
+ ///
+ TextureBorder = ((int)0x1005) ,
+ ///
+ /// Original was GL_DONT_CARE = 0x1100
+ ///
+ DontCare = ((int)0x1100) ,
+ ///
+ /// Original was GL_FASTEST = 0x1101
+ ///
+ Fastest = ((int)0x1101) ,
+ ///
+ /// Original was GL_NICEST = 0x1102
+ ///
+ Nicest = ((int)0x1102) ,
+ ///
+ /// Original was GL_AMBIENT = 0x1200
+ ///
+ Ambient = ((int)0x1200) ,
+ ///
+ /// Original was GL_DIFFUSE = 0x1201
+ ///
+ Diffuse = ((int)0x1201) ,
+ ///
+ /// Original was GL_SPECULAR = 0x1202
+ ///
+ Specular = ((int)0x1202) ,
+ ///
+ /// Original was GL_POSITION = 0x1203
+ ///
+ Position = ((int)0x1203) ,
+ ///
+ /// Original was GL_SPOT_DIRECTION = 0x1204
+ ///
+ SpotDirection = ((int)0x1204) ,
+ ///
+ /// Original was GL_SPOT_EXPONENT = 0x1205
+ ///
+ SpotExponent = ((int)0x1205) ,
+ ///
+ /// Original was GL_SPOT_CUTOFF = 0x1206
+ ///
+ SpotCutoff = ((int)0x1206) ,
+ ///
+ /// Original was GL_CONSTANT_ATTENUATION = 0x1207
+ ///
+ ConstantAttenuation = ((int)0x1207) ,
+ ///
+ /// Original was GL_LINEAR_ATTENUATION = 0x1208
+ ///
+ LinearAttenuation = ((int)0x1208) ,
+ ///
+ /// Original was GL_QUADRATIC_ATTENUATION = 0x1209
+ ///
+ QuadraticAttenuation = ((int)0x1209) ,
+ ///
+ /// Original was GL_COMPILE = 0x1300
+ ///
+ Compile = ((int)0x1300) ,
+ ///
+ /// Original was GL_COMPILE_AND_EXECUTE = 0x1301
+ ///
+ CompileAndExecute = ((int)0x1301) ,
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE = 0x1401
+ ///
+ UnsignedByte = ((int)0x1401) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_2_BYTES = 0x1407
+ ///
+ Gl2Bytes = ((int)0x1407) ,
+ ///
+ /// Original was GL_3_BYTES = 0x1408
+ ///
+ Gl3Bytes = ((int)0x1408) ,
+ ///
+ /// Original was GL_4_BYTES = 0x1409
+ ///
+ Gl4Bytes = ((int)0x1409) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ ///
+ /// Original was GL_FIXED = 0x140C
+ ///
+ Fixed = ((int)0x140C) ,
+ ///
+ /// Original was GL_FIXED_OES = 0x140C
+ ///
+ FixedOes = ((int)0x140C) ,
+ ///
+ /// Original was GL_CLEAR = 0x1500
+ ///
+ Clear = ((int)0x1500) ,
+ ///
+ /// Original was GL_AND = 0x1501
+ ///
+ And = ((int)0x1501) ,
+ ///
+ /// Original was GL_AND_REVERSE = 0x1502
+ ///
+ AndReverse = ((int)0x1502) ,
+ ///
+ /// Original was GL_COPY = 0x1503
+ ///
+ Copy = ((int)0x1503) ,
+ ///
+ /// Original was GL_AND_INVERTED = 0x1504
+ ///
+ AndInverted = ((int)0x1504) ,
+ ///
+ /// Original was GL_NOOP = 0x1505
+ ///
+ Noop = ((int)0x1505) ,
+ ///
+ /// Original was GL_XOR = 0x1506
+ ///
+ Xor = ((int)0x1506) ,
+ ///
+ /// Original was GL_OR = 0x1507
+ ///
+ Or = ((int)0x1507) ,
+ ///
+ /// Original was GL_NOR = 0x1508
+ ///
+ Nor = ((int)0x1508) ,
+ ///
+ /// Original was GL_EQUIV = 0x1509
+ ///
+ Equiv = ((int)0x1509) ,
+ ///
+ /// Original was GL_INVERT = 0x150A
+ ///
+ Invert = ((int)0x150A) ,
+ ///
+ /// Original was GL_OR_REVERSE = 0x150B
+ ///
+ OrReverse = ((int)0x150B) ,
+ ///
+ /// Original was GL_COPY_INVERTED = 0x150C
+ ///
+ CopyInverted = ((int)0x150C) ,
+ ///
+ /// Original was GL_OR_INVERTED = 0x150D
+ ///
+ OrInverted = ((int)0x150D) ,
+ ///
+ /// Original was GL_NAND = 0x150E
+ ///
+ Nand = ((int)0x150E) ,
+ ///
+ /// Original was GL_SET = 0x150F
+ ///
+ Set = ((int)0x150F) ,
+ ///
+ /// Original was GL_EMISSION = 0x1600
+ ///
+ Emission = ((int)0x1600) ,
+ ///
+ /// Original was GL_SHININESS = 0x1601
+ ///
+ Shininess = ((int)0x1601) ,
+ ///
+ /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602
+ ///
+ AmbientAndDiffuse = ((int)0x1602) ,
+ ///
+ /// Original was GL_COLOR_INDEXES = 0x1603
+ ///
+ ColorIndexes = ((int)0x1603) ,
+ ///
+ /// Original was GL_MODELVIEW = 0x1700
+ ///
+ Modelview = ((int)0x1700) ,
+ ///
+ /// Original was GL_MODELVIEW0_EXT = 0x1700
+ ///
+ Modelview0Ext = ((int)0x1700) ,
+ ///
+ /// Original was GL_PROJECTION = 0x1701
+ ///
+ Projection = ((int)0x1701) ,
+ ///
+ /// Original was GL_TEXTURE = 0x1702
+ ///
+ Texture = ((int)0x1702) ,
+ ///
+ /// Original was GL_COLOR = 0x1800
+ ///
+ Color = ((int)0x1800) ,
+ ///
+ /// Original was GL_COLOR_EXT = 0x1800
+ ///
+ ColorExt = ((int)0x1800) ,
+ ///
+ /// Original was GL_DEPTH = 0x1801
+ ///
+ Depth = ((int)0x1801) ,
+ ///
+ /// Original was GL_DEPTH_EXT = 0x1801
+ ///
+ DepthExt = ((int)0x1801) ,
+ ///
+ /// Original was GL_STENCIL = 0x1802
+ ///
+ Stencil = ((int)0x1802) ,
+ ///
+ /// Original was GL_STENCIL_EXT = 0x1802
+ ///
+ StencilExt = ((int)0x1802) ,
+ ///
+ /// Original was GL_COLOR_INDEX = 0x1900
+ ///
+ ColorIndex = ((int)0x1900) ,
+ ///
+ /// Original was GL_STENCIL_INDEX = 0x1901
+ ///
+ StencilIndex = ((int)0x1901) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT = 0x1902
+ ///
+ DepthComponent = ((int)0x1902) ,
+ ///
+ /// Original was GL_RED = 0x1903
+ ///
+ Red = ((int)0x1903) ,
+ ///
+ /// Original was GL_RED_EXT = 0x1903
+ ///
+ RedExt = ((int)0x1903) ,
+ ///
+ /// Original was GL_GREEN = 0x1904
+ ///
+ Green = ((int)0x1904) ,
+ ///
+ /// Original was GL_BLUE = 0x1905
+ ///
+ Blue = ((int)0x1905) ,
+ ///
+ /// Original was GL_ALPHA = 0x1906
+ ///
+ Alpha = ((int)0x1906) ,
+ ///
+ /// Original was GL_RGB = 0x1907
+ ///
+ Rgb = ((int)0x1907) ,
+ ///
+ /// Original was GL_RGBA = 0x1908
+ ///
+ Rgba = ((int)0x1908) ,
+ ///
+ /// Original was GL_LUMINANCE = 0x1909
+ ///
+ Luminance = ((int)0x1909) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA = 0x190A
+ ///
+ LuminanceAlpha = ((int)0x190A) ,
+ ///
+ /// Original was GL_BITMAP = 0x1A00
+ ///
+ Bitmap = ((int)0x1A00) ,
+ ///
+ /// Original was GL_PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8
+ ///
+ PreferDoublebufferHintPgi = ((int)0x1A1F8) ,
+ ///
+ /// Original was GL_CONSERVE_MEMORY_HINT_PGI = 0x1A1FD
+ ///
+ ConserveMemoryHintPgi = ((int)0x1A1FD) ,
+ ///
+ /// Original was GL_RECLAIM_MEMORY_HINT_PGI = 0x1A1FE
+ ///
+ ReclaimMemoryHintPgi = ((int)0x1A1FE) ,
+ ///
+ /// Original was GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203
+ ///
+ NativeGraphicsBeginHintPgi = ((int)0x1A203) ,
+ ///
+ /// Original was GL_NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204
+ ///
+ NativeGraphicsEndHintPgi = ((int)0x1A204) ,
+ ///
+ /// Original was GL_ALWAYS_FAST_HINT_PGI = 0x1A20C
+ ///
+ AlwaysFastHintPgi = ((int)0x1A20C) ,
+ ///
+ /// Original was GL_ALWAYS_SOFT_HINT_PGI = 0x1A20D
+ ///
+ AlwaysSoftHintPgi = ((int)0x1A20D) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E
+ ///
+ AllowDrawObjHintPgi = ((int)0x1A20E) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F
+ ///
+ AllowDrawWinHintPgi = ((int)0x1A20F) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_FRG_HINT_PGI = 0x1A210
+ ///
+ AllowDrawFrgHintPgi = ((int)0x1A210) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_MEM_HINT_PGI = 0x1A211
+ ///
+ AllowDrawMemHintPgi = ((int)0x1A211) ,
+ ///
+ /// Original was GL_STRICT_DEPTHFUNC_HINT_PGI = 0x1A216
+ ///
+ StrictDepthfuncHintPgi = ((int)0x1A216) ,
+ ///
+ /// Original was GL_STRICT_LIGHTING_HINT_PGI = 0x1A217
+ ///
+ StrictLightingHintPgi = ((int)0x1A217) ,
+ ///
+ /// Original was GL_STRICT_SCISSOR_HINT_PGI = 0x1A218
+ ///
+ StrictScissorHintPgi = ((int)0x1A218) ,
+ ///
+ /// Original was GL_FULL_STIPPLE_HINT_PGI = 0x1A219
+ ///
+ FullStippleHintPgi = ((int)0x1A219) ,
+ ///
+ /// Original was GL_CLIP_NEAR_HINT_PGI = 0x1A220
+ ///
+ ClipNearHintPgi = ((int)0x1A220) ,
+ ///
+ /// Original was GL_CLIP_FAR_HINT_PGI = 0x1A221
+ ///
+ ClipFarHintPgi = ((int)0x1A221) ,
+ ///
+ /// Original was GL_WIDE_LINE_HINT_PGI = 0x1A222
+ ///
+ WideLineHintPgi = ((int)0x1A222) ,
+ ///
+ /// Original was GL_BACK_NORMALS_HINT_PGI = 0x1A223
+ ///
+ BackNormalsHintPgi = ((int)0x1A223) ,
+ ///
+ /// Original was GL_VERTEX_DATA_HINT_PGI = 0x1A22A
+ ///
+ VertexDataHintPgi = ((int)0x1A22A) ,
+ ///
+ /// Original was GL_VERTEX_CONSISTENT_HINT_PGI = 0x1A22B
+ ///
+ VertexConsistentHintPgi = ((int)0x1A22B) ,
+ ///
+ /// Original was GL_MATERIAL_SIDE_HINT_PGI = 0x1A22C
+ ///
+ MaterialSideHintPgi = ((int)0x1A22C) ,
+ ///
+ /// Original was GL_MAX_VERTEX_HINT_PGI = 0x1A22D
+ ///
+ MaxVertexHintPgi = ((int)0x1A22D) ,
+ ///
+ /// Original was GL_POINT = 0x1B00
+ ///
+ Point = ((int)0x1B00) ,
+ ///
+ /// Original was GL_LINE = 0x1B01
+ ///
+ Line = ((int)0x1B01) ,
+ ///
+ /// Original was GL_FILL = 0x1B02
+ ///
+ Fill = ((int)0x1B02) ,
+ ///
+ /// Original was GL_RENDER = 0x1C00
+ ///
+ Render = ((int)0x1C00) ,
+ ///
+ /// Original was GL_FEEDBACK = 0x1C01
+ ///
+ Feedback = ((int)0x1C01) ,
+ ///
+ /// Original was GL_SELECT = 0x1C02
+ ///
+ Select = ((int)0x1C02) ,
+ ///
+ /// Original was GL_FLAT = 0x1D00
+ ///
+ Flat = ((int)0x1D00) ,
+ ///
+ /// Original was GL_SMOOTH = 0x1D01
+ ///
+ Smooth = ((int)0x1D01) ,
+ ///
+ /// Original was GL_KEEP = 0x1E00
+ ///
+ Keep = ((int)0x1E00) ,
+ ///
+ /// Original was GL_REPLACE = 0x1E01
+ ///
+ Replace = ((int)0x1E01) ,
+ ///
+ /// Original was GL_INCR = 0x1E02
+ ///
+ Incr = ((int)0x1E02) ,
+ ///
+ /// Original was GL_DECR = 0x1E03
+ ///
+ Decr = ((int)0x1E03) ,
+ ///
+ /// Original was GL_VENDOR = 0x1F00
+ ///
+ Vendor = ((int)0x1F00) ,
+ ///
+ /// Original was GL_RENDERER = 0x1F01
+ ///
+ Renderer = ((int)0x1F01) ,
+ ///
+ /// Original was GL_VERSION = 0x1F02
+ ///
+ Version = ((int)0x1F02) ,
+ ///
+ /// Original was GL_EXTENSIONS = 0x1F03
+ ///
+ Extensions = ((int)0x1F03) ,
+ ///
+ /// Original was GL_S = 0x2000
+ ///
+ S = ((int)0x2000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT = 0x20000000
+ ///
+ MultisampleBit = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_3DFX = 0x20000000
+ ///
+ MultisampleBit3Dfx = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_ARB = 0x20000000
+ ///
+ MultisampleBitArb = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_EXT = 0x20000000
+ ///
+ MultisampleBitExt = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT5_QCOM = 0x20000000
+ ///
+ MultisampleBufferBit5Qcom = ((int)0x20000000) ,
+ ///
+ /// Original was GL_T = 0x2001
+ ///
+ T = ((int)0x2001) ,
+ ///
+ /// Original was GL_R = 0x2002
+ ///
+ R = ((int)0x2002) ,
+ ///
+ /// Original was GL_Q = 0x2003
+ ///
+ Q = ((int)0x2003) ,
+ ///
+ /// Original was GL_MODULATE = 0x2100
+ ///
+ Modulate = ((int)0x2100) ,
+ ///
+ /// Original was GL_DECAL = 0x2101
+ ///
+ Decal = ((int)0x2101) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_MODE = 0x2200
+ ///
+ TextureEnvMode = ((int)0x2200) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_COLOR = 0x2201
+ ///
+ TextureEnvColor = ((int)0x2201) ,
+ ///
+ /// Original was GL_TEXTURE_ENV = 0x2300
+ ///
+ TextureEnv = ((int)0x2300) ,
+ ///
+ /// Original was GL_EYE_LINEAR = 0x2400
+ ///
+ EyeLinear = ((int)0x2400) ,
+ ///
+ /// Original was GL_OBJECT_LINEAR = 0x2401
+ ///
+ ObjectLinear = ((int)0x2401) ,
+ ///
+ /// Original was GL_SPHERE_MAP = 0x2402
+ ///
+ SphereMap = ((int)0x2402) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_MODE = 0x2500
+ ///
+ TextureGenMode = ((int)0x2500) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_MODE_OES = 0x2500
+ ///
+ TextureGenModeOes = ((int)0x2500) ,
+ ///
+ /// Original was GL_OBJECT_PLANE = 0x2501
+ ///
+ ObjectPlane = ((int)0x2501) ,
+ ///
+ /// Original was GL_EYE_PLANE = 0x2502
+ ///
+ EyePlane = ((int)0x2502) ,
+ ///
+ /// Original was GL_NEAREST = 0x2600
+ ///
+ Nearest = ((int)0x2600) ,
+ ///
+ /// Original was GL_LINEAR = 0x2601
+ ///
+ Linear = ((int)0x2601) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700
+ ///
+ NearestMipmapNearest = ((int)0x2700) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701
+ ///
+ LinearMipmapNearest = ((int)0x2701) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702
+ ///
+ NearestMipmapLinear = ((int)0x2702) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703
+ ///
+ LinearMipmapLinear = ((int)0x2703) ,
+ ///
+ /// Original was GL_TEXTURE_MAG_FILTER = 0x2800
+ ///
+ TextureMagFilter = ((int)0x2800) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_FILTER = 0x2801
+ ///
+ TextureMinFilter = ((int)0x2801) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_S = 0x2802
+ ///
+ TextureWrapS = ((int)0x2802) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_T = 0x2803
+ ///
+ TextureWrapT = ((int)0x2803) ,
+ ///
+ /// Original was GL_CLAMP = 0x2900
+ ///
+ Clamp = ((int)0x2900) ,
+ ///
+ /// Original was GL_REPEAT = 0x2901
+ ///
+ Repeat = ((int)0x2901) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00
+ ///
+ PolygonOffsetUnits = ((int)0x2A00) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01
+ ///
+ PolygonOffsetPoint = ((int)0x2A01) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02
+ ///
+ PolygonOffsetLine = ((int)0x2A02) ,
+ ///
+ /// Original was GL_R3_G3_B2 = 0x2A10
+ ///
+ R3G3B2 = ((int)0x2A10) ,
+ ///
+ /// Original was GL_V2F = 0x2A20
+ ///
+ V2f = ((int)0x2A20) ,
+ ///
+ /// Original was GL_V3F = 0x2A21
+ ///
+ V3f = ((int)0x2A21) ,
+ ///
+ /// Original was GL_C4UB_V2F = 0x2A22
+ ///
+ C4ubV2f = ((int)0x2A22) ,
+ ///
+ /// Original was GL_C4UB_V3F = 0x2A23
+ ///
+ C4ubV3f = ((int)0x2A23) ,
+ ///
+ /// Original was GL_C3F_V3F = 0x2A24
+ ///
+ C3fV3f = ((int)0x2A24) ,
+ ///
+ /// Original was GL_N3F_V3F = 0x2A25
+ ///
+ N3fV3f = ((int)0x2A25) ,
+ ///
+ /// Original was GL_C4F_N3F_V3F = 0x2A26
+ ///
+ C4fN3fV3f = ((int)0x2A26) ,
+ ///
+ /// Original was GL_T2F_V3F = 0x2A27
+ ///
+ T2fV3f = ((int)0x2A27) ,
+ ///
+ /// Original was GL_T4F_V4F = 0x2A28
+ ///
+ T4fV4f = ((int)0x2A28) ,
+ ///
+ /// Original was GL_T2F_C4UB_V3F = 0x2A29
+ ///
+ T2fC4ubV3f = ((int)0x2A29) ,
+ ///
+ /// Original was GL_T2F_C3F_V3F = 0x2A2A
+ ///
+ T2fC3fV3f = ((int)0x2A2A) ,
+ ///
+ /// Original was GL_T2F_N3F_V3F = 0x2A2B
+ ///
+ T2fN3fV3f = ((int)0x2A2B) ,
+ ///
+ /// Original was GL_T2F_C4F_N3F_V3F = 0x2A2C
+ ///
+ T2fC4fN3fV3f = ((int)0x2A2C) ,
+ ///
+ /// Original was GL_T4F_C4F_N3F_V4F = 0x2A2D
+ ///
+ T4fC4fN3fV4f = ((int)0x2A2D) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE0 = 0x3000
+ ///
+ ClipDistance0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE0 = 0x3000
+ ///
+ ClipPlane0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE0_IMG = 0x3000
+ ///
+ ClipPlane0Img = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE1 = 0x3001
+ ///
+ ClipDistance1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE1 = 0x3001
+ ///
+ ClipPlane1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE1_IMG = 0x3001
+ ///
+ ClipPlane1Img = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE2 = 0x3002
+ ///
+ ClipDistance2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE2 = 0x3002
+ ///
+ ClipPlane2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE2_IMG = 0x3002
+ ///
+ ClipPlane2Img = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE3 = 0x3003
+ ///
+ ClipDistance3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE3 = 0x3003
+ ///
+ ClipPlane3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE3_IMG = 0x3003
+ ///
+ ClipPlane3Img = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE4 = 0x3004
+ ///
+ ClipDistance4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE4 = 0x3004
+ ///
+ ClipPlane4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE4_IMG = 0x3004
+ ///
+ ClipPlane4Img = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE5 = 0x3005
+ ///
+ ClipDistance5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_CLIP_PLANE5 = 0x3005
+ ///
+ ClipPlane5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_CLIP_PLANE5_IMG = 0x3005
+ ///
+ ClipPlane5Img = ((int)0x3005) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE6 = 0x3006
+ ///
+ ClipDistance6 = ((int)0x3006) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE7 = 0x3007
+ ///
+ ClipDistance7 = ((int)0x3007) ,
+ ///
+ /// Original was GL_LIGHT0 = 0x4000
+ ///
+ Light0 = ((int)0x4000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT6_QCOM = 0x40000000
+ ///
+ MultisampleBufferBit6Qcom = ((int)0x40000000) ,
+ ///
+ /// Original was GL_LIGHT1 = 0x4001
+ ///
+ Light1 = ((int)0x4001) ,
+ ///
+ /// Original was GL_LIGHT2 = 0x4002
+ ///
+ Light2 = ((int)0x4002) ,
+ ///
+ /// Original was GL_LIGHT3 = 0x4003
+ ///
+ Light3 = ((int)0x4003) ,
+ ///
+ /// Original was GL_LIGHT4 = 0x4004
+ ///
+ Light4 = ((int)0x4004) ,
+ ///
+ /// Original was GL_LIGHT5 = 0x4005
+ ///
+ Light5 = ((int)0x4005) ,
+ ///
+ /// Original was GL_LIGHT6 = 0x4006
+ ///
+ Light6 = ((int)0x4006) ,
+ ///
+ /// Original was GL_LIGHT7 = 0x4007
+ ///
+ Light7 = ((int)0x4007) ,
+ ///
+ /// Original was GL_ABGR_EXT = 0x8000
+ ///
+ AbgrExt = ((int)0x8000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT7_QCOM = 0x80000000
+ ///
+ MultisampleBufferBit7Qcom = unchecked((int)0x80000000) ,
+ ///
+ /// Original was GL_CONSTANT_COLOR_EXT = 0x8001
+ ///
+ ConstantColorExt = ((int)0x8001) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002
+ ///
+ OneMinusConstantColorExt = ((int)0x8002) ,
+ ///
+ /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003
+ ///
+ ConstantAlphaExt = ((int)0x8003) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004
+ ///
+ OneMinusConstantAlphaExt = ((int)0x8004) ,
+ ///
+ /// Original was GL_BLEND_COLOR_EXT = 0x8005
+ ///
+ BlendColorExt = ((int)0x8005) ,
+ ///
+ /// Original was GL_FUNC_ADD_EXT = 0x8006
+ ///
+ FuncAddExt = ((int)0x8006) ,
+ ///
+ /// Original was GL_FUNC_ADD_OES = 0x8006
+ ///
+ FuncAddOes = ((int)0x8006) ,
+ ///
+ /// Original was GL_MIN_EXT = 0x8007
+ ///
+ MinExt = ((int)0x8007) ,
+ ///
+ /// Original was GL_MAX_EXT = 0x8008
+ ///
+ MaxExt = ((int)0x8008) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_EXT = 0x8009
+ ///
+ BlendEquationExt = ((int)0x8009) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_OES = 0x8009
+ ///
+ BlendEquationOes = ((int)0x8009) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_RGB_OES = 0x8009
+ ///
+ BlendEquationRgbOes = ((int)0x8009) ,
+ ///
+ /// Original was GL_FUNC_SUBTRACT_EXT = 0x800A
+ ///
+ FuncSubtractExt = ((int)0x800A) ,
+ ///
+ /// Original was GL_FUNC_SUBTRACT_OES = 0x800A
+ ///
+ FuncSubtractOes = ((int)0x800A) ,
+ ///
+ /// Original was GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B
+ ///
+ FuncReverseSubtractExt = ((int)0x800B) ,
+ ///
+ /// Original was GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B
+ ///
+ FuncReverseSubtractOes = ((int)0x800B) ,
+ ///
+ /// Original was GL_CMYK_EXT = 0x800C
+ ///
+ CmykExt = ((int)0x800C) ,
+ ///
+ /// Original was GL_CMYKA_EXT = 0x800D
+ ///
+ CmykaExt = ((int)0x800D) ,
+ ///
+ /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E
+ ///
+ PackCmykHintExt = ((int)0x800E) ,
+ ///
+ /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F
+ ///
+ UnpackCmykHintExt = ((int)0x800F) ,
+ ///
+ /// Original was GL_CONVOLUTION_1D = 0x8010
+ ///
+ Convolution1D = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_1D_EXT = 0x8010
+ ///
+ Convolution1DExt = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D = 0x8011
+ ///
+ Convolution2D = ((int)0x8011) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D_EXT = 0x8011
+ ///
+ Convolution2DExt = ((int)0x8011) ,
+ ///
+ /// Original was GL_SEPARABLE_2D = 0x8012
+ ///
+ Separable2D = ((int)0x8012) ,
+ ///
+ /// Original was GL_SEPARABLE_2D_EXT = 0x8012
+ ///
+ Separable2DExt = ((int)0x8012) ,
+ ///
+ /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013
+ ///
+ ConvolutionBorderMode = ((int)0x8013) ,
+ ///
+ /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013
+ ///
+ ConvolutionBorderModeExt = ((int)0x8013) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014
+ ///
+ ConvolutionFilterScale = ((int)0x8014) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014
+ ///
+ ConvolutionFilterScaleExt = ((int)0x8014) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015
+ ///
+ ConvolutionFilterBias = ((int)0x8015) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015
+ ///
+ ConvolutionFilterBiasExt = ((int)0x8015) ,
+ ///
+ /// Original was GL_REDUCE = 0x8016
+ ///
+ Reduce = ((int)0x8016) ,
+ ///
+ /// Original was GL_REDUCE_EXT = 0x8016
+ ///
+ ReduceExt = ((int)0x8016) ,
+ ///
+ /// Original was GL_CONVOLUTION_FORMAT_EXT = 0x8017
+ ///
+ ConvolutionFormatExt = ((int)0x8017) ,
+ ///
+ /// Original was GL_CONVOLUTION_WIDTH_EXT = 0x8018
+ ///
+ ConvolutionWidthExt = ((int)0x8018) ,
+ ///
+ /// Original was GL_CONVOLUTION_HEIGHT_EXT = 0x8019
+ ///
+ ConvolutionHeightExt = ((int)0x8019) ,
+ ///
+ /// Original was GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A
+ ///
+ MaxConvolutionWidthExt = ((int)0x801A) ,
+ ///
+ /// Original was GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B
+ ///
+ MaxConvolutionHeightExt = ((int)0x801B) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_SCALE = 0x801C
+ ///
+ PostConvolutionRedScale = ((int)0x801C) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C
+ ///
+ PostConvolutionRedScaleExt = ((int)0x801C) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D
+ ///
+ PostConvolutionGreenScale = ((int)0x801D) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D
+ ///
+ PostConvolutionGreenScaleExt = ((int)0x801D) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E
+ ///
+ PostConvolutionBlueScale = ((int)0x801E) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E
+ ///
+ PostConvolutionBlueScaleExt = ((int)0x801E) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F
+ ///
+ PostConvolutionAlphaScale = ((int)0x801F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F
+ ///
+ PostConvolutionAlphaScaleExt = ((int)0x801F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_BIAS = 0x8020
+ ///
+ PostConvolutionRedBias = ((int)0x8020) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020
+ ///
+ PostConvolutionRedBiasExt = ((int)0x8020) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021
+ ///
+ PostConvolutionGreenBias = ((int)0x8021) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021
+ ///
+ PostConvolutionGreenBiasExt = ((int)0x8021) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022
+ ///
+ PostConvolutionBlueBias = ((int)0x8022) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022
+ ///
+ PostConvolutionBlueBiasExt = ((int)0x8022) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023
+ ///
+ PostConvolutionAlphaBias = ((int)0x8023) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023
+ ///
+ PostConvolutionAlphaBiasExt = ((int)0x8023) ,
+ ///
+ /// Original was GL_HISTOGRAM = 0x8024
+ ///
+ Histogram = ((int)0x8024) ,
+ ///
+ /// Original was GL_HISTOGRAM_EXT = 0x8024
+ ///
+ HistogramExt = ((int)0x8024) ,
+ ///
+ /// Original was GL_PROXY_HISTOGRAM = 0x8025
+ ///
+ ProxyHistogram = ((int)0x8025) ,
+ ///
+ /// Original was GL_PROXY_HISTOGRAM_EXT = 0x8025
+ ///
+ ProxyHistogramExt = ((int)0x8025) ,
+ ///
+ /// Original was GL_HISTOGRAM_WIDTH_EXT = 0x8026
+ ///
+ HistogramWidthExt = ((int)0x8026) ,
+ ///
+ /// Original was GL_HISTOGRAM_FORMAT_EXT = 0x8027
+ ///
+ HistogramFormatExt = ((int)0x8027) ,
+ ///
+ /// Original was GL_HISTOGRAM_RED_SIZE_EXT = 0x8028
+ ///
+ HistogramRedSizeExt = ((int)0x8028) ,
+ ///
+ /// Original was GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029
+ ///
+ HistogramGreenSizeExt = ((int)0x8029) ,
+ ///
+ /// Original was GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A
+ ///
+ HistogramBlueSizeExt = ((int)0x802A) ,
+ ///
+ /// Original was GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B
+ ///
+ HistogramAlphaSizeExt = ((int)0x802B) ,
+ ///
+ /// Original was GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C
+ ///
+ HistogramLuminanceSizeExt = ((int)0x802C) ,
+ ///
+ /// Original was GL_HISTOGRAM_SINK_EXT = 0x802D
+ ///
+ HistogramSinkExt = ((int)0x802D) ,
+ ///
+ /// Original was GL_MINMAX = 0x802E
+ ///
+ Minmax = ((int)0x802E) ,
+ ///
+ /// Original was GL_MINMAX_EXT = 0x802E
+ ///
+ MinmaxExt = ((int)0x802E) ,
+ ///
+ /// Original was GL_MINMAX_FORMAT = 0x802F
+ ///
+ MinmaxFormat = ((int)0x802F) ,
+ ///
+ /// Original was GL_MINMAX_FORMAT_EXT = 0x802F
+ ///
+ MinmaxFormatExt = ((int)0x802F) ,
+ ///
+ /// Original was GL_MINMAX_SINK = 0x8030
+ ///
+ MinmaxSink = ((int)0x8030) ,
+ ///
+ /// Original was GL_MINMAX_SINK_EXT = 0x8030
+ ///
+ MinmaxSinkExt = ((int)0x8030) ,
+ ///
+ /// Original was GL_TABLE_TOO_LARGE = 0x8031
+ ///
+ TableTooLarge = ((int)0x8031) ,
+ ///
+ /// Original was GL_TABLE_TOO_LARGE_EXT = 0x8031
+ ///
+ TableTooLargeExt = ((int)0x8031) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE_3_3_2 = 0x8032
+ ///
+ UnsignedByte332 = ((int)0x8032) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032
+ ///
+ UnsignedByte332Ext = ((int)0x8032) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
+ ///
+ UnsignedShort4444 = ((int)0x8033) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033
+ ///
+ UnsignedShort4444Ext = ((int)0x8033) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
+ ///
+ UnsignedShort5551 = ((int)0x8034) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034
+ ///
+ UnsignedShort5551Ext = ((int)0x8034) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_8_8_8_8 = 0x8035
+ ///
+ UnsignedInt8888 = ((int)0x8035) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035
+ ///
+ UnsignedInt8888Ext = ((int)0x8035) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_10_10_10_2 = 0x8036
+ ///
+ UnsignedInt1010102 = ((int)0x8036) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036
+ ///
+ UnsignedInt1010102Ext = ((int)0x8036) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FILL = 0x8037
+ ///
+ PolygonOffsetFill = ((int)0x8037) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038
+ ///
+ PolygonOffsetFactor = ((int)0x8038) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_BIAS_EXT = 0x8039
+ ///
+ PolygonOffsetBiasExt = ((int)0x8039) ,
+ ///
+ /// Original was GL_RESCALE_NORMAL = 0x803A
+ ///
+ RescaleNormal = ((int)0x803A) ,
+ ///
+ /// Original was GL_RESCALE_NORMAL_EXT = 0x803A
+ ///
+ RescaleNormalExt = ((int)0x803A) ,
+ ///
+ /// Original was GL_ALPHA4 = 0x803B
+ ///
+ Alpha4 = ((int)0x803B) ,
+ ///
+ /// Original was GL_ALPHA8 = 0x803C
+ ///
+ Alpha8 = ((int)0x803C) ,
+ ///
+ /// Original was GL_ALPHA8_EXT = 0x803C
+ ///
+ Alpha8Ext = ((int)0x803C) ,
+ ///
+ /// Original was GL_ALPHA8_OES = 0x803C
+ ///
+ Alpha8Oes = ((int)0x803C) ,
+ ///
+ /// Original was GL_ALPHA12 = 0x803D
+ ///
+ Alpha12 = ((int)0x803D) ,
+ ///
+ /// Original was GL_ALPHA16 = 0x803E
+ ///
+ Alpha16 = ((int)0x803E) ,
+ ///
+ /// Original was GL_LUMINANCE4 = 0x803F
+ ///
+ Luminance4 = ((int)0x803F) ,
+ ///
+ /// Original was GL_LUMINANCE8 = 0x8040
+ ///
+ Luminance8 = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE8_EXT = 0x8040
+ ///
+ Luminance8Ext = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE8_OES = 0x8040
+ ///
+ Luminance8Oes = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE12 = 0x8041
+ ///
+ Luminance12 = ((int)0x8041) ,
+ ///
+ /// Original was GL_LUMINANCE16 = 0x8042
+ ///
+ Luminance16 = ((int)0x8042) ,
+ ///
+ /// Original was GL_LUMINANCE4_ALPHA4 = 0x8043
+ ///
+ Luminance4Alpha4 = ((int)0x8043) ,
+ ///
+ /// Original was GL_LUMINANCE4_ALPHA4_OES = 0x8043
+ ///
+ Luminance4Alpha4Oes = ((int)0x8043) ,
+ ///
+ /// Original was GL_LUMINANCE6_ALPHA2 = 0x8044
+ ///
+ Luminance6Alpha2 = ((int)0x8044) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8 = 0x8045
+ ///
+ Luminance8Alpha8 = ((int)0x8045) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045
+ ///
+ Luminance8Alpha8Ext = ((int)0x8045) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8_OES = 0x8045
+ ///
+ Luminance8Alpha8Oes = ((int)0x8045) ,
+ ///
+ /// Original was GL_LUMINANCE12_ALPHA4 = 0x8046
+ ///
+ Luminance12Alpha4 = ((int)0x8046) ,
+ ///
+ /// Original was GL_LUMINANCE12_ALPHA12 = 0x8047
+ ///
+ Luminance12Alpha12 = ((int)0x8047) ,
+ ///
+ /// Original was GL_LUMINANCE16_ALPHA16 = 0x8048
+ ///
+ Luminance16Alpha16 = ((int)0x8048) ,
+ ///
+ /// Original was GL_INTENSITY = 0x8049
+ ///
+ Intensity = ((int)0x8049) ,
+ ///
+ /// Original was GL_INTENSITY4 = 0x804A
+ ///
+ Intensity4 = ((int)0x804A) ,
+ ///
+ /// Original was GL_INTENSITY8 = 0x804B
+ ///
+ Intensity8 = ((int)0x804B) ,
+ ///
+ /// Original was GL_INTENSITY12 = 0x804C
+ ///
+ Intensity12 = ((int)0x804C) ,
+ ///
+ /// Original was GL_INTENSITY16 = 0x804D
+ ///
+ Intensity16 = ((int)0x804D) ,
+ ///
+ /// Original was GL_RGB2_EXT = 0x804E
+ ///
+ Rgb2Ext = ((int)0x804E) ,
+ ///
+ /// Original was GL_RGB4 = 0x804F
+ ///
+ Rgb4 = ((int)0x804F) ,
+ ///
+ /// Original was GL_RGB5 = 0x8050
+ ///
+ Rgb5 = ((int)0x8050) ,
+ ///
+ /// Original was GL_RGB8 = 0x8051
+ ///
+ Rgb8 = ((int)0x8051) ,
+ ///
+ /// Original was GL_RGB8_OES = 0x8051
+ ///
+ Rgb8Oes = ((int)0x8051) ,
+ ///
+ /// Original was GL_RGB10 = 0x8052
+ ///
+ Rgb10 = ((int)0x8052) ,
+ ///
+ /// Original was GL_RGB10_EXT = 0x8052
+ ///
+ Rgb10Ext = ((int)0x8052) ,
+ ///
+ /// Original was GL_RGB12 = 0x8053
+ ///
+ Rgb12 = ((int)0x8053) ,
+ ///
+ /// Original was GL_RGB16 = 0x8054
+ ///
+ Rgb16 = ((int)0x8054) ,
+ ///
+ /// Original was GL_RGBA2 = 0x8055
+ ///
+ Rgba2 = ((int)0x8055) ,
+ ///
+ /// Original was GL_RGBA4 = 0x8056
+ ///
+ Rgba4 = ((int)0x8056) ,
+ ///
+ /// Original was GL_RGBA4_OES = 0x8056
+ ///
+ Rgba4Oes = ((int)0x8056) ,
+ ///
+ /// Original was GL_RGB5_A1 = 0x8057
+ ///
+ Rgb5A1 = ((int)0x8057) ,
+ ///
+ /// Original was GL_RGB5_A1_OES = 0x8057
+ ///
+ Rgb5A1Oes = ((int)0x8057) ,
+ ///
+ /// Original was GL_RGBA8 = 0x8058
+ ///
+ Rgba8 = ((int)0x8058) ,
+ ///
+ /// Original was GL_RGBA8_OES = 0x8058
+ ///
+ Rgba8Oes = ((int)0x8058) ,
+ ///
+ /// Original was GL_RGB10_A2 = 0x8059
+ ///
+ Rgb10A2 = ((int)0x8059) ,
+ ///
+ /// Original was GL_RGB10_A2_EXT = 0x8059
+ ///
+ Rgb10A2Ext = ((int)0x8059) ,
+ ///
+ /// Original was GL_RGBA12 = 0x805A
+ ///
+ Rgba12 = ((int)0x805A) ,
+ ///
+ /// Original was GL_RGBA16 = 0x805B
+ ///
+ Rgba16 = ((int)0x805B) ,
+ ///
+ /// Original was GL_TEXTURE_RED_SIZE = 0x805C
+ ///
+ TextureRedSize = ((int)0x805C) ,
+ ///
+ /// Original was GL_TEXTURE_GREEN_SIZE = 0x805D
+ ///
+ TextureGreenSize = ((int)0x805D) ,
+ ///
+ /// Original was GL_TEXTURE_BLUE_SIZE = 0x805E
+ ///
+ TextureBlueSize = ((int)0x805E) ,
+ ///
+ /// Original was GL_TEXTURE_ALPHA_SIZE = 0x805F
+ ///
+ TextureAlphaSize = ((int)0x805F) ,
+ ///
+ /// Original was GL_TEXTURE_LUMINANCE_SIZE = 0x8060
+ ///
+ TextureLuminanceSize = ((int)0x8060) ,
+ ///
+ /// Original was GL_TEXTURE_INTENSITY_SIZE = 0x8061
+ ///
+ TextureIntensitySize = ((int)0x8061) ,
+ ///
+ /// Original was GL_REPLACE_EXT = 0x8062
+ ///
+ ReplaceExt = ((int)0x8062) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_1D = 0x8063
+ ///
+ ProxyTexture1D = ((int)0x8063) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_1D_EXT = 0x8063
+ ///
+ ProxyTexture1DExt = ((int)0x8063) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_2D = 0x8064
+ ///
+ ProxyTexture2D = ((int)0x8064) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_2D_EXT = 0x8064
+ ///
+ ProxyTexture2DExt = ((int)0x8064) ,
+ ///
+ /// Original was GL_TEXTURE_TOO_LARGE_EXT = 0x8065
+ ///
+ TextureTooLargeExt = ((int)0x8065) ,
+ ///
+ /// Original was GL_TEXTURE_PRIORITY = 0x8066
+ ///
+ TexturePriority = ((int)0x8066) ,
+ ///
+ /// Original was GL_TEXTURE_PRIORITY_EXT = 0x8066
+ ///
+ TexturePriorityExt = ((int)0x8066) ,
+ ///
+ /// Original was GL_TEXTURE_RESIDENT = 0x8067
+ ///
+ TextureResident = ((int)0x8067) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_1D = 0x8068
+ ///
+ TextureBinding1D = ((int)0x8068) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_2D = 0x8069
+ ///
+ TextureBinding2D = ((int)0x8069) ,
+ ///
+ /// Original was GL_TEXTURE_3D_BINDING_EXT = 0x806A
+ ///
+ Texture3DBindingExt = ((int)0x806A) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_3D = 0x806A
+ ///
+ TextureBinding3D = ((int)0x806A) ,
+ ///
+ /// Original was GL_PACK_SKIP_IMAGES = 0x806B
+ ///
+ PackSkipImages = ((int)0x806B) ,
+ ///
+ /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B
+ ///
+ PackSkipImagesExt = ((int)0x806B) ,
+ ///
+ /// Original was GL_PACK_IMAGE_HEIGHT = 0x806C
+ ///
+ PackImageHeight = ((int)0x806C) ,
+ ///
+ /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C
+ ///
+ PackImageHeightExt = ((int)0x806C) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_IMAGES = 0x806D
+ ///
+ UnpackSkipImages = ((int)0x806D) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D
+ ///
+ UnpackSkipImagesExt = ((int)0x806D) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_HEIGHT = 0x806E
+ ///
+ UnpackImageHeight = ((int)0x806E) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E
+ ///
+ UnpackImageHeightExt = ((int)0x806E) ,
+ ///
+ /// Original was GL_TEXTURE_3D = 0x806F
+ ///
+ Texture3D = ((int)0x806F) ,
+ ///
+ /// Original was GL_TEXTURE_3D_EXT = 0x806F
+ ///
+ Texture3DExt = ((int)0x806F) ,
+ ///
+ /// Original was GL_TEXTURE_3D_OES = 0x806F
+ ///
+ Texture3DOes = ((int)0x806F) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_3D = 0x8070
+ ///
+ ProxyTexture3D = ((int)0x8070) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_3D_EXT = 0x8070
+ ///
+ ProxyTexture3DExt = ((int)0x8070) ,
+ ///
+ /// Original was GL_TEXTURE_DEPTH_EXT = 0x8071
+ ///
+ TextureDepthExt = ((int)0x8071) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R = 0x8072
+ ///
+ TextureWrapR = ((int)0x8072) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072
+ ///
+ TextureWrapRExt = ((int)0x8072) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R_OES = 0x8072
+ ///
+ TextureWrapROes = ((int)0x8072) ,
+ ///
+ /// Original was GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073
+ ///
+ Max3DTextureSizeExt = ((int)0x8073) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY = 0x8074
+ ///
+ VertexArray = ((int)0x8074) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY = 0x8075
+ ///
+ NormalArray = ((int)0x8075) ,
+ ///
+ /// Original was GL_COLOR_ARRAY = 0x8076
+ ///
+ ColorArray = ((int)0x8076) ,
+ ///
+ /// Original was GL_INDEX_ARRAY = 0x8077
+ ///
+ IndexArray = ((int)0x8077) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078
+ ///
+ TextureCoordArray = ((int)0x8078) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY = 0x8079
+ ///
+ EdgeFlagArray = ((int)0x8079) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A
+ ///
+ VertexArraySize = ((int)0x807A) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B
+ ///
+ VertexArrayType = ((int)0x807B) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C
+ ///
+ VertexArrayStride = ((int)0x807C) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_COUNT_EXT = 0x807D
+ ///
+ VertexArrayCountExt = ((int)0x807D) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E
+ ///
+ NormalArrayType = ((int)0x807E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F
+ ///
+ NormalArrayStride = ((int)0x807F) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_COUNT_EXT = 0x8080
+ ///
+ NormalArrayCountExt = ((int)0x8080) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_SIZE = 0x8081
+ ///
+ ColorArraySize = ((int)0x8081) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_TYPE = 0x8082
+ ///
+ ColorArrayType = ((int)0x8082) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083
+ ///
+ ColorArrayStride = ((int)0x8083) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_COUNT_EXT = 0x8084
+ ///
+ ColorArrayCountExt = ((int)0x8084) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_TYPE = 0x8085
+ ///
+ IndexArrayType = ((int)0x8085) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_STRIDE = 0x8086
+ ///
+ IndexArrayStride = ((int)0x8086) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_COUNT_EXT = 0x8087
+ ///
+ IndexArrayCountExt = ((int)0x8087) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
+ ///
+ TextureCoordArraySize = ((int)0x8088) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
+ ///
+ TextureCoordArrayType = ((int)0x8089) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
+ ///
+ TextureCoordArrayStride = ((int)0x808A) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B
+ ///
+ TextureCoordArrayCountExt = ((int)0x808B) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
+ ///
+ EdgeFlagArrayStride = ((int)0x808C) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D
+ ///
+ EdgeFlagArrayCountExt = ((int)0x808D) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E
+ ///
+ VertexArrayPointer = ((int)0x808E) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_POINTER_EXT = 0x808E
+ ///
+ VertexArrayPointerExt = ((int)0x808E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F
+ ///
+ NormalArrayPointer = ((int)0x808F) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_POINTER_EXT = 0x808F
+ ///
+ NormalArrayPointerExt = ((int)0x808F) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_POINTER = 0x8090
+ ///
+ ColorArrayPointer = ((int)0x8090) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_POINTER_EXT = 0x8090
+ ///
+ ColorArrayPointerExt = ((int)0x8090) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_POINTER = 0x8091
+ ///
+ IndexArrayPointer = ((int)0x8091) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_POINTER_EXT = 0x8091
+ ///
+ IndexArrayPointerExt = ((int)0x8091) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
+ ///
+ TextureCoordArrayPointer = ((int)0x8092) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092
+ ///
+ TextureCoordArrayPointerExt = ((int)0x8092) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
+ ///
+ EdgeFlagArrayPointer = ((int)0x8093) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093
+ ///
+ EdgeFlagArrayPointerExt = ((int)0x8093) ,
+ ///
+ /// Original was GL_INTERLACE_SGIX = 0x8094
+ ///
+ InterlaceSgix = ((int)0x8094) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_2D_SGIS = 0x8095
+ ///
+ DetailTexture2DSgis = ((int)0x8095) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096
+ ///
+ DetailTexture2DBindingSgis = ((int)0x8096) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_SGIS = 0x8097
+ ///
+ LinearDetailSgis = ((int)0x8097) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098
+ ///
+ LinearDetailAlphaSgis = ((int)0x8098) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099
+ ///
+ LinearDetailColorSgis = ((int)0x8099) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A
+ ///
+ DetailTextureLevelSgis = ((int)0x809A) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B
+ ///
+ DetailTextureModeSgis = ((int)0x809B) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C
+ ///
+ DetailTextureFuncPointsSgis = ((int)0x809C) ,
+ ///
+ /// Original was GL_MULTISAMPLE = 0x809D
+ ///
+ Multisample = ((int)0x809D) ,
+ ///
+ /// Original was GL_MULTISAMPLE_SGIS = 0x809D
+ ///
+ MultisampleSgis = ((int)0x809D) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E
+ ///
+ SampleAlphaToCoverage = ((int)0x809E) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E
+ ///
+ SampleAlphaToMaskSgis = ((int)0x809E) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F
+ ///
+ SampleAlphaToOne = ((int)0x809F) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F
+ ///
+ SampleAlphaToOneSgis = ((int)0x809F) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE = 0x80A0
+ ///
+ SampleCoverage = ((int)0x80A0) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0
+ ///
+ SampleMaskSgis = ((int)0x80A0) ,
+ ///
+ /// Original was GL_1PASS_EXT = 0x80A1
+ ///
+ Gl1PassExt = ((int)0x80A1) ,
+ ///
+ /// Original was GL_1PASS_SGIS = 0x80A1
+ ///
+ Gl1PassSgis = ((int)0x80A1) ,
+ ///
+ /// Original was GL_2PASS_0_EXT = 0x80A2
+ ///
+ Gl2Pass0Ext = ((int)0x80A2) ,
+ ///
+ /// Original was GL_2PASS_0_SGIS = 0x80A2
+ ///
+ Gl2Pass0Sgis = ((int)0x80A2) ,
+ ///
+ /// Original was GL_2PASS_1_EXT = 0x80A3
+ ///
+ Gl2Pass1Ext = ((int)0x80A3) ,
+ ///
+ /// Original was GL_2PASS_1_SGIS = 0x80A3
+ ///
+ Gl2Pass1Sgis = ((int)0x80A3) ,
+ ///
+ /// Original was GL_4PASS_0_EXT = 0x80A4
+ ///
+ Gl4Pass0Ext = ((int)0x80A4) ,
+ ///
+ /// Original was GL_4PASS_0_SGIS = 0x80A4
+ ///
+ Gl4Pass0Sgis = ((int)0x80A4) ,
+ ///
+ /// Original was GL_4PASS_1_EXT = 0x80A5
+ ///
+ Gl4Pass1Ext = ((int)0x80A5) ,
+ ///
+ /// Original was GL_4PASS_1_SGIS = 0x80A5
+ ///
+ Gl4Pass1Sgis = ((int)0x80A5) ,
+ ///
+ /// Original was GL_4PASS_2_EXT = 0x80A6
+ ///
+ Gl4Pass2Ext = ((int)0x80A6) ,
+ ///
+ /// Original was GL_4PASS_2_SGIS = 0x80A6
+ ///
+ Gl4Pass2Sgis = ((int)0x80A6) ,
+ ///
+ /// Original was GL_4PASS_3_EXT = 0x80A7
+ ///
+ Gl4Pass3Ext = ((int)0x80A7) ,
+ ///
+ /// Original was GL_4PASS_3_SGIS = 0x80A7
+ ///
+ Gl4Pass3Sgis = ((int)0x80A7) ,
+ ///
+ /// Original was GL_SAMPLE_BUFFERS = 0x80A8
+ ///
+ SampleBuffers = ((int)0x80A8) ,
+ ///
+ /// Original was GL_SAMPLE_BUFFERS_SGIS = 0x80A8
+ ///
+ SampleBuffersSgis = ((int)0x80A8) ,
+ ///
+ /// Original was GL_SAMPLES = 0x80A9
+ ///
+ Samples = ((int)0x80A9) ,
+ ///
+ /// Original was GL_SAMPLES_SGIS = 0x80A9
+ ///
+ SamplesSgis = ((int)0x80A9) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE_VALUE = 0x80AA
+ ///
+ SampleCoverageValue = ((int)0x80AA) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA
+ ///
+ SampleMaskValueSgis = ((int)0x80AA) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE_INVERT = 0x80AB
+ ///
+ SampleCoverageInvert = ((int)0x80AB) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB
+ ///
+ SampleMaskInvertSgis = ((int)0x80AB) ,
+ ///
+ /// Original was GL_SAMPLE_PATTERN_SGIS = 0x80AC
+ ///
+ SamplePatternSgis = ((int)0x80AC) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_SGIS = 0x80AD
+ ///
+ LinearSharpenSgis = ((int)0x80AD) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE
+ ///
+ LinearSharpenAlphaSgis = ((int)0x80AE) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF
+ ///
+ LinearSharpenColorSgis = ((int)0x80AF) ,
+ ///
+ /// Original was GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0
+ ///
+ SharpenTextureFuncPointsSgis = ((int)0x80B0) ,
+ ///
+ /// Original was GL_COLOR_MATRIX_SGI = 0x80B1
+ ///
+ ColorMatrixSgi = ((int)0x80B1) ,
+ ///
+ /// Original was GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2
+ ///
+ ColorMatrixStackDepthSgi = ((int)0x80B2) ,
+ ///
+ /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3
+ ///
+ MaxColorMatrixStackDepthSgi = ((int)0x80B3) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4
+ ///
+ PostColorMatrixRedScale = ((int)0x80B4) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4
+ ///
+ PostColorMatrixRedScaleSgi = ((int)0x80B4) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5
+ ///
+ PostColorMatrixGreenScale = ((int)0x80B5) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5
+ ///
+ PostColorMatrixGreenScaleSgi = ((int)0x80B5) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6
+ ///
+ PostColorMatrixBlueScale = ((int)0x80B6) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6
+ ///
+ PostColorMatrixBlueScaleSgi = ((int)0x80B6) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7
+ ///
+ PostColorMatrixAlphaScale = ((int)0x80B7) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7
+ ///
+ PostColorMatrixAlphaScaleSgi = ((int)0x80B7) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8
+ ///
+ PostColorMatrixRedBias = ((int)0x80B8) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8
+ ///
+ PostColorMatrixRedBiasSgi = ((int)0x80B8) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9
+ ///
+ PostColorMatrixGreenBias = ((int)0x80B9) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9
+ ///
+ PostColorMatrixGreenBiasSgi = ((int)0x80B9) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA
+ ///
+ PostColorMatrixBlueBias = ((int)0x80BA) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA
+ ///
+ PostColorMatrixBlueBiasSgi = ((int)0x80BA) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB
+ ///
+ PostColorMatrixAlphaBias = ((int)0x80BB) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB
+ ///
+ PostColorMatrixAlphaBiasSgi = ((int)0x80BB) ,
+ ///
+ /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC
+ ///
+ TextureColorTableSgi = ((int)0x80BC) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD
+ ///
+ ProxyTextureColorTableSgi = ((int)0x80BD) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE
+ ///
+ TextureEnvBiasSgix = ((int)0x80BE) ,
+ ///
+ /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF
+ ///
+ ShadowAmbientSgix = ((int)0x80BF) ,
+ ///
+ /// Original was GL_BLEND_DST_RGB_OES = 0x80C8
+ ///
+ BlendDstRgbOes = ((int)0x80C8) ,
+ ///
+ /// Original was GL_BLEND_SRC_RGB_OES = 0x80C9
+ ///
+ BlendSrcRgbOes = ((int)0x80C9) ,
+ ///
+ /// Original was GL_BLEND_DST_ALPHA_OES = 0x80CA
+ ///
+ BlendDstAlphaOes = ((int)0x80CA) ,
+ ///
+ /// Original was GL_BLEND_SRC_ALPHA_OES = 0x80CB
+ ///
+ BlendSrcAlphaOes = ((int)0x80CB) ,
+ ///
+ /// Original was GL_COLOR_TABLE = 0x80D0
+ ///
+ ColorTable = ((int)0x80D0) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SGI = 0x80D0
+ ///
+ ColorTableSgi = ((int)0x80D0) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1
+ ///
+ PostConvolutionColorTable = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
+ ///
+ PostConvolutionColorTableSgi = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2
+ ///
+ PostColorMatrixColorTable = ((int)0x80D2) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
+ ///
+ PostColorMatrixColorTableSgi = ((int)0x80D2) ,
+ ///
+ /// Original was GL_PROXY_COLOR_TABLE = 0x80D3
+ ///
+ ProxyColorTable = ((int)0x80D3) ,
+ ///
+ /// Original was GL_PROXY_COLOR_TABLE_SGI = 0x80D3
+ ///
+ ProxyColorTableSgi = ((int)0x80D3) ,
+ ///
+ /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4
+ ///
+ ProxyPostConvolutionColorTable = ((int)0x80D4) ,
+ ///
+ /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4
+ ///
+ ProxyPostConvolutionColorTableSgi = ((int)0x80D4) ,
+ ///
+ /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5
+ ///
+ ProxyPostColorMatrixColorTable = ((int)0x80D5) ,
+ ///
+ /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5
+ ///
+ ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SCALE = 0x80D6
+ ///
+ ColorTableScale = ((int)0x80D6) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6
+ ///
+ ColorTableScaleSgi = ((int)0x80D6) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BIAS = 0x80D7
+ ///
+ ColorTableBias = ((int)0x80D7) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7
+ ///
+ ColorTableBiasSgi = ((int)0x80D7) ,
+ ///
+ /// Original was GL_COLOR_TABLE_FORMAT_SGI = 0x80D8
+ ///
+ ColorTableFormatSgi = ((int)0x80D8) ,
+ ///
+ /// Original was GL_COLOR_TABLE_WIDTH_SGI = 0x80D9
+ ///
+ ColorTableWidthSgi = ((int)0x80D9) ,
+ ///
+ /// Original was GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA
+ ///
+ ColorTableRedSizeSgi = ((int)0x80DA) ,
+ ///
+ /// Original was GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB
+ ///
+ ColorTableGreenSizeSgi = ((int)0x80DB) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC
+ ///
+ ColorTableBlueSizeSgi = ((int)0x80DC) ,
+ ///
+ /// Original was GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD
+ ///
+ ColorTableAlphaSizeSgi = ((int)0x80DD) ,
+ ///
+ /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE
+ ///
+ ColorTableLuminanceSizeSgi = ((int)0x80DE) ,
+ ///
+ /// Original was GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF
+ ///
+ ColorTableIntensitySizeSgi = ((int)0x80DF) ,
+ ///
+ /// Original was GL_BGRA_EXT = 0x80E1
+ ///
+ BgraExt = ((int)0x80E1) ,
+ ///
+ /// Original was GL_BGRA_IMG = 0x80E1
+ ///
+ BgraImg = ((int)0x80E1) ,
+ ///
+ /// Original was GL_PHONG_HINT_WIN = 0x80EB
+ ///
+ PhongHintWin = ((int)0x80EB) ,
+ ///
+ /// Original was GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0
+ ///
+ ClipVolumeClippingHintExt = ((int)0x80F0) ,
+ ///
+ /// Original was GL_DUAL_ALPHA4_SGIS = 0x8110
+ ///
+ DualAlpha4Sgis = ((int)0x8110) ,
+ ///
+ /// Original was GL_DUAL_ALPHA8_SGIS = 0x8111
+ ///
+ DualAlpha8Sgis = ((int)0x8111) ,
+ ///
+ /// Original was GL_DUAL_ALPHA12_SGIS = 0x8112
+ ///
+ DualAlpha12Sgis = ((int)0x8112) ,
+ ///
+ /// Original was GL_DUAL_ALPHA16_SGIS = 0x8113
+ ///
+ DualAlpha16Sgis = ((int)0x8113) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE4_SGIS = 0x8114
+ ///
+ DualLuminance4Sgis = ((int)0x8114) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE8_SGIS = 0x8115
+ ///
+ DualLuminance8Sgis = ((int)0x8115) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE12_SGIS = 0x8116
+ ///
+ DualLuminance12Sgis = ((int)0x8116) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE16_SGIS = 0x8117
+ ///
+ DualLuminance16Sgis = ((int)0x8117) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY4_SGIS = 0x8118
+ ///
+ DualIntensity4Sgis = ((int)0x8118) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY8_SGIS = 0x8119
+ ///
+ DualIntensity8Sgis = ((int)0x8119) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY12_SGIS = 0x811A
+ ///
+ DualIntensity12Sgis = ((int)0x811A) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY16_SGIS = 0x811B
+ ///
+ DualIntensity16Sgis = ((int)0x811B) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C
+ ///
+ DualLuminanceAlpha4Sgis = ((int)0x811C) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D
+ ///
+ DualLuminanceAlpha8Sgis = ((int)0x811D) ,
+ ///
+ /// Original was GL_QUAD_ALPHA4_SGIS = 0x811E
+ ///
+ QuadAlpha4Sgis = ((int)0x811E) ,
+ ///
+ /// Original was GL_QUAD_ALPHA8_SGIS = 0x811F
+ ///
+ QuadAlpha8Sgis = ((int)0x811F) ,
+ ///
+ /// Original was GL_QUAD_LUMINANCE4_SGIS = 0x8120
+ ///
+ QuadLuminance4Sgis = ((int)0x8120) ,
+ ///
+ /// Original was GL_QUAD_LUMINANCE8_SGIS = 0x8121
+ ///
+ QuadLuminance8Sgis = ((int)0x8121) ,
+ ///
+ /// Original was GL_QUAD_INTENSITY4_SGIS = 0x8122
+ ///
+ QuadIntensity4Sgis = ((int)0x8122) ,
+ ///
+ /// Original was GL_QUAD_INTENSITY8_SGIS = 0x8123
+ ///
+ QuadIntensity8Sgis = ((int)0x8123) ,
+ ///
+ /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124
+ ///
+ DualTextureSelectSgis = ((int)0x8124) ,
+ ///
+ /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125
+ ///
+ QuadTextureSelectSgis = ((int)0x8125) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN = 0x8126
+ ///
+ PointSizeMin = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_ARB = 0x8126
+ ///
+ PointSizeMinArb = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_EXT = 0x8126
+ ///
+ PointSizeMinExt = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126
+ ///
+ PointSizeMinSgis = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX = 0x8127
+ ///
+ PointSizeMax = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_ARB = 0x8127
+ ///
+ PointSizeMaxArb = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_EXT = 0x8127
+ ///
+ PointSizeMaxExt = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127
+ ///
+ PointSizeMaxSgis = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128
+ ///
+ PointFadeThresholdSize = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128
+ ///
+ PointFadeThresholdSizeArb = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128
+ ///
+ PointFadeThresholdSizeExt = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128
+ ///
+ PointFadeThresholdSizeSgis = ((int)0x8128) ,
+ ///
+ /// Original was GL_DISTANCE_ATTENUATION_EXT = 0x8129
+ ///
+ DistanceAttenuationExt = ((int)0x8129) ,
+ ///
+ /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129
+ ///
+ DistanceAttenuationSgis = ((int)0x8129) ,
+ ///
+ /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129
+ ///
+ PointDistanceAttenuation = ((int)0x8129) ,
+ ///
+ /// Original was GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129
+ ///
+ PointDistanceAttenuationArb = ((int)0x8129) ,
+ ///
+ /// Original was GL_FOG_FUNC_SGIS = 0x812A
+ ///
+ FogFuncSgis = ((int)0x812A) ,
+ ///
+ /// Original was GL_FOG_FUNC_POINTS_SGIS = 0x812B
+ ///
+ FogFuncPointsSgis = ((int)0x812B) ,
+ ///
+ /// Original was GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C
+ ///
+ MaxFogFuncPointsSgis = ((int)0x812C) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER = 0x812D
+ ///
+ ClampToBorder = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_ARB = 0x812D
+ ///
+ ClampToBorderArb = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_NV = 0x812D
+ ///
+ ClampToBorderNv = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_SGIS = 0x812D
+ ///
+ ClampToBorderSgis = ((int)0x812D) ,
+ ///
+ /// Original was GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E
+ ///
+ TextureMultiBufferHintSgix = ((int)0x812E) ,
+ ///
+ /// Original was GL_CLAMP_TO_EDGE = 0x812F
+ ///
+ ClampToEdge = ((int)0x812F) ,
+ ///
+ /// Original was GL_CLAMP_TO_EDGE_SGIS = 0x812F
+ ///
+ ClampToEdgeSgis = ((int)0x812F) ,
+ ///
+ /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130
+ ///
+ PackSkipVolumesSgis = ((int)0x8130) ,
+ ///
+ /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131
+ ///
+ PackImageDepthSgis = ((int)0x8131) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132
+ ///
+ UnpackSkipVolumesSgis = ((int)0x8132) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133
+ ///
+ UnpackImageDepthSgis = ((int)0x8133) ,
+ ///
+ /// Original was GL_TEXTURE_4D_SGIS = 0x8134
+ ///
+ Texture4DSgis = ((int)0x8134) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_4D_SGIS = 0x8135
+ ///
+ ProxyTexture4DSgis = ((int)0x8135) ,
+ ///
+ /// Original was GL_TEXTURE_4DSIZE_SGIS = 0x8136
+ ///
+ Texture4DsizeSgis = ((int)0x8136) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137
+ ///
+ TextureWrapQSgis = ((int)0x8137) ,
+ ///
+ /// Original was GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138
+ ///
+ Max4DTextureSizeSgis = ((int)0x8138) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139
+ ///
+ PixelTexGenSgix = ((int)0x8139) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_LOD = 0x813A
+ ///
+ TextureMinLod = ((int)0x813A) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A
+ ///
+ TextureMinLodSgis = ((int)0x813A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LOD = 0x813B
+ ///
+ TextureMaxLod = ((int)0x813B) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B
+ ///
+ TextureMaxLodSgis = ((int)0x813B) ,
+ ///
+ /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C
+ ///
+ TextureBaseLevel = ((int)0x813C) ,
+ ///
+ /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C
+ ///
+ TextureBaseLevelSgis = ((int)0x813C) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D
+ ///
+ TextureMaxLevel = ((int)0x813D) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL_APPLE = 0x813D
+ ///
+ TextureMaxLevelApple = ((int)0x813D) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D
+ ///
+ TextureMaxLevelSgis = ((int)0x813D) ,
+ ///
+ /// Original was GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E
+ ///
+ PixelTileBestAlignmentSgix = ((int)0x813E) ,
+ ///
+ /// Original was GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F
+ ///
+ PixelTileCacheIncrementSgix = ((int)0x813F) ,
+ ///
+ /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140
+ ///
+ PixelTileWidthSgix = ((int)0x8140) ,
+ ///
+ /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141
+ ///
+ PixelTileHeightSgix = ((int)0x8141) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142
+ ///
+ PixelTileGridWidthSgix = ((int)0x8142) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143
+ ///
+ PixelTileGridHeightSgix = ((int)0x8143) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144
+ ///
+ PixelTileGridDepthSgix = ((int)0x8144) ,
+ ///
+ /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145
+ ///
+ PixelTileCacheSizeSgix = ((int)0x8145) ,
+ ///
+ /// Original was GL_FILTER4_SGIS = 0x8146
+ ///
+ Filter4Sgis = ((int)0x8146) ,
+ ///
+ /// Original was GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147
+ ///
+ TextureFilter4SizeSgis = ((int)0x8147) ,
+ ///
+ /// Original was GL_SPRITE_SGIX = 0x8148
+ ///
+ SpriteSgix = ((int)0x8148) ,
+ ///
+ /// Original was GL_SPRITE_MODE_SGIX = 0x8149
+ ///
+ SpriteModeSgix = ((int)0x8149) ,
+ ///
+ /// Original was GL_SPRITE_AXIS_SGIX = 0x814A
+ ///
+ SpriteAxisSgix = ((int)0x814A) ,
+ ///
+ /// Original was GL_SPRITE_TRANSLATION_SGIX = 0x814B
+ ///
+ SpriteTranslationSgix = ((int)0x814B) ,
+ ///
+ /// Original was GL_TEXTURE_4D_BINDING_SGIS = 0x814F
+ ///
+ Texture4DBindingSgis = ((int)0x814F) ,
+ ///
+ /// Original was GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170
+ ///
+ LinearClipmapLinearSgix = ((int)0x8170) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171
+ ///
+ TextureClipmapCenterSgix = ((int)0x8171) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172
+ ///
+ TextureClipmapFrameSgix = ((int)0x8172) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173
+ ///
+ TextureClipmapOffsetSgix = ((int)0x8173) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174
+ ///
+ TextureClipmapVirtualDepthSgix = ((int)0x8174) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175
+ ///
+ TextureClipmapLodOffsetSgix = ((int)0x8175) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176
+ ///
+ TextureClipmapDepthSgix = ((int)0x8176) ,
+ ///
+ /// Original was GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177
+ ///
+ MaxClipmapDepthSgix = ((int)0x8177) ,
+ ///
+ /// Original was GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178
+ ///
+ MaxClipmapVirtualDepthSgix = ((int)0x8178) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179
+ ///
+ PostTextureFilterBiasSgix = ((int)0x8179) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A
+ ///
+ PostTextureFilterScaleSgix = ((int)0x817A) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B
+ ///
+ PostTextureFilterBiasRangeSgix = ((int)0x817B) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C
+ ///
+ PostTextureFilterScaleRangeSgix = ((int)0x817C) ,
+ ///
+ /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D
+ ///
+ ReferencePlaneSgix = ((int)0x817D) ,
+ ///
+ /// Original was GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E
+ ///
+ ReferencePlaneEquationSgix = ((int)0x817E) ,
+ ///
+ /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F
+ ///
+ IrInstrument1Sgix = ((int)0x817F) ,
+ ///
+ /// Original was GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180
+ ///
+ InstrumentBufferPointerSgix = ((int)0x8180) ,
+ ///
+ /// Original was GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181
+ ///
+ InstrumentMeasurementsSgix = ((int)0x8181) ,
+ ///
+ /// Original was GL_LIST_PRIORITY_SGIX = 0x8182
+ ///
+ ListPrioritySgix = ((int)0x8182) ,
+ ///
+ /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183
+ ///
+ CalligraphicFragmentSgix = ((int)0x8183) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184
+ ///
+ PixelTexGenQCeilingSgix = ((int)0x8184) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185
+ ///
+ PixelTexGenQRoundSgix = ((int)0x8185) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186
+ ///
+ PixelTexGenQFloorSgix = ((int)0x8186) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187
+ ///
+ PixelTexGenAlphaReplaceSgix = ((int)0x8187) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188
+ ///
+ PixelTexGenAlphaNoReplaceSgix = ((int)0x8188) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189
+ ///
+ PixelTexGenAlphaLsSgix = ((int)0x8189) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A
+ ///
+ PixelTexGenAlphaMsSgix = ((int)0x818A) ,
+ ///
+ /// Original was GL_FRAMEZOOM_SGIX = 0x818B
+ ///
+ FramezoomSgix = ((int)0x818B) ,
+ ///
+ /// Original was GL_FRAMEZOOM_FACTOR_SGIX = 0x818C
+ ///
+ FramezoomFactorSgix = ((int)0x818C) ,
+ ///
+ /// Original was GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D
+ ///
+ MaxFramezoomFactorSgix = ((int)0x818D) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E
+ ///
+ TextureLodBiasSSgix = ((int)0x818E) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F
+ ///
+ TextureLodBiasTSgix = ((int)0x818F) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190
+ ///
+ TextureLodBiasRSgix = ((int)0x8190) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP = 0x8191
+ ///
+ GenerateMipmap = ((int)0x8191) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191
+ ///
+ GenerateMipmapSgis = ((int)0x8191) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192
+ ///
+ GenerateMipmapHint = ((int)0x8192) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192
+ ///
+ GenerateMipmapHintSgis = ((int)0x8192) ,
+ ///
+ /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194
+ ///
+ GeometryDeformationSgix = ((int)0x8194) ,
+ ///
+ /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195
+ ///
+ TextureDeformationSgix = ((int)0x8195) ,
+ ///
+ /// Original was GL_DEFORMATIONS_MASK_SGIX = 0x8196
+ ///
+ DeformationsMaskSgix = ((int)0x8196) ,
+ ///
+ /// Original was GL_FOG_OFFSET_SGIX = 0x8198
+ ///
+ FogOffsetSgix = ((int)0x8198) ,
+ ///
+ /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199
+ ///
+ FogOffsetValueSgix = ((int)0x8199) ,
+ ///
+ /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A
+ ///
+ TextureCompareSgix = ((int)0x819A) ,
+ ///
+ /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B
+ ///
+ TextureCompareOperatorSgix = ((int)0x819B) ,
+ ///
+ /// Original was GL_TEXTURE_LEQUAL_R_SGIX = 0x819C
+ ///
+ TextureLequalRSgix = ((int)0x819C) ,
+ ///
+ /// Original was GL_TEXTURE_GEQUAL_R_SGIX = 0x819D
+ ///
+ TextureGequalRSgix = ((int)0x819D) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT16_OES = 0x81A5
+ ///
+ DepthComponent16Oes = ((int)0x81A5) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT16_SGIX = 0x81A5
+ ///
+ DepthComponent16Sgix = ((int)0x81A5) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT24_OES = 0x81A6
+ ///
+ DepthComponent24Oes = ((int)0x81A6) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT24_SGIX = 0x81A6
+ ///
+ DepthComponent24Sgix = ((int)0x81A6) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT32_OES = 0x81A7
+ ///
+ DepthComponent32Oes = ((int)0x81A7) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT32_SGIX = 0x81A7
+ ///
+ DepthComponent32Sgix = ((int)0x81A7) ,
+ ///
+ /// Original was GL_YCRCB_422_SGIX = 0x81BB
+ ///
+ Ycrcb422Sgix = ((int)0x81BB) ,
+ ///
+ /// Original was GL_YCRCB_444_SGIX = 0x81BC
+ ///
+ Ycrcb444Sgix = ((int)0x81BC) ,
+ ///
+ /// Original was GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0
+ ///
+ EyeDistanceToPointSgis = ((int)0x81F0) ,
+ ///
+ /// Original was GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1
+ ///
+ ObjectDistanceToPointSgis = ((int)0x81F1) ,
+ ///
+ /// Original was GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2
+ ///
+ EyeDistanceToLineSgis = ((int)0x81F2) ,
+ ///
+ /// Original was GL_OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3
+ ///
+ ObjectDistanceToLineSgis = ((int)0x81F3) ,
+ ///
+ /// Original was GL_EYE_POINT_SGIS = 0x81F4
+ ///
+ EyePointSgis = ((int)0x81F4) ,
+ ///
+ /// Original was GL_OBJECT_POINT_SGIS = 0x81F5
+ ///
+ ObjectPointSgis = ((int)0x81F5) ,
+ ///
+ /// Original was GL_EYE_LINE_SGIS = 0x81F6
+ ///
+ EyeLineSgis = ((int)0x81F6) ,
+ ///
+ /// Original was GL_OBJECT_LINE_SGIS = 0x81F7
+ ///
+ ObjectLineSgis = ((int)0x81F7) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
+ ///
+ LightModelColorControl = ((int)0x81F8) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8
+ ///
+ LightModelColorControlExt = ((int)0x81F8) ,
+ ///
+ /// Original was GL_SINGLE_COLOR = 0x81F9
+ ///
+ SingleColor = ((int)0x81F9) ,
+ ///
+ /// Original was GL_SINGLE_COLOR_EXT = 0x81F9
+ ///
+ SingleColorExt = ((int)0x81F9) ,
+ ///
+ /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA
+ ///
+ SeparateSpecularColor = ((int)0x81FA) ,
+ ///
+ /// Original was GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA
+ ///
+ SeparateSpecularColorExt = ((int)0x81FA) ,
+ ///
+ /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB
+ ///
+ SharedTexturePaletteExt = ((int)0x81FB) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210
+ ///
+ FramebufferAttachmentColorEncodingExt = ((int)0x8210) ,
+ ///
+ /// Original was GL_R8_EXT = 0x8229
+ ///
+ R8Ext = ((int)0x8229) ,
+ ///
+ /// Original was GL_RG8_EXT = 0x822B
+ ///
+ Rg8Ext = ((int)0x822B) ,
+ ///
+ /// Original was GL_R16F_EXT = 0x822D
+ ///
+ R16fExt = ((int)0x822D) ,
+ ///
+ /// Original was GL_R32F_EXT = 0x822E
+ ///
+ R32fExt = ((int)0x822E) ,
+ ///
+ /// Original was GL_RG16F_EXT = 0x822F
+ ///
+ Rg16fExt = ((int)0x822F) ,
+ ///
+ /// Original was GL_RG32F_EXT = 0x8230
+ ///
+ Rg32fExt = ((int)0x8230) ,
+ ///
+ /// Original was GL_LOSE_CONTEXT_ON_RESET_EXT = 0x8252
+ ///
+ LoseContextOnResetExt = ((int)0x8252) ,
+ ///
+ /// Original was GL_GUILTY_CONTEXT_RESET_EXT = 0x8253
+ ///
+ GuiltyContextResetExt = ((int)0x8253) ,
+ ///
+ /// Original was GL_INNOCENT_CONTEXT_RESET_EXT = 0x8254
+ ///
+ InnocentContextResetExt = ((int)0x8254) ,
+ ///
+ /// Original was GL_UNKNOWN_CONTEXT_RESET_EXT = 0x8255
+ ///
+ UnknownContextResetExt = ((int)0x8255) ,
+ ///
+ /// Original was GL_RESET_NOTIFICATION_STRATEGY_EXT = 0x8256
+ ///
+ ResetNotificationStrategyExt = ((int)0x8256) ,
+ ///
+ /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
+ ///
+ ProgramBinaryRetrievableHint = ((int)0x8257) ,
+ ///
+ /// Original was GL_NO_RESET_NOTIFICATION_EXT = 0x8261
+ ///
+ NoResetNotificationExt = ((int)0x8261) ,
+ ///
+ /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316
+ ///
+ ConvolutionHintSgix = ((int)0x8316) ,
+ ///
+ /// Original was GL_ALPHA_MIN_SGIX = 0x8320
+ ///
+ AlphaMinSgix = ((int)0x8320) ,
+ ///
+ /// Original was GL_ALPHA_MAX_SGIX = 0x8321
+ ///
+ AlphaMaxSgix = ((int)0x8321) ,
+ ///
+ /// Original was GL_SCALEBIAS_HINT_SGIX = 0x8322
+ ///
+ ScalebiasHintSgix = ((int)0x8322) ,
+ ///
+ /// Original was GL_ASYNC_MARKER_SGIX = 0x8329
+ ///
+ AsyncMarkerSgix = ((int)0x8329) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B
+ ///
+ PixelTexGenModeSgix = ((int)0x832B) ,
+ ///
+ /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C
+ ///
+ AsyncHistogramSgix = ((int)0x832C) ,
+ ///
+ /// Original was GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D
+ ///
+ MaxAsyncHistogramSgix = ((int)0x832D) ,
+ ///
+ /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353
+ ///
+ PixelTextureSgis = ((int)0x8353) ,
+ ///
+ /// Original was GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354
+ ///
+ PixelFragmentRgbSourceSgis = ((int)0x8354) ,
+ ///
+ /// Original was GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355
+ ///
+ PixelFragmentAlphaSourceSgis = ((int)0x8355) ,
+ ///
+ /// Original was GL_LINE_QUALITY_HINT_SGIX = 0x835B
+ ///
+ LineQualityHintSgix = ((int)0x835B) ,
+ ///
+ /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C
+ ///
+ AsyncTexImageSgix = ((int)0x835C) ,
+ ///
+ /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D
+ ///
+ AsyncDrawPixelsSgix = ((int)0x835D) ,
+ ///
+ /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E
+ ///
+ AsyncReadPixelsSgix = ((int)0x835E) ,
+ ///
+ /// Original was GL_MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F
+ ///
+ MaxAsyncTexImageSgix = ((int)0x835F) ,
+ ///
+ /// Original was GL_MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360
+ ///
+ MaxAsyncDrawPixelsSgix = ((int)0x8360) ,
+ ///
+ /// Original was GL_MAX_ASYNC_READ_PIXELS_SGIX = 0x8361
+ ///
+ MaxAsyncReadPixelsSgix = ((int)0x8361) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_6_5 = 0x8363
+ ///
+ UnsignedShort565 = ((int)0x8363) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT = 0x8365
+ ///
+ UnsignedShort4444RevExt = ((int)0x8365) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG = 0x8365
+ ///
+ UnsignedShort4444RevImg = ((int)0x8365) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT = 0x8366
+ ///
+ UnsignedShort1555RevExt = ((int)0x8366) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369
+ ///
+ TextureMaxClampSSgix = ((int)0x8369) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A
+ ///
+ TextureMaxClampTSgix = ((int)0x836A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B
+ ///
+ TextureMaxClampRSgix = ((int)0x836B) ,
+ ///
+ /// Original was GL_MIRRORED_REPEAT_OES = 0x8370
+ ///
+ MirroredRepeatOes = ((int)0x8370) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE
+ ///
+ VertexPreclipSgix = ((int)0x83EE) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF
+ ///
+ VertexPreclipHintSgix = ((int)0x83EF) ,
+ ///
+ /// Original was GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0
+ ///
+ CompressedRgbS3tcDxt1Ext = ((int)0x83F0) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1
+ ///
+ CompressedRgbaS3tcDxt1Ext = ((int)0x83F1) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400
+ ///
+ FragmentLightingSgix = ((int)0x8400) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401
+ ///
+ FragmentColorMaterialSgix = ((int)0x8401) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402
+ ///
+ FragmentColorMaterialFaceSgix = ((int)0x8402) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403
+ ///
+ FragmentColorMaterialParameterSgix = ((int)0x8403) ,
+ ///
+ /// Original was GL_MAX_FRAGMENT_LIGHTS_SGIX = 0x8404
+ ///
+ MaxFragmentLightsSgix = ((int)0x8404) ,
+ ///
+ /// Original was GL_MAX_ACTIVE_LIGHTS_SGIX = 0x8405
+ ///
+ MaxActiveLightsSgix = ((int)0x8405) ,
+ ///
+ /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407
+ ///
+ LightEnvModeSgix = ((int)0x8407) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408
+ ///
+ FragmentLightModelLocalViewerSgix = ((int)0x8408) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409
+ ///
+ FragmentLightModelTwoSideSgix = ((int)0x8409) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A
+ ///
+ FragmentLightModelAmbientSgix = ((int)0x840A) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B
+ ///
+ FragmentLightModelNormalInterpolationSgix = ((int)0x840B) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C
+ ///
+ FragmentLight0Sgix = ((int)0x840C) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D
+ ///
+ FragmentLight1Sgix = ((int)0x840D) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E
+ ///
+ FragmentLight2Sgix = ((int)0x840E) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F
+ ///
+ FragmentLight3Sgix = ((int)0x840F) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410
+ ///
+ FragmentLight4Sgix = ((int)0x8410) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411
+ ///
+ FragmentLight5Sgix = ((int)0x8411) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412
+ ///
+ FragmentLight6Sgix = ((int)0x8412) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413
+ ///
+ FragmentLight7Sgix = ((int)0x8413) ,
+ ///
+ /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C
+ ///
+ PackResampleSgix = ((int)0x842C) ,
+ ///
+ /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D
+ ///
+ UnpackResampleSgix = ((int)0x842D) ,
+ ///
+ /// Original was GL_RESAMPLE_REPLICATE_SGIX = 0x842E
+ ///
+ ResampleReplicateSgix = ((int)0x842E) ,
+ ///
+ /// Original was GL_RESAMPLE_ZERO_FILL_SGIX = 0x842F
+ ///
+ ResampleZeroFillSgix = ((int)0x842F) ,
+ ///
+ /// Original was GL_RESAMPLE_DECIMATE_SGIX = 0x8430
+ ///
+ ResampleDecimateSgix = ((int)0x8430) ,
+ ///
+ /// Original was GL_NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D
+ ///
+ NearestClipmapNearestSgix = ((int)0x844D) ,
+ ///
+ /// Original was GL_NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E
+ ///
+ NearestClipmapLinearSgix = ((int)0x844E) ,
+ ///
+ /// Original was GL_LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F
+ ///
+ LinearClipmapNearestSgix = ((int)0x844F) ,
+ ///
+ /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D
+ ///
+ AliasedPointSizeRange = ((int)0x846D) ,
+ ///
+ /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
+ ///
+ AliasedLineWidthRange = ((int)0x846E) ,
+ ///
+ /// Original was GL_TEXTURE0 = 0x84C0
+ ///
+ Texture0 = ((int)0x84C0) ,
+ ///
+ /// Original was GL_TEXTURE1 = 0x84C1
+ ///
+ Texture1 = ((int)0x84C1) ,
+ ///
+ /// Original was GL_TEXTURE2 = 0x84C2
+ ///
+ Texture2 = ((int)0x84C2) ,
+ ///
+ /// Original was GL_TEXTURE3 = 0x84C3
+ ///
+ Texture3 = ((int)0x84C3) ,
+ ///
+ /// Original was GL_TEXTURE4 = 0x84C4
+ ///
+ Texture4 = ((int)0x84C4) ,
+ ///
+ /// Original was GL_TEXTURE5 = 0x84C5
+ ///
+ Texture5 = ((int)0x84C5) ,
+ ///
+ /// Original was GL_TEXTURE6 = 0x84C6
+ ///
+ Texture6 = ((int)0x84C6) ,
+ ///
+ /// Original was GL_TEXTURE7 = 0x84C7
+ ///
+ Texture7 = ((int)0x84C7) ,
+ ///
+ /// Original was GL_TEXTURE8 = 0x84C8
+ ///
+ Texture8 = ((int)0x84C8) ,
+ ///
+ /// Original was GL_TEXTURE9 = 0x84C9
+ ///
+ Texture9 = ((int)0x84C9) ,
+ ///
+ /// Original was GL_TEXTURE10 = 0x84CA
+ ///
+ Texture10 = ((int)0x84CA) ,
+ ///
+ /// Original was GL_TEXTURE11 = 0x84CB
+ ///
+ Texture11 = ((int)0x84CB) ,
+ ///
+ /// Original was GL_TEXTURE12 = 0x84CC
+ ///
+ Texture12 = ((int)0x84CC) ,
+ ///
+ /// Original was GL_TEXTURE13 = 0x84CD
+ ///
+ Texture13 = ((int)0x84CD) ,
+ ///
+ /// Original was GL_TEXTURE14 = 0x84CE
+ ///
+ Texture14 = ((int)0x84CE) ,
+ ///
+ /// Original was GL_TEXTURE15 = 0x84CF
+ ///
+ Texture15 = ((int)0x84CF) ,
+ ///
+ /// Original was GL_TEXTURE16 = 0x84D0
+ ///
+ Texture16 = ((int)0x84D0) ,
+ ///
+ /// Original was GL_TEXTURE17 = 0x84D1
+ ///
+ Texture17 = ((int)0x84D1) ,
+ ///
+ /// Original was GL_TEXTURE18 = 0x84D2
+ ///
+ Texture18 = ((int)0x84D2) ,
+ ///
+ /// Original was GL_TEXTURE19 = 0x84D3
+ ///
+ Texture19 = ((int)0x84D3) ,
+ ///
+ /// Original was GL_TEXTURE20 = 0x84D4
+ ///
+ Texture20 = ((int)0x84D4) ,
+ ///
+ /// Original was GL_TEXTURE21 = 0x84D5
+ ///
+ Texture21 = ((int)0x84D5) ,
+ ///
+ /// Original was GL_TEXTURE22 = 0x84D6
+ ///
+ Texture22 = ((int)0x84D6) ,
+ ///
+ /// Original was GL_TEXTURE23 = 0x84D7
+ ///
+ Texture23 = ((int)0x84D7) ,
+ ///
+ /// Original was GL_TEXTURE24 = 0x84D8
+ ///
+ Texture24 = ((int)0x84D8) ,
+ ///
+ /// Original was GL_TEXTURE25 = 0x84D9
+ ///
+ Texture25 = ((int)0x84D9) ,
+ ///
+ /// Original was GL_TEXTURE26 = 0x84DA
+ ///
+ Texture26 = ((int)0x84DA) ,
+ ///
+ /// Original was GL_TEXTURE27 = 0x84DB
+ ///
+ Texture27 = ((int)0x84DB) ,
+ ///
+ /// Original was GL_TEXTURE28 = 0x84DC
+ ///
+ Texture28 = ((int)0x84DC) ,
+ ///
+ /// Original was GL_TEXTURE29 = 0x84DD
+ ///
+ Texture29 = ((int)0x84DD) ,
+ ///
+ /// Original was GL_TEXTURE30 = 0x84DE
+ ///
+ Texture30 = ((int)0x84DE) ,
+ ///
+ /// Original was GL_TEXTURE31 = 0x84DF
+ ///
+ Texture31 = ((int)0x84DF) ,
+ ///
+ /// Original was GL_ACTIVE_TEXTURE = 0x84E0
+ ///
+ ActiveTexture = ((int)0x84E0) ,
+ ///
+ /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1
+ ///
+ ClientActiveTexture = ((int)0x84E1) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2
+ ///
+ MaxTextureUnits = ((int)0x84E2) ,
+ ///
+ /// Original was GL_SUBTRACT = 0x84E7
+ ///
+ Subtract = ((int)0x84E7) ,
+ ///
+ /// Original was GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8
+ ///
+ MaxRenderbufferSizeOes = ((int)0x84E8) ,
+ ///
+ /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF
+ ///
+ TextureCompressionHint = ((int)0x84EF) ,
+ ///
+ /// Original was GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF
+ ///
+ TextureCompressionHintArb = ((int)0x84EF) ,
+ ///
+ /// Original was GL_ALL_COMPLETED_NV = 0x84F2
+ ///
+ AllCompletedNv = ((int)0x84F2) ,
+ ///
+ /// Original was GL_FENCE_STATUS_NV = 0x84F3
+ ///
+ FenceStatusNv = ((int)0x84F3) ,
+ ///
+ /// Original was GL_FENCE_CONDITION_NV = 0x84F4
+ ///
+ FenceConditionNv = ((int)0x84F4) ,
+ ///
+ /// Original was GL_DEPTH_STENCIL_OES = 0x84F9
+ ///
+ DepthStencilOes = ((int)0x84F9) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_24_8_OES = 0x84FA
+ ///
+ UnsignedInt248Oes = ((int)0x84FA) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD
+ ///
+ MaxTextureLodBiasExt = ((int)0x84FD) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE
+ ///
+ TextureMaxAnisotropyExt = ((int)0x84FE) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF
+ ///
+ MaxTextureMaxAnisotropyExt = ((int)0x84FF) ,
+ ///
+ /// Original was GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500
+ ///
+ TextureFilterControlExt = ((int)0x8500) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_EXT = 0x8501
+ ///
+ TextureLodBiasExt = ((int)0x8501) ,
+ ///
+ /// Original was GL_INCR_WRAP_OES = 0x8507
+ ///
+ IncrWrapOes = ((int)0x8507) ,
+ ///
+ /// Original was GL_DECR_WRAP_OES = 0x8508
+ ///
+ DecrWrapOes = ((int)0x8508) ,
+ ///
+ /// Original was GL_NORMAL_MAP_OES = 0x8511
+ ///
+ NormalMapOes = ((int)0x8511) ,
+ ///
+ /// Original was GL_REFLECTION_MAP_OES = 0x8512
+ ///
+ ReflectionMapOes = ((int)0x8512) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_OES = 0x8513
+ ///
+ TextureCubeMapOes = ((int)0x8513) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514
+ ///
+ TextureBindingCubeMapOes = ((int)0x8514) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515
+ ///
+ TextureCubeMapPositiveXOes = ((int)0x8515) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516
+ ///
+ TextureCubeMapNegativeXOes = ((int)0x8516) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517
+ ///
+ TextureCubeMapPositiveYOes = ((int)0x8517) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518
+ ///
+ TextureCubeMapNegativeYOes = ((int)0x8518) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519
+ ///
+ TextureCubeMapPositiveZOes = ((int)0x8519) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A
+ ///
+ TextureCubeMapNegativeZOes = ((int)0x851A) ,
+ ///
+ /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C
+ ///
+ MaxCubeMapTextureSizeOes = ((int)0x851C) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F
+ ///
+ VertexArrayStorageHintApple = ((int)0x851F) ,
+ ///
+ /// Original was GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534
+ ///
+ MultisampleFilterHintNv = ((int)0x8534) ,
+ ///
+ /// Original was GL_COMBINE = 0x8570
+ ///
+ Combine = ((int)0x8570) ,
+ ///
+ /// Original was GL_COMBINE_RGB = 0x8571
+ ///
+ CombineRgb = ((int)0x8571) ,
+ ///
+ /// Original was GL_COMBINE_ALPHA = 0x8572
+ ///
+ CombineAlpha = ((int)0x8572) ,
+ ///
+ /// Original was GL_RGB_SCALE = 0x8573
+ ///
+ RgbScale = ((int)0x8573) ,
+ ///
+ /// Original was GL_ADD_SIGNED = 0x8574
+ ///
+ AddSigned = ((int)0x8574) ,
+ ///
+ /// Original was GL_INTERPOLATE = 0x8575
+ ///
+ Interpolate = ((int)0x8575) ,
+ ///
+ /// Original was GL_CONSTANT = 0x8576
+ ///
+ Constant = ((int)0x8576) ,
+ ///
+ /// Original was GL_PRIMARY_COLOR = 0x8577
+ ///
+ PrimaryColor = ((int)0x8577) ,
+ ///
+ /// Original was GL_PREVIOUS = 0x8578
+ ///
+ Previous = ((int)0x8578) ,
+ ///
+ /// Original was GL_SRC0_RGB = 0x8580
+ ///
+ Src0Rgb = ((int)0x8580) ,
+ ///
+ /// Original was GL_SRC1_RGB = 0x8581
+ ///
+ Src1Rgb = ((int)0x8581) ,
+ ///
+ /// Original was GL_SRC2_RGB = 0x8582
+ ///
+ Src2Rgb = ((int)0x8582) ,
+ ///
+ /// Original was GL_SRC0_ALPHA = 0x8588
+ ///
+ Src0Alpha = ((int)0x8588) ,
+ ///
+ /// Original was GL_SRC1_ALPHA = 0x8589
+ ///
+ Src1Alpha = ((int)0x8589) ,
+ ///
+ /// Original was GL_SRC2_ALPHA = 0x858A
+ ///
+ Src2Alpha = ((int)0x858A) ,
+ ///
+ /// Original was GL_OPERAND0_RGB = 0x8590
+ ///
+ Operand0Rgb = ((int)0x8590) ,
+ ///
+ /// Original was GL_OPERAND1_RGB = 0x8591
+ ///
+ Operand1Rgb = ((int)0x8591) ,
+ ///
+ /// Original was GL_OPERAND2_RGB = 0x8592
+ ///
+ Operand2Rgb = ((int)0x8592) ,
+ ///
+ /// Original was GL_OPERAND0_ALPHA = 0x8598
+ ///
+ Operand0Alpha = ((int)0x8598) ,
+ ///
+ /// Original was GL_OPERAND1_ALPHA = 0x8599
+ ///
+ Operand1Alpha = ((int)0x8599) ,
+ ///
+ /// Original was GL_OPERAND2_ALPHA = 0x859A
+ ///
+ Operand2Alpha = ((int)0x859A) ,
+ ///
+ /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0
+ ///
+ PackSubsampleRateSgix = ((int)0x85A0) ,
+ ///
+ /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1
+ ///
+ UnpackSubsampleRateSgix = ((int)0x85A1) ,
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2
+ ///
+ PixelSubsample4444Sgix = ((int)0x85A2) ,
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3
+ ///
+ PixelSubsample2424Sgix = ((int)0x85A3) ,
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4
+ ///
+ PixelSubsample4242Sgix = ((int)0x85A4) ,
+ ///
+ /// Original was GL_TRANSFORM_HINT_APPLE = 0x85B1
+ ///
+ TransformHintApple = ((int)0x85B1) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_BINDING_OES = 0x85B5
+ ///
+ VertexArrayBindingOes = ((int)0x85B5) ,
+ ///
+ /// Original was GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC
+ ///
+ TextureStorageHintApple = ((int)0x85BC) ,
+ ///
+ /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
+ ///
+ NumCompressedTextureFormats = ((int)0x86A2) ,
+ ///
+ /// Original was GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3
+ ///
+ CompressedTextureFormats = ((int)0x86A3) ,
+ ///
+ /// Original was GL_MAX_VERTEX_UNITS_OES = 0x86A4
+ ///
+ MaxVertexUnitsOes = ((int)0x86A4) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9
+ ///
+ WeightArrayTypeOes = ((int)0x86A9) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA
+ ///
+ WeightArrayStrideOes = ((int)0x86AA) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB
+ ///
+ WeightArraySizeOes = ((int)0x86AB) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC
+ ///
+ WeightArrayPointerOes = ((int)0x86AC) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_OES = 0x86AD
+ ///
+ WeightArrayOes = ((int)0x86AD) ,
+ ///
+ /// Original was GL_DOT3_RGB = 0x86AE
+ ///
+ Dot3Rgb = ((int)0x86AE) ,
+ ///
+ /// Original was GL_DOT3_RGBA = 0x86AF
+ ///
+ Dot3Rgba = ((int)0x86AF) ,
+ ///
+ /// Original was GL_DOT3_RGBA_IMG = 0x86AF
+ ///
+ Dot3RgbaImg = ((int)0x86AF) ,
+ ///
+ /// Original was GL_BUFFER_SIZE = 0x8764
+ ///
+ BufferSize = ((int)0x8764) ,
+ ///
+ /// Original was GL_BUFFER_USAGE = 0x8765
+ ///
+ BufferUsage = ((int)0x8765) ,
+ ///
+ /// Original was GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE
+ ///
+ AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE) ,
+ ///
+ /// Original was GL_3DC_X_AMD = 0x87F9
+ ///
+ Gl3DcXAmd = ((int)0x87F9) ,
+ ///
+ /// Original was GL_3DC_XY_AMD = 0x87FA
+ ///
+ Gl3DcXyAmd = ((int)0x87FA) ,
+ ///
+ /// Original was GL_RGBA32F_EXT = 0x8814
+ ///
+ Rgba32fExt = ((int)0x8814) ,
+ ///
+ /// Original was GL_RGB32F_EXT = 0x8815
+ ///
+ Rgb32fExt = ((int)0x8815) ,
+ ///
+ /// Original was GL_ALPHA32F_EXT = 0x8816
+ ///
+ Alpha32fExt = ((int)0x8816) ,
+ ///
+ /// Original was GL_LUMINANCE32F_EXT = 0x8818
+ ///
+ Luminance32fExt = ((int)0x8818) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA32F_EXT = 0x8819
+ ///
+ LuminanceAlpha32fExt = ((int)0x8819) ,
+ ///
+ /// Original was GL_RGBA16F_EXT = 0x881A
+ ///
+ Rgba16fExt = ((int)0x881A) ,
+ ///
+ /// Original was GL_RGB16F_EXT = 0x881B
+ ///
+ Rgb16fExt = ((int)0x881B) ,
+ ///
+ /// Original was GL_ALPHA16F_EXT = 0x881C
+ ///
+ Alpha16fExt = ((int)0x881C) ,
+ ///
+ /// Original was GL_LUMINANCE16F_EXT = 0x881E
+ ///
+ Luminance16fExt = ((int)0x881E) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA16F_EXT = 0x881F
+ ///
+ LuminanceAlpha16fExt = ((int)0x881F) ,
+ ///
+ /// Original was GL_WRITEONLY_RENDERING_QCOM = 0x8823
+ ///
+ WriteonlyRenderingQcom = ((int)0x8823) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_ALPHA_OES = 0x883D
+ ///
+ BlendEquationAlphaOes = ((int)0x883D) ,
+ ///
+ /// Original was GL_MATRIX_PALETTE_OES = 0x8840
+ ///
+ MatrixPaletteOes = ((int)0x8840) ,
+ ///
+ /// Original was GL_MAX_PALETTE_MATRICES_OES = 0x8842
+ ///
+ MaxPaletteMatricesOes = ((int)0x8842) ,
+ ///
+ /// Original was GL_CURRENT_PALETTE_MATRIX_OES = 0x8843
+ ///
+ CurrentPaletteMatrixOes = ((int)0x8843) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_OES = 0x8844
+ ///
+ MatrixIndexArrayOes = ((int)0x8844) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846
+ ///
+ MatrixIndexArraySizeOes = ((int)0x8846) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847
+ ///
+ MatrixIndexArrayTypeOes = ((int)0x8847) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848
+ ///
+ MatrixIndexArrayStrideOes = ((int)0x8848) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849
+ ///
+ MatrixIndexArrayPointerOes = ((int)0x8849) ,
+ ///
+ /// Original was GL_POINT_SPRITE_OES = 0x8861
+ ///
+ PointSpriteOes = ((int)0x8861) ,
+ ///
+ /// Original was GL_COORD_REPLACE_OES = 0x8862
+ ///
+ CoordReplaceOes = ((int)0x8862) ,
+ ///
+ /// Original was GL_ARRAY_BUFFER = 0x8892
+ ///
+ ArrayBuffer = ((int)0x8892) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893
+ ///
+ ElementArrayBuffer = ((int)0x8893) ,
+ ///
+ /// Original was GL_ARRAY_BUFFER_BINDING = 0x8894
+ ///
+ ArrayBufferBinding = ((int)0x8894) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
+ ///
+ ElementArrayBufferBinding = ((int)0x8895) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896
+ ///
+ VertexArrayBufferBinding = ((int)0x8896) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897
+ ///
+ NormalArrayBufferBinding = ((int)0x8897) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898
+ ///
+ ColorArrayBufferBinding = ((int)0x8898) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A
+ ///
+ TextureCoordArrayBufferBinding = ((int)0x889A) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E
+ ///
+ WeightArrayBufferBindingOes = ((int)0x889E) ,
+ ///
+ /// Original was GL_WRITE_ONLY_OES = 0x88B9
+ ///
+ WriteOnlyOes = ((int)0x88B9) ,
+ ///
+ /// Original was GL_BUFFER_ACCESS_OES = 0x88BB
+ ///
+ BufferAccessOes = ((int)0x88BB) ,
+ ///
+ /// Original was GL_BUFFER_MAPPED_OES = 0x88BC
+ ///
+ BufferMappedOes = ((int)0x88BC) ,
+ ///
+ /// Original was GL_BUFFER_MAP_POINTER_OES = 0x88BD
+ ///
+ BufferMapPointerOes = ((int)0x88BD) ,
+ ///
+ /// Original was GL_STATIC_DRAW = 0x88E4
+ ///
+ StaticDraw = ((int)0x88E4) ,
+ ///
+ /// Original was GL_DYNAMIC_DRAW = 0x88E8
+ ///
+ DynamicDraw = ((int)0x88E8) ,
+ ///
+ /// Original was GL_DEPTH24_STENCIL8_OES = 0x88F0
+ ///
+ Depth24Stencil8Oes = ((int)0x88F0) ,
+ ///
+ /// Original was GL_PACK_RESAMPLE_OML = 0x8984
+ ///
+ PackResampleOml = ((int)0x8984) ,
+ ///
+ /// Original was GL_UNPACK_RESAMPLE_OML = 0x8985
+ ///
+ UnpackResampleOml = ((int)0x8985) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A
+ ///
+ PointSizeArrayTypeOes = ((int)0x898A) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B
+ ///
+ PointSizeArrayStrideOes = ((int)0x898B) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C
+ ///
+ PointSizeArrayPointerOes = ((int)0x898C) ,
+ ///
+ /// Original was GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D
+ ///
+ ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D) ,
+ ///
+ /// Original was GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E
+ ///
+ ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E) ,
+ ///
+ /// Original was GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F
+ ///
+ TextureMatrixFloatAsIntBitsOes = ((int)0x898F) ,
+ ///
+ /// Original was GL_SYNC_OBJECT_APPLE = 0x8A53
+ ///
+ SyncObjectApple = ((int)0x8A53) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B
+ ///
+ FragmentShaderDerivativeHint = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B
+ ///
+ FragmentShaderDerivativeHintArb = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B
+ ///
+ FragmentShaderDerivativeHintOes = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_PALETTE4_RGB8_OES = 0x8B90
+ ///
+ Palette4Rgb8Oes = ((int)0x8B90) ,
+ ///
+ /// Original was GL_PALETTE4_RGBA8_OES = 0x8B91
+ ///
+ Palette4Rgba8Oes = ((int)0x8B91) ,
+ ///
+ /// Original was GL_PALETTE4_R5_G6_B5_OES = 0x8B92
+ ///
+ Palette4R5G6B5Oes = ((int)0x8B92) ,
+ ///
+ /// Original was GL_PALETTE4_RGBA4_OES = 0x8B93
+ ///
+ Palette4Rgba4Oes = ((int)0x8B93) ,
+ ///
+ /// Original was GL_PALETTE4_RGB5_A1_OES = 0x8B94
+ ///
+ Palette4Rgb5A1Oes = ((int)0x8B94) ,
+ ///
+ /// Original was GL_PALETTE8_RGB8_OES = 0x8B95
+ ///
+ Palette8Rgb8Oes = ((int)0x8B95) ,
+ ///
+ /// Original was GL_PALETTE8_RGBA8_OES = 0x8B96
+ ///
+ Palette8Rgba8Oes = ((int)0x8B96) ,
+ ///
+ /// Original was GL_PALETTE8_R5_G6_B5_OES = 0x8B97
+ ///
+ Palette8R5G6B5Oes = ((int)0x8B97) ,
+ ///
+ /// Original was GL_PALETTE8_RGBA4_OES = 0x8B98
+ ///
+ Palette8Rgba4Oes = ((int)0x8B98) ,
+ ///
+ /// Original was GL_PALETTE8_RGB5_A1_OES = 0x8B99
+ ///
+ Palette8Rgb5A1Oes = ((int)0x8B99) ,
+ ///
+ /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A
+ ///
+ ImplementationColorReadTypeOes = ((int)0x8B9A) ,
+ ///
+ /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B
+ ///
+ ImplementationColorReadFormatOes = ((int)0x8B9B) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_OES = 0x8B9C
+ ///
+ PointSizeArrayOes = ((int)0x8B9C) ,
+ ///
+ /// Original was GL_TEXTURE_CROP_RECT_OES = 0x8B9D
+ ///
+ TextureCropRectOes = ((int)0x8B9D) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E
+ ///
+ MatrixIndexArrayBufferBindingOes = ((int)0x8B9E) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F
+ ///
+ PointSizeArrayBufferBindingOes = ((int)0x8B9F) ,
+ ///
+ /// Original was GL_TEXTURE_WIDTH_QCOM = 0x8BD2
+ ///
+ TextureWidthQcom = ((int)0x8BD2) ,
+ ///
+ /// Original was GL_TEXTURE_HEIGHT_QCOM = 0x8BD3
+ ///
+ TextureHeightQcom = ((int)0x8BD3) ,
+ ///
+ /// Original was GL_TEXTURE_DEPTH_QCOM = 0x8BD4
+ ///
+ TextureDepthQcom = ((int)0x8BD4) ,
+ ///
+ /// Original was GL_TEXTURE_INTERNAL_FORMAT_QCOM = 0x8BD5
+ ///
+ TextureInternalFormatQcom = ((int)0x8BD5) ,
+ ///
+ /// Original was GL_TEXTURE_FORMAT_QCOM = 0x8BD6
+ ///
+ TextureFormatQcom = ((int)0x8BD6) ,
+ ///
+ /// Original was GL_TEXTURE_TYPE_QCOM = 0x8BD7
+ ///
+ TextureTypeQcom = ((int)0x8BD7) ,
+ ///
+ /// Original was GL_TEXTURE_IMAGE_VALID_QCOM = 0x8BD8
+ ///
+ TextureImageValidQcom = ((int)0x8BD8) ,
+ ///
+ /// Original was GL_TEXTURE_NUM_LEVELS_QCOM = 0x8BD9
+ ///
+ TextureNumLevelsQcom = ((int)0x8BD9) ,
+ ///
+ /// Original was GL_TEXTURE_TARGET_QCOM = 0x8BDA
+ ///
+ TextureTargetQcom = ((int)0x8BDA) ,
+ ///
+ /// Original was GL_TEXTURE_OBJECT_VALID_QCOM = 0x8BDB
+ ///
+ TextureObjectValidQcom = ((int)0x8BDB) ,
+ ///
+ /// Original was GL_STATE_RESTORE = 0x8BDC
+ ///
+ StateRestore = ((int)0x8BDC) ,
+ ///
+ /// Original was GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00
+ ///
+ CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00) ,
+ ///
+ /// Original was GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01
+ ///
+ CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02
+ ///
+ CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03
+ ///
+ CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03) ,
+ ///
+ /// Original was GL_MODULATE_COLOR_IMG = 0x8C04
+ ///
+ ModulateColorImg = ((int)0x8C04) ,
+ ///
+ /// Original was GL_RECIP_ADD_SIGNED_ALPHA_IMG = 0x8C05
+ ///
+ RecipAddSignedAlphaImg = ((int)0x8C05) ,
+ ///
+ /// Original was GL_TEXTURE_ALPHA_MODULATE_IMG = 0x8C06
+ ///
+ TextureAlphaModulateImg = ((int)0x8C06) ,
+ ///
+ /// Original was GL_FACTOR_ALPHA_MODULATE_IMG = 0x8C07
+ ///
+ FactorAlphaModulateImg = ((int)0x8C07) ,
+ ///
+ /// Original was GL_FRAGMENT_ALPHA_MODULATE_IMG = 0x8C08
+ ///
+ FragmentAlphaModulateImg = ((int)0x8C08) ,
+ ///
+ /// Original was GL_ADD_BLEND_IMG = 0x8C09
+ ///
+ AddBlendImg = ((int)0x8C09) ,
+ ///
+ /// Original was GL_SRGB_EXT = 0x8C40
+ ///
+ SrgbExt = ((int)0x8C40) ,
+ ///
+ /// Original was GL_SRGB_ALPHA_EXT = 0x8C42
+ ///
+ SrgbAlphaExt = ((int)0x8C42) ,
+ ///
+ /// Original was GL_SRGB8_ALPHA8_EXT = 0x8C43
+ ///
+ Srgb8Alpha8Ext = ((int)0x8C43) ,
+ ///
+ /// Original was GL_ATC_RGB_AMD = 0x8C92
+ ///
+ AtcRgbAmd = ((int)0x8C92) ,
+ ///
+ /// Original was GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93
+ ///
+ AtcRgbaExplicitAlphaAmd = ((int)0x8C93) ,
+ ///
+ /// Original was GL_DRAW_FRAMEBUFFER_BINDING_APPLE = 0x8CA6
+ ///
+ DrawFramebufferBindingApple = ((int)0x8CA6) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BINDING_OES = 0x8CA6
+ ///
+ FramebufferBindingOes = ((int)0x8CA6) ,
+ ///
+ /// Original was GL_RENDERBUFFER_BINDING_OES = 0x8CA7
+ ///
+ RenderbufferBindingOes = ((int)0x8CA7) ,
+ ///
+ /// Original was GL_READ_FRAMEBUFFER_APPLE = 0x8CA8
+ ///
+ ReadFramebufferApple = ((int)0x8CA8) ,
+ ///
+ /// Original was GL_DRAW_FRAMEBUFFER_APPLE = 0x8CA9
+ ///
+ DrawFramebufferApple = ((int)0x8CA9) ,
+ ///
+ /// Original was GL_READ_FRAMEBUFFER_BINDING_APPLE = 0x8CAA
+ ///
+ ReadFramebufferBindingApple = ((int)0x8CAA) ,
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_APPLE = 0x8CAB
+ ///
+ RenderbufferSamplesApple = ((int)0x8CAB) ,
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB
+ ///
+ RenderbufferSamplesExt = ((int)0x8CAB) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0
+ ///
+ FramebufferAttachmentObjectTypeOes = ((int)0x8CD0) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1
+ ///
+ FramebufferAttachmentObjectNameOes = ((int)0x8CD1) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2
+ ///
+ FramebufferAttachmentTextureLevelOes = ((int)0x8CD2) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3
+ ///
+ FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5
+ ///
+ FramebufferCompleteOes = ((int)0x8CD5) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6
+ ///
+ FramebufferIncompleteAttachmentOes = ((int)0x8CD6) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7
+ ///
+ FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9
+ ///
+ FramebufferIncompleteDimensionsOes = ((int)0x8CD9) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA
+ ///
+ FramebufferIncompleteFormatsOes = ((int)0x8CDA) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD
+ ///
+ FramebufferUnsupportedOes = ((int)0x8CDD) ,
+ ///
+ /// Original was GL_COLOR_ATTACHMENT0_OES = 0x8CE0
+ ///
+ ColorAttachment0Oes = ((int)0x8CE0) ,
+ ///
+ /// Original was GL_DEPTH_ATTACHMENT_OES = 0x8D00
+ ///
+ DepthAttachmentOes = ((int)0x8D00) ,
+ ///
+ /// Original was GL_STENCIL_ATTACHMENT_OES = 0x8D20
+ ///
+ StencilAttachmentOes = ((int)0x8D20) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_OES = 0x8D40
+ ///
+ FramebufferOes = ((int)0x8D40) ,
+ ///
+ /// Original was GL_RENDERBUFFER_OES = 0x8D41
+ ///
+ RenderbufferOes = ((int)0x8D41) ,
+ ///
+ /// Original was GL_RENDERBUFFER_WIDTH_OES = 0x8D42
+ ///
+ RenderbufferWidthOes = ((int)0x8D42) ,
+ ///
+ /// Original was GL_RENDERBUFFER_HEIGHT_OES = 0x8D43
+ ///
+ RenderbufferHeightOes = ((int)0x8D43) ,
+ ///
+ /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44
+ ///
+ RenderbufferInternalFormatOes = ((int)0x8D44) ,
+ ///
+ /// Original was GL_STENCIL_INDEX1_OES = 0x8D46
+ ///
+ StencilIndex1Oes = ((int)0x8D46) ,
+ ///
+ /// Original was GL_STENCIL_INDEX4_OES = 0x8D47
+ ///
+ StencilIndex4Oes = ((int)0x8D47) ,
+ ///
+ /// Original was GL_STENCIL_INDEX8_OES = 0x8D48
+ ///
+ StencilIndex8Oes = ((int)0x8D48) ,
+ ///
+ /// Original was GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50
+ ///
+ RenderbufferRedSizeOes = ((int)0x8D50) ,
+ ///
+ /// Original was GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51
+ ///
+ RenderbufferGreenSizeOes = ((int)0x8D51) ,
+ ///
+ /// Original was GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52
+ ///
+ RenderbufferBlueSizeOes = ((int)0x8D52) ,
+ ///
+ /// Original was GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53
+ ///
+ RenderbufferAlphaSizeOes = ((int)0x8D53) ,
+ ///
+ /// Original was GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54
+ ///
+ RenderbufferDepthSizeOes = ((int)0x8D54) ,
+ ///
+ /// Original was GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55
+ ///
+ RenderbufferStencilSizeOes = ((int)0x8D55) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE = 0x8D56
+ ///
+ FramebufferIncompleteMultisampleApple = ((int)0x8D56) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56
+ ///
+ FramebufferIncompleteMultisampleExt = ((int)0x8D56) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_APPLE = 0x8D57
+ ///
+ MaxSamplesApple = ((int)0x8D57) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_EXT = 0x8D57
+ ///
+ MaxSamplesExt = ((int)0x8D57) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_STR_OES = 0x8D60
+ ///
+ TextureGenStrOes = ((int)0x8D60) ,
+ ///
+ /// Original was GL_RGB565_OES = 0x8D62
+ ///
+ Rgb565Oes = ((int)0x8D62) ,
+ ///
+ /// Original was GL_ETC1_RGB8_OES = 0x8D64
+ ///
+ Etc1Rgb8Oes = ((int)0x8D64) ,
+ ///
+ /// Original was GL_TEXTURE_EXTERNAL_OES = 0x8D65
+ ///
+ TextureExternalOes = ((int)0x8D65) ,
+ ///
+ /// Original was GL_SAMPLER_EXTERNAL_OES = 0x8D66
+ ///
+ SamplerExternalOes = ((int)0x8D66) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67
+ ///
+ TextureBindingExternalOes = ((int)0x8D67) ,
+ ///
+ /// Original was GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68
+ ///
+ RequiredTextureImageUnitsOes = ((int)0x8D68) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT = 0x8D6C
+ ///
+ FramebufferAttachmentTextureSamplesExt = ((int)0x8D6C) ,
+ ///
+ /// Original was GL_PERFMON_GLOBAL_MODE_QCOM = 0x8FA0
+ ///
+ PerfmonGlobalModeQcom = ((int)0x8FA0) ,
+ ///
+ /// Original was GL_BINNING_CONTROL_HINT_QCOM = 0x8FB0
+ ///
+ BinningControlHintQcom = ((int)0x8FB0) ,
+ ///
+ /// Original was GL_CONTEXT_ROBUST_ACCESS_EXT = 0x90F3
+ ///
+ ContextRobustAccessExt = ((int)0x90F3) ,
+ ///
+ /// Original was GL_MAX_SERVER_WAIT_TIMEOUT_APPLE = 0x9111
+ ///
+ MaxServerWaitTimeoutApple = ((int)0x9111) ,
+ ///
+ /// Original was GL_OBJECT_TYPE_APPLE = 0x9112
+ ///
+ ObjectTypeApple = ((int)0x9112) ,
+ ///
+ /// Original was GL_SYNC_CONDITION_APPLE = 0x9113
+ ///
+ SyncConditionApple = ((int)0x9113) ,
+ ///
+ /// Original was GL_SYNC_STATUS_APPLE = 0x9114
+ ///
+ SyncStatusApple = ((int)0x9114) ,
+ ///
+ /// Original was GL_SYNC_FLAGS_APPLE = 0x9115
+ ///
+ SyncFlagsApple = ((int)0x9115) ,
+ ///
+ /// Original was GL_SYNC_FENCE_APPLE = 0x9116
+ ///
+ SyncFenceApple = ((int)0x9116) ,
+ ///
+ /// Original was GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE = 0x9117
+ ///
+ SyncGpuCommandsCompleteApple = ((int)0x9117) ,
+ ///
+ /// Original was GL_UNSIGNALED_APPLE = 0x9118
+ ///
+ UnsignaledApple = ((int)0x9118) ,
+ ///
+ /// Original was GL_SIGNALED_APPLE = 0x9119
+ ///
+ SignaledApple = ((int)0x9119) ,
+ ///
+ /// Original was GL_ALREADY_SIGNALED_APPLE = 0x911A
+ ///
+ AlreadySignaledApple = ((int)0x911A) ,
+ ///
+ /// Original was GL_TIMEOUT_EXPIRED_APPLE = 0x911B
+ ///
+ TimeoutExpiredApple = ((int)0x911B) ,
+ ///
+ /// Original was GL_CONDITION_SATISFIED_APPLE = 0x911C
+ ///
+ ConditionSatisfiedApple = ((int)0x911C) ,
+ ///
+ /// Original was GL_WAIT_FAILED_APPLE = 0x911D
+ ///
+ WaitFailedApple = ((int)0x911D) ,
+ ///
+ /// Original was GL_TEXTURE_IMMUTABLE_FORMAT_EXT = 0x912F
+ ///
+ TextureImmutableFormatExt = ((int)0x912F) ,
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_IMG = 0x9133
+ ///
+ RenderbufferSamplesImg = ((int)0x9133) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG = 0x9134
+ ///
+ FramebufferIncompleteMultisampleImg = ((int)0x9134) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_IMG = 0x9135
+ ///
+ MaxSamplesImg = ((int)0x9135) ,
+ ///
+ /// Original was GL_TEXTURE_SAMPLES_IMG = 0x9136
+ ///
+ TextureSamplesImg = ((int)0x9136) ,
+ ///
+ /// Original was GL_BGRA8_EXT = 0x93A1
+ ///
+ Bgra8Ext = ((int)0x93A1) ,
+ ///
+ /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF
+ ///
+ AllAttribBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_BARRIER_BITS = 0xFFFFFFFF
+ ///
+ AllBarrierBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_BARRIER_BITS_EXT = 0xFFFFFFFF
+ ///
+ AllBarrierBitsExt = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF
+ ///
+ AllShaderBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_SHADER_BITS_EXT = 0xFFFFFFFF
+ ///
+ AllShaderBitsExt = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
+ ///
+ ClientAllAttribBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF
+ ///
+ TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
+ ///
+ /// Original was GL_LAYOUT_LINEAR_INTEL = 1
+ ///
+ LayoutLinearIntel = ((int)1) ,
+ ///
+ /// Original was GL_ONE = 1
+ ///
+ One = ((int)1) ,
+ ///
+ /// Original was GL_TRUE = 1
+ ///
+ True = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CL_1_0 = 1
+ ///
+ VersionEsCl10 = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CL_1_1 = 1
+ ///
+ VersionEsCl11 = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CM_1_1 = 1
+ ///
+ VersionEsCm11 = ((int)1) ,
+ ///
+ /// Original was GL_LAYOUT_LINEAR_CPU_CACHED_INTEL = 2
+ ///
+ LayoutLinearCpuCachedIntel = ((int)2) ,
+ }
+
+ ///
+ /// Used in GL.AlphaFunc
+ ///
+ public enum AlphaFunction : int
+ {
+ ///
+ /// Original was GL_NEVER = 0x0200
+ ///
+ Never = ((int)0x0200) ,
+ ///
+ /// Original was GL_LESS = 0x0201
+ ///
+ Less = ((int)0x0201) ,
+ ///
+ /// Original was GL_EQUAL = 0x0202
+ ///
+ Equal = ((int)0x0202) ,
+ ///
+ /// Original was GL_LEQUAL = 0x0203
+ ///
+ Lequal = ((int)0x0203) ,
+ ///
+ /// Original was GL_GREATER = 0x0204
+ ///
+ Greater = ((int)0x0204) ,
+ ///
+ /// Original was GL_NOTEQUAL = 0x0205
+ ///
+ Notequal = ((int)0x0205) ,
+ ///
+ /// Original was GL_GEQUAL = 0x0206
+ ///
+ Gequal = ((int)0x0206) ,
+ ///
+ /// Original was GL_ALWAYS = 0x0207
+ ///
+ Always = ((int)0x0207) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AmdCompressed3DcTexture : int
+ {
+ ///
+ /// Original was GL_3DC_X_AMD = 0x87F9
+ ///
+ Gl3DcXAmd = ((int)0x87F9) ,
+ ///
+ /// Original was GL_3DC_XY_AMD = 0x87FA
+ ///
+ Gl3DcXyAmd = ((int)0x87FA) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AmdCompressedAtcTexture : int
+ {
+ ///
+ /// Original was GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD = 0x87EE
+ ///
+ AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE) ,
+ ///
+ /// Original was GL_ATC_RGB_AMD = 0x8C92
+ ///
+ AtcRgbAmd = ((int)0x8C92) ,
+ ///
+ /// Original was GL_ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93
+ ///
+ AtcRgbaExplicitAlphaAmd = ((int)0x8C93) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AppleCopyTextureLevels : int
+ {
+ }
+
+ ///
+ /// Used in GL.Apple.RenderbufferStorageMultisample
+ ///
+ public enum AppleFramebufferMultisample : int
+ {
+ ///
+ /// Original was GL_DRAW_FRAMEBUFFER_BINDING_APPLE = 0x8CA6
+ ///
+ DrawFramebufferBindingApple = ((int)0x8CA6) ,
+ ///
+ /// Original was GL_READ_FRAMEBUFFER_APPLE = 0x8CA8
+ ///
+ ReadFramebufferApple = ((int)0x8CA8) ,
+ ///
+ /// Original was GL_DRAW_FRAMEBUFFER_APPLE = 0x8CA9
+ ///
+ DrawFramebufferApple = ((int)0x8CA9) ,
+ ///
+ /// Original was GL_READ_FRAMEBUFFER_BINDING_APPLE = 0x8CAA
+ ///
+ ReadFramebufferBindingApple = ((int)0x8CAA) ,
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_APPLE = 0x8CAB
+ ///
+ RenderbufferSamplesApple = ((int)0x8CAB) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE = 0x8D56
+ ///
+ FramebufferIncompleteMultisampleApple = ((int)0x8D56) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_APPLE = 0x8D57
+ ///
+ MaxSamplesApple = ((int)0x8D57) ,
+ }
+
+ ///
+ /// Used in GL.Apple.FenceSync, GL.Apple.GetInteger64 and 1 other function
+ ///
+ public enum AppleSync : int
+ {
+ ///
+ /// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001
+ ///
+ SyncFlushCommandsBitApple = ((int)0x00000001) ,
+ ///
+ /// Original was GL_SYNC_OBJECT_APPLE = 0x8A53
+ ///
+ SyncObjectApple = ((int)0x8A53) ,
+ ///
+ /// Original was GL_MAX_SERVER_WAIT_TIMEOUT_APPLE = 0x9111
+ ///
+ MaxServerWaitTimeoutApple = ((int)0x9111) ,
+ ///
+ /// Original was GL_OBJECT_TYPE_APPLE = 0x9112
+ ///
+ ObjectTypeApple = ((int)0x9112) ,
+ ///
+ /// Original was GL_SYNC_CONDITION_APPLE = 0x9113
+ ///
+ SyncConditionApple = ((int)0x9113) ,
+ ///
+ /// Original was GL_SYNC_STATUS_APPLE = 0x9114
+ ///
+ SyncStatusApple = ((int)0x9114) ,
+ ///
+ /// Original was GL_SYNC_FLAGS_APPLE = 0x9115
+ ///
+ SyncFlagsApple = ((int)0x9115) ,
+ ///
+ /// Original was GL_SYNC_FENCE_APPLE = 0x9116
+ ///
+ SyncFenceApple = ((int)0x9116) ,
+ ///
+ /// Original was GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE = 0x9117
+ ///
+ SyncGpuCommandsCompleteApple = ((int)0x9117) ,
+ ///
+ /// Original was GL_UNSIGNALED_APPLE = 0x9118
+ ///
+ UnsignaledApple = ((int)0x9118) ,
+ ///
+ /// Original was GL_SIGNALED_APPLE = 0x9119
+ ///
+ SignaledApple = ((int)0x9119) ,
+ ///
+ /// Original was GL_ALREADY_SIGNALED_APPLE = 0x911A
+ ///
+ AlreadySignaledApple = ((int)0x911A) ,
+ ///
+ /// Original was GL_TIMEOUT_EXPIRED_APPLE = 0x911B
+ ///
+ TimeoutExpiredApple = ((int)0x911B) ,
+ ///
+ /// Original was GL_CONDITION_SATISFIED_APPLE = 0x911C
+ ///
+ ConditionSatisfiedApple = ((int)0x911C) ,
+ ///
+ /// Original was GL_WAIT_FAILED_APPLE = 0x911D
+ ///
+ WaitFailedApple = ((int)0x911D) ,
+ ///
+ /// Original was GL_TIMEOUT_IGNORED_APPLE = 0xFFFFFFFFFFFFFFFF
+ ///
+ TimeoutIgnoredApple = unchecked((int)0xFFFFFFFFFFFFFFFF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AppleTexture2DLimitedNpot : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AppleTextureFormatBgra8888 : int
+ {
+ ///
+ /// Original was GL_BGRA_EXT = 0x80E1
+ ///
+ BgraExt = ((int)0x80E1) ,
+ ///
+ /// Original was GL_BGRA8_EXT = 0x93A1
+ ///
+ Bgra8Ext = ((int)0x93A1) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum AppleTextureMaxLevel : int
+ {
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL_APPLE = 0x813D
+ ///
+ TextureMaxLevelApple = ((int)0x813D) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ArmRgba8 : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum AttribMask : int
+ {
+ ///
+ /// Original was GL_CURRENT_BIT = 0x00000001
+ ///
+ CurrentBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_POINT_BIT = 0x00000002
+ ///
+ PointBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_LINE_BIT = 0x00000004
+ ///
+ LineBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_POLYGON_BIT = 0x00000008
+ ///
+ PolygonBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_POLYGON_STIPPLE_BIT = 0x00000010
+ ///
+ PolygonStippleBit = ((int)0x00000010) ,
+ ///
+ /// Original was GL_PIXEL_MODE_BIT = 0x00000020
+ ///
+ PixelModeBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_LIGHTING_BIT = 0x00000040
+ ///
+ LightingBit = ((int)0x00000040) ,
+ ///
+ /// Original was GL_FOG_BIT = 0x00000080
+ ///
+ FogBit = ((int)0x00000080) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100
+ ///
+ DepthBufferBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200
+ ///
+ AccumBufferBit = ((int)0x00000200) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400
+ ///
+ StencilBufferBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_VIEWPORT_BIT = 0x00000800
+ ///
+ ViewportBit = ((int)0x00000800) ,
+ ///
+ /// Original was GL_TRANSFORM_BIT = 0x00001000
+ ///
+ TransformBit = ((int)0x00001000) ,
+ ///
+ /// Original was GL_ENABLE_BIT = 0x00002000
+ ///
+ EnableBit = ((int)0x00002000) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT = 0x00004000
+ ///
+ ColorBufferBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_HINT_BIT = 0x00008000
+ ///
+ HintBit = ((int)0x00008000) ,
+ ///
+ /// Original was GL_EVAL_BIT = 0x00010000
+ ///
+ EvalBit = ((int)0x00010000) ,
+ ///
+ /// Original was GL_LIST_BIT = 0x00020000
+ ///
+ ListBit = ((int)0x00020000) ,
+ ///
+ /// Original was GL_TEXTURE_BIT = 0x00040000
+ ///
+ TextureBit = ((int)0x00040000) ,
+ ///
+ /// Original was GL_SCISSOR_BIT = 0x00080000
+ ///
+ ScissorBit = ((int)0x00080000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT = 0x20000000
+ ///
+ MultisampleBit = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_3DFX = 0x20000000
+ ///
+ MultisampleBit3Dfx = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_ARB = 0x20000000
+ ///
+ MultisampleBitArb = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BIT_EXT = 0x20000000
+ ///
+ MultisampleBitExt = ((int)0x20000000) ,
+ ///
+ /// Original was GL_ALL_ATTRIB_BITS = 0xFFFFFFFF
+ ///
+ AllAttribBits = unchecked((int)0xFFFFFFFF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum BlendEquationModeExt : int
+ {
+ ///
+ /// Original was GL_LOGIC_OP = 0x0BF1
+ ///
+ LogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_FUNC_ADD_EXT = 0x8006
+ ///
+ FuncAddExt = ((int)0x8006) ,
+ ///
+ /// Original was GL_MIN_EXT = 0x8007
+ ///
+ MinExt = ((int)0x8007) ,
+ ///
+ /// Original was GL_MAX_EXT = 0x8008
+ ///
+ MaxExt = ((int)0x8008) ,
+ ///
+ /// Original was GL_FUNC_SUBTRACT_EXT = 0x800A
+ ///
+ FuncSubtractExt = ((int)0x800A) ,
+ ///
+ /// Original was GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B
+ ///
+ FuncReverseSubtractExt = ((int)0x800B) ,
+ ///
+ /// Original was GL_ALPHA_MIN_SGIX = 0x8320
+ ///
+ AlphaMinSgix = ((int)0x8320) ,
+ ///
+ /// Original was GL_ALPHA_MAX_SGIX = 0x8321
+ ///
+ AlphaMaxSgix = ((int)0x8321) ,
+ }
+
+ ///
+ /// Used in GL.BlendFunc
+ ///
+ public enum BlendingFactorDest : int
+ {
+ ///
+ /// Original was GL_ZERO = 0
+ ///
+ Zero = ((int)0) ,
+ ///
+ /// Original was GL_SRC_COLOR = 0x0300
+ ///
+ SrcColor = ((int)0x0300) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301
+ ///
+ OneMinusSrcColor = ((int)0x0301) ,
+ ///
+ /// Original was GL_SRC_ALPHA = 0x0302
+ ///
+ SrcAlpha = ((int)0x0302) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303
+ ///
+ OneMinusSrcAlpha = ((int)0x0303) ,
+ ///
+ /// Original was GL_DST_ALPHA = 0x0304
+ ///
+ DstAlpha = ((int)0x0304) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305
+ ///
+ OneMinusDstAlpha = ((int)0x0305) ,
+ ///
+ /// Original was GL_CONSTANT_COLOR_EXT = 0x8001
+ ///
+ ConstantColorExt = ((int)0x8001) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002
+ ///
+ OneMinusConstantColorExt = ((int)0x8002) ,
+ ///
+ /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003
+ ///
+ ConstantAlphaExt = ((int)0x8003) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004
+ ///
+ OneMinusConstantAlphaExt = ((int)0x8004) ,
+ ///
+ /// Original was GL_ONE = 1
+ ///
+ One = ((int)1) ,
+ }
+
+ ///
+ /// Used in GL.BlendFunc
+ ///
+ public enum BlendingFactorSrc : int
+ {
+ ///
+ /// Original was GL_ZERO = 0
+ ///
+ Zero = ((int)0) ,
+ ///
+ /// Original was GL_SRC_ALPHA = 0x0302
+ ///
+ SrcAlpha = ((int)0x0302) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303
+ ///
+ OneMinusSrcAlpha = ((int)0x0303) ,
+ ///
+ /// Original was GL_DST_ALPHA = 0x0304
+ ///
+ DstAlpha = ((int)0x0304) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305
+ ///
+ OneMinusDstAlpha = ((int)0x0305) ,
+ ///
+ /// Original was GL_DST_COLOR = 0x0306
+ ///
+ DstColor = ((int)0x0306) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307
+ ///
+ OneMinusDstColor = ((int)0x0307) ,
+ ///
+ /// Original was GL_SRC_ALPHA_SATURATE = 0x0308
+ ///
+ SrcAlphaSaturate = ((int)0x0308) ,
+ ///
+ /// Original was GL_CONSTANT_COLOR_EXT = 0x8001
+ ///
+ ConstantColorExt = ((int)0x8001) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002
+ ///
+ OneMinusConstantColorExt = ((int)0x8002) ,
+ ///
+ /// Original was GL_CONSTANT_ALPHA_EXT = 0x8003
+ ///
+ ConstantAlphaExt = ((int)0x8003) ,
+ ///
+ /// Original was GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004
+ ///
+ OneMinusConstantAlphaExt = ((int)0x8004) ,
+ ///
+ /// Original was GL_ONE = 1
+ ///
+ One = ((int)1) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum Boolean : int
+ {
+ ///
+ /// Original was GL_FALSE = 0
+ ///
+ False = ((int)0) ,
+ ///
+ /// Original was GL_TRUE = 1
+ ///
+ True = ((int)1) ,
+ }
+
+ ///
+ /// Used in GL.Clear
+ ///
+ [Flags]
+ public enum ClearBufferMask : int
+ {
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100
+ ///
+ DepthBufferBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_ACCUM_BUFFER_BIT = 0x00000200
+ ///
+ AccumBufferBit = ((int)0x00000200) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400
+ ///
+ StencilBufferBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT = 0x00004000
+ ///
+ ColorBufferBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_COVERAGE_BUFFER_BIT_NV = 0x00008000
+ ///
+ CoverageBufferBitNv = ((int)0x00008000) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum ClientAttribMask : int
+ {
+ ///
+ /// Original was GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
+ ///
+ ClientPixelStoreBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
+ ///
+ ClientVertexArrayBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
+ ///
+ ClientAllAttribBits = unchecked((int)0xFFFFFFFF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ClipPlaneName : int
+ {
+ ///
+ /// Original was GL_CLIP_DISTANCE0 = 0x3000
+ ///
+ ClipDistance0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE0 = 0x3000
+ ///
+ ClipPlane0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE1 = 0x3001
+ ///
+ ClipDistance1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE1 = 0x3001
+ ///
+ ClipPlane1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE2 = 0x3002
+ ///
+ ClipDistance2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE2 = 0x3002
+ ///
+ ClipPlane2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE3 = 0x3003
+ ///
+ ClipDistance3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE3 = 0x3003
+ ///
+ ClipPlane3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE4 = 0x3004
+ ///
+ ClipDistance4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE4 = 0x3004
+ ///
+ ClipPlane4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE5 = 0x3005
+ ///
+ ClipDistance5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_CLIP_PLANE5 = 0x3005
+ ///
+ ClipPlane5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE6 = 0x3006
+ ///
+ ClipDistance6 = ((int)0x3006) ,
+ ///
+ /// Original was GL_CLIP_DISTANCE7 = 0x3007
+ ///
+ ClipDistance7 = ((int)0x3007) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ColorMaterialFace : int
+ {
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ColorMaterialParameter : int
+ {
+ ///
+ /// Original was GL_AMBIENT = 0x1200
+ ///
+ Ambient = ((int)0x1200) ,
+ ///
+ /// Original was GL_DIFFUSE = 0x1201
+ ///
+ Diffuse = ((int)0x1201) ,
+ ///
+ /// Original was GL_SPECULAR = 0x1202
+ ///
+ Specular = ((int)0x1202) ,
+ ///
+ /// Original was GL_EMISSION = 0x1600
+ ///
+ Emission = ((int)0x1600) ,
+ ///
+ /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602
+ ///
+ AmbientAndDiffuse = ((int)0x1602) ,
+ }
+
+ ///
+ /// Used in GL.ColorPointer
+ ///
+ public enum ColorPointerType : int
+ {
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE = 0x1401
+ ///
+ UnsignedByte = ((int)0x1401) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ColorTableParameterPNameSgi : int
+ {
+ ///
+ /// Original was GL_COLOR_TABLE_SCALE = 0x80D6
+ ///
+ ColorTableScale = ((int)0x80D6) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6
+ ///
+ ColorTableScaleSgi = ((int)0x80D6) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BIAS = 0x80D7
+ ///
+ ColorTableBias = ((int)0x80D7) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7
+ ///
+ ColorTableBiasSgi = ((int)0x80D7) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ColorTableTargetSgi : int
+ {
+ ///
+ /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC
+ ///
+ TextureColorTableSgi = ((int)0x80BC) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD
+ ///
+ ProxyTextureColorTableSgi = ((int)0x80BD) ,
+ ///
+ /// Original was GL_COLOR_TABLE = 0x80D0
+ ///
+ ColorTable = ((int)0x80D0) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SGI = 0x80D0
+ ///
+ ColorTableSgi = ((int)0x80D0) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1
+ ///
+ PostConvolutionColorTable = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
+ ///
+ PostConvolutionColorTableSgi = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2
+ ///
+ PostColorMatrixColorTable = ((int)0x80D2) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
+ ///
+ PostColorMatrixColorTableSgi = ((int)0x80D2) ,
+ ///
+ /// Original was GL_PROXY_COLOR_TABLE = 0x80D3
+ ///
+ ProxyColorTable = ((int)0x80D3) ,
+ ///
+ /// Original was GL_PROXY_COLOR_TABLE_SGI = 0x80D3
+ ///
+ ProxyColorTableSgi = ((int)0x80D3) ,
+ ///
+ /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4
+ ///
+ ProxyPostConvolutionColorTable = ((int)0x80D4) ,
+ ///
+ /// Original was GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4
+ ///
+ ProxyPostConvolutionColorTableSgi = ((int)0x80D4) ,
+ ///
+ /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5
+ ///
+ ProxyPostColorMatrixColorTable = ((int)0x80D5) ,
+ ///
+ /// Original was GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5
+ ///
+ ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum ContextFlagMask : int
+ {
+ ///
+ /// Original was GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x00000001
+ ///
+ ContextFlagForwardCompatibleBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_DEBUG_BIT = 0x00000002
+ ///
+ ContextFlagDebugBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_DEBUG_BIT_KHR = 0x00000002
+ ///
+ ContextFlagDebugBitKhr = ((int)0x00000002) ,
+ ///
+ /// Original was GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004
+ ///
+ ContextFlagRobustAccessBitArb = ((int)0x00000004) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum ContextProfileMask : int
+ {
+ ///
+ /// Original was GL_CONTEXT_CORE_PROFILE_BIT = 0x00000001
+ ///
+ ContextCoreProfileBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002
+ ///
+ ContextCompatibilityProfileBit = ((int)0x00000002) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ConvolutionBorderModeExt : int
+ {
+ ///
+ /// Original was GL_REDUCE = 0x8016
+ ///
+ Reduce = ((int)0x8016) ,
+ ///
+ /// Original was GL_REDUCE_EXT = 0x8016
+ ///
+ ReduceExt = ((int)0x8016) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ConvolutionParameterExt : int
+ {
+ ///
+ /// Original was GL_CONVOLUTION_BORDER_MODE = 0x8013
+ ///
+ ConvolutionBorderMode = ((int)0x8013) ,
+ ///
+ /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013
+ ///
+ ConvolutionBorderModeExt = ((int)0x8013) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_SCALE = 0x8014
+ ///
+ ConvolutionFilterScale = ((int)0x8014) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014
+ ///
+ ConvolutionFilterScaleExt = ((int)0x8014) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_BIAS = 0x8015
+ ///
+ ConvolutionFilterBias = ((int)0x8015) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015
+ ///
+ ConvolutionFilterBiasExt = ((int)0x8015) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ConvolutionTargetExt : int
+ {
+ ///
+ /// Original was GL_CONVOLUTION_1D = 0x8010
+ ///
+ Convolution1D = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_1D_EXT = 0x8010
+ ///
+ Convolution1DExt = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D = 0x8011
+ ///
+ Convolution2D = ((int)0x8011) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D_EXT = 0x8011
+ ///
+ Convolution2DExt = ((int)0x8011) ,
+ }
+
+ ///
+ /// Used in GL.CullFace
+ ///
+ public enum CullFaceMode : int
+ {
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum DataType : int
+ {
+ }
+
+ ///
+ /// Used in GL.DepthFunc
+ ///
+ public enum DepthFunction : int
+ {
+ ///
+ /// Original was GL_NEVER = 0x0200
+ ///
+ Never = ((int)0x0200) ,
+ ///
+ /// Original was GL_LESS = 0x0201
+ ///
+ Less = ((int)0x0201) ,
+ ///
+ /// Original was GL_EQUAL = 0x0202
+ ///
+ Equal = ((int)0x0202) ,
+ ///
+ /// Original was GL_LEQUAL = 0x0203
+ ///
+ Lequal = ((int)0x0203) ,
+ ///
+ /// Original was GL_GREATER = 0x0204
+ ///
+ Greater = ((int)0x0204) ,
+ ///
+ /// Original was GL_NOTEQUAL = 0x0205
+ ///
+ Notequal = ((int)0x0205) ,
+ ///
+ /// Original was GL_GEQUAL = 0x0206
+ ///
+ Gequal = ((int)0x0206) ,
+ ///
+ /// Original was GL_ALWAYS = 0x0207
+ ///
+ Always = ((int)0x0207) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum DrawBufferMode : int
+ {
+ ///
+ /// Original was GL_NONE = 0
+ ///
+ None = ((int)0) ,
+ ///
+ /// Original was GL_NONE_OES = 0
+ ///
+ NoneOes = ((int)0) ,
+ ///
+ /// Original was GL_FRONT_LEFT = 0x0400
+ ///
+ FrontLeft = ((int)0x0400) ,
+ ///
+ /// Original was GL_FRONT_RIGHT = 0x0401
+ ///
+ FrontRight = ((int)0x0401) ,
+ ///
+ /// Original was GL_BACK_LEFT = 0x0402
+ ///
+ BackLeft = ((int)0x0402) ,
+ ///
+ /// Original was GL_BACK_RIGHT = 0x0403
+ ///
+ BackRight = ((int)0x0403) ,
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_LEFT = 0x0406
+ ///
+ Left = ((int)0x0406) ,
+ ///
+ /// Original was GL_RIGHT = 0x0407
+ ///
+ Right = ((int)0x0407) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ ///
+ /// Original was GL_AUX0 = 0x0409
+ ///
+ Aux0 = ((int)0x0409) ,
+ ///
+ /// Original was GL_AUX1 = 0x040A
+ ///
+ Aux1 = ((int)0x040A) ,
+ ///
+ /// Original was GL_AUX2 = 0x040B
+ ///
+ Aux2 = ((int)0x040B) ,
+ ///
+ /// Original was GL_AUX3 = 0x040C
+ ///
+ Aux3 = ((int)0x040C) ,
+ }
+
+ ///
+ /// Used in GL.Disable, GL.DisableClientState and 3 other functions
+ ///
+ public enum EnableCap : int
+ {
+ ///
+ /// Original was GL_POINT_SMOOTH = 0x0B10
+ ///
+ PointSmooth = ((int)0x0B10) ,
+ ///
+ /// Original was GL_LINE_SMOOTH = 0x0B20
+ ///
+ LineSmooth = ((int)0x0B20) ,
+ ///
+ /// Original was GL_LINE_STIPPLE = 0x0B24
+ ///
+ LineStipple = ((int)0x0B24) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH = 0x0B41
+ ///
+ PolygonSmooth = ((int)0x0B41) ,
+ ///
+ /// Original was GL_POLYGON_STIPPLE = 0x0B42
+ ///
+ PolygonStipple = ((int)0x0B42) ,
+ ///
+ /// Original was GL_CULL_FACE = 0x0B44
+ ///
+ CullFace = ((int)0x0B44) ,
+ ///
+ /// Original was GL_LIGHTING = 0x0B50
+ ///
+ Lighting = ((int)0x0B50) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL = 0x0B57
+ ///
+ ColorMaterial = ((int)0x0B57) ,
+ ///
+ /// Original was GL_FOG = 0x0B60
+ ///
+ Fog = ((int)0x0B60) ,
+ ///
+ /// Original was GL_DEPTH_TEST = 0x0B71
+ ///
+ DepthTest = ((int)0x0B71) ,
+ ///
+ /// Original was GL_STENCIL_TEST = 0x0B90
+ ///
+ StencilTest = ((int)0x0B90) ,
+ ///
+ /// Original was GL_NORMALIZE = 0x0BA1
+ ///
+ Normalize = ((int)0x0BA1) ,
+ ///
+ /// Original was GL_ALPHA_TEST = 0x0BC0
+ ///
+ AlphaTest = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_DITHER = 0x0BD0
+ ///
+ Dither = ((int)0x0BD0) ,
+ ///
+ /// Original was GL_BLEND = 0x0BE2
+ ///
+ Blend = ((int)0x0BE2) ,
+ ///
+ /// Original was GL_INDEX_LOGIC_OP = 0x0BF1
+ ///
+ IndexLogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_COLOR_LOGIC_OP = 0x0BF2
+ ///
+ ColorLogicOp = ((int)0x0BF2) ,
+ ///
+ /// Original was GL_SCISSOR_TEST = 0x0C11
+ ///
+ ScissorTest = ((int)0x0C11) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_S = 0x0C60
+ ///
+ TextureGenS = ((int)0x0C60) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_T = 0x0C61
+ ///
+ TextureGenT = ((int)0x0C61) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_R = 0x0C62
+ ///
+ TextureGenR = ((int)0x0C62) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_Q = 0x0C63
+ ///
+ TextureGenQ = ((int)0x0C63) ,
+ ///
+ /// Original was GL_AUTO_NORMAL = 0x0D80
+ ///
+ AutoNormal = ((int)0x0D80) ,
+ ///
+ /// Original was GL_MAP1_COLOR_4 = 0x0D90
+ ///
+ Map1Color4 = ((int)0x0D90) ,
+ ///
+ /// Original was GL_MAP1_INDEX = 0x0D91
+ ///
+ Map1Index = ((int)0x0D91) ,
+ ///
+ /// Original was GL_MAP1_NORMAL = 0x0D92
+ ///
+ Map1Normal = ((int)0x0D92) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93
+ ///
+ Map1TextureCoord1 = ((int)0x0D93) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94
+ ///
+ Map1TextureCoord2 = ((int)0x0D94) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95
+ ///
+ Map1TextureCoord3 = ((int)0x0D95) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96
+ ///
+ Map1TextureCoord4 = ((int)0x0D96) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_3 = 0x0D97
+ ///
+ Map1Vertex3 = ((int)0x0D97) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_4 = 0x0D98
+ ///
+ Map1Vertex4 = ((int)0x0D98) ,
+ ///
+ /// Original was GL_MAP2_COLOR_4 = 0x0DB0
+ ///
+ Map2Color4 = ((int)0x0DB0) ,
+ ///
+ /// Original was GL_MAP2_INDEX = 0x0DB1
+ ///
+ Map2Index = ((int)0x0DB1) ,
+ ///
+ /// Original was GL_MAP2_NORMAL = 0x0DB2
+ ///
+ Map2Normal = ((int)0x0DB2) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
+ ///
+ Map2TextureCoord1 = ((int)0x0DB3) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
+ ///
+ Map2TextureCoord2 = ((int)0x0DB4) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
+ ///
+ Map2TextureCoord3 = ((int)0x0DB5) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
+ ///
+ Map2TextureCoord4 = ((int)0x0DB6) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_3 = 0x0DB7
+ ///
+ Map2Vertex3 = ((int)0x0DB7) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_4 = 0x0DB8
+ ///
+ Map2Vertex4 = ((int)0x0DB8) ,
+ ///
+ /// Original was GL_TEXTURE_1D = 0x0DE0
+ ///
+ Texture1D = ((int)0x0DE0) ,
+ ///
+ /// Original was GL_TEXTURE_2D = 0x0DE1
+ ///
+ Texture2D = ((int)0x0DE1) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01
+ ///
+ PolygonOffsetPoint = ((int)0x2A01) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02
+ ///
+ PolygonOffsetLine = ((int)0x2A02) ,
+ ///
+ /// Original was GL_CLIP_PLANE0 = 0x3000
+ ///
+ ClipPlane0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE1 = 0x3001
+ ///
+ ClipPlane1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE2 = 0x3002
+ ///
+ ClipPlane2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE3 = 0x3003
+ ///
+ ClipPlane3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE4 = 0x3004
+ ///
+ ClipPlane4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE5 = 0x3005
+ ///
+ ClipPlane5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_LIGHT0 = 0x4000
+ ///
+ Light0 = ((int)0x4000) ,
+ ///
+ /// Original was GL_LIGHT1 = 0x4001
+ ///
+ Light1 = ((int)0x4001) ,
+ ///
+ /// Original was GL_LIGHT2 = 0x4002
+ ///
+ Light2 = ((int)0x4002) ,
+ ///
+ /// Original was GL_LIGHT3 = 0x4003
+ ///
+ Light3 = ((int)0x4003) ,
+ ///
+ /// Original was GL_LIGHT4 = 0x4004
+ ///
+ Light4 = ((int)0x4004) ,
+ ///
+ /// Original was GL_LIGHT5 = 0x4005
+ ///
+ Light5 = ((int)0x4005) ,
+ ///
+ /// Original was GL_LIGHT6 = 0x4006
+ ///
+ Light6 = ((int)0x4006) ,
+ ///
+ /// Original was GL_LIGHT7 = 0x4007
+ ///
+ Light7 = ((int)0x4007) ,
+ ///
+ /// Original was GL_CONVOLUTION_1D_EXT = 0x8010
+ ///
+ Convolution1DExt = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D_EXT = 0x8011
+ ///
+ Convolution2DExt = ((int)0x8011) ,
+ ///
+ /// Original was GL_SEPARABLE_2D_EXT = 0x8012
+ ///
+ Separable2DExt = ((int)0x8012) ,
+ ///
+ /// Original was GL_HISTOGRAM_EXT = 0x8024
+ ///
+ HistogramExt = ((int)0x8024) ,
+ ///
+ /// Original was GL_MINMAX_EXT = 0x802E
+ ///
+ MinmaxExt = ((int)0x802E) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FILL = 0x8037
+ ///
+ PolygonOffsetFill = ((int)0x8037) ,
+ ///
+ /// Original was GL_RESCALE_NORMAL_EXT = 0x803A
+ ///
+ RescaleNormalExt = ((int)0x803A) ,
+ ///
+ /// Original was GL_TEXTURE_3D_EXT = 0x806F
+ ///
+ Texture3DExt = ((int)0x806F) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY = 0x8074
+ ///
+ VertexArray = ((int)0x8074) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY = 0x8075
+ ///
+ NormalArray = ((int)0x8075) ,
+ ///
+ /// Original was GL_COLOR_ARRAY = 0x8076
+ ///
+ ColorArray = ((int)0x8076) ,
+ ///
+ /// Original was GL_INDEX_ARRAY = 0x8077
+ ///
+ IndexArray = ((int)0x8077) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078
+ ///
+ TextureCoordArray = ((int)0x8078) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY = 0x8079
+ ///
+ EdgeFlagArray = ((int)0x8079) ,
+ ///
+ /// Original was GL_INTERLACE_SGIX = 0x8094
+ ///
+ InterlaceSgix = ((int)0x8094) ,
+ ///
+ /// Original was GL_MULTISAMPLE_SGIS = 0x809D
+ ///
+ MultisampleSgis = ((int)0x809D) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E
+ ///
+ SampleAlphaToMaskSgis = ((int)0x809E) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F
+ ///
+ SampleAlphaToOneSgis = ((int)0x809F) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0
+ ///
+ SampleMaskSgis = ((int)0x80A0) ,
+ ///
+ /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC
+ ///
+ TextureColorTableSgi = ((int)0x80BC) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SGI = 0x80D0
+ ///
+ ColorTableSgi = ((int)0x80D0) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
+ ///
+ PostConvolutionColorTableSgi = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
+ ///
+ PostColorMatrixColorTableSgi = ((int)0x80D2) ,
+ ///
+ /// Original was GL_TEXTURE_4D_SGIS = 0x8134
+ ///
+ Texture4DSgis = ((int)0x8134) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139
+ ///
+ PixelTexGenSgix = ((int)0x8139) ,
+ ///
+ /// Original was GL_SPRITE_SGIX = 0x8148
+ ///
+ SpriteSgix = ((int)0x8148) ,
+ ///
+ /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D
+ ///
+ ReferencePlaneSgix = ((int)0x817D) ,
+ ///
+ /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F
+ ///
+ IrInstrument1Sgix = ((int)0x817F) ,
+ ///
+ /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183
+ ///
+ CalligraphicFragmentSgix = ((int)0x8183) ,
+ ///
+ /// Original was GL_FRAMEZOOM_SGIX = 0x818B
+ ///
+ FramezoomSgix = ((int)0x818B) ,
+ ///
+ /// Original was GL_FOG_OFFSET_SGIX = 0x8198
+ ///
+ FogOffsetSgix = ((int)0x8198) ,
+ ///
+ /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB
+ ///
+ SharedTexturePaletteExt = ((int)0x81FB) ,
+ ///
+ /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C
+ ///
+ AsyncHistogramSgix = ((int)0x832C) ,
+ ///
+ /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353
+ ///
+ PixelTextureSgis = ((int)0x8353) ,
+ ///
+ /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C
+ ///
+ AsyncTexImageSgix = ((int)0x835C) ,
+ ///
+ /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D
+ ///
+ AsyncDrawPixelsSgix = ((int)0x835D) ,
+ ///
+ /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E
+ ///
+ AsyncReadPixelsSgix = ((int)0x835E) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400
+ ///
+ FragmentLightingSgix = ((int)0x8400) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401
+ ///
+ FragmentColorMaterialSgix = ((int)0x8401) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C
+ ///
+ FragmentLight0Sgix = ((int)0x840C) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D
+ ///
+ FragmentLight1Sgix = ((int)0x840D) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E
+ ///
+ FragmentLight2Sgix = ((int)0x840E) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F
+ ///
+ FragmentLight3Sgix = ((int)0x840F) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410
+ ///
+ FragmentLight4Sgix = ((int)0x8410) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411
+ ///
+ FragmentLight5Sgix = ((int)0x8411) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412
+ ///
+ FragmentLight6Sgix = ((int)0x8412) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413
+ ///
+ FragmentLight7Sgix = ((int)0x8413) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ErrorCode : int
+ {
+ ///
+ /// Original was GL_NO_ERROR = 0
+ ///
+ NoError = ((int)0) ,
+ ///
+ /// Original was GL_INVALID_ENUM = 0x0500
+ ///
+ InvalidEnum = ((int)0x0500) ,
+ ///
+ /// Original was GL_INVALID_VALUE = 0x0501
+ ///
+ InvalidValue = ((int)0x0501) ,
+ ///
+ /// Original was GL_INVALID_OPERATION = 0x0502
+ ///
+ InvalidOperation = ((int)0x0502) ,
+ ///
+ /// Original was GL_STACK_OVERFLOW = 0x0503
+ ///
+ StackOverflow = ((int)0x0503) ,
+ ///
+ /// Original was GL_STACK_UNDERFLOW = 0x0504
+ ///
+ StackUnderflow = ((int)0x0504) ,
+ ///
+ /// Original was GL_OUT_OF_MEMORY = 0x0505
+ ///
+ OutOfMemory = ((int)0x0505) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION = 0x0506
+ ///
+ InvalidFramebufferOperation = ((int)0x0506) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506
+ ///
+ InvalidFramebufferOperationExt = ((int)0x0506) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506
+ ///
+ InvalidFramebufferOperationOes = ((int)0x0506) ,
+ ///
+ /// Original was GL_TABLE_TOO_LARGE = 0x8031
+ ///
+ TableTooLarge = ((int)0x8031) ,
+ ///
+ /// Original was GL_TABLE_TOO_LARGE_EXT = 0x8031
+ ///
+ TableTooLargeExt = ((int)0x8031) ,
+ ///
+ /// Original was GL_TEXTURE_TOO_LARGE_EXT = 0x8065
+ ///
+ TextureTooLargeExt = ((int)0x8065) ,
+ }
+
+ ///
+ /// Used in GL.Ext.BlendEquation
+ ///
+ public enum ExtBlendMinmax : int
+ {
+ ///
+ /// Original was GL_FUNC_ADD_EXT = 0x8006
+ ///
+ FuncAddExt = ((int)0x8006) ,
+ ///
+ /// Original was GL_MIN_EXT = 0x8007
+ ///
+ MinExt = ((int)0x8007) ,
+ ///
+ /// Original was GL_MAX_EXT = 0x8008
+ ///
+ MaxExt = ((int)0x8008) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_EXT = 0x8009
+ ///
+ BlendEquationExt = ((int)0x8009) ,
+ }
+
+ ///
+ /// Used in GL.Ext.DiscardFramebuffer
+ ///
+ public enum ExtDiscardFramebuffer : int
+ {
+ ///
+ /// Original was GL_COLOR_EXT = 0x1800
+ ///
+ ColorExt = ((int)0x1800) ,
+ ///
+ /// Original was GL_DEPTH_EXT = 0x1801
+ ///
+ DepthExt = ((int)0x1801) ,
+ ///
+ /// Original was GL_STENCIL_EXT = 0x1802
+ ///
+ StencilExt = ((int)0x1802) ,
+ }
+
+ ///
+ /// Used in GL.Ext.FlushMappedBufferRange, GL.Ext.MapBufferRange
+ ///
+ public enum ExtMapBufferRange : int
+ {
+ ///
+ /// Original was GL_MAP_READ_BIT_EXT = 0x0001
+ ///
+ MapReadBitExt = ((int)0x0001) ,
+ ///
+ /// Original was GL_MAP_WRITE_BIT_EXT = 0x0002
+ ///
+ MapWriteBitExt = ((int)0x0002) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_RANGE_BIT_EXT = 0x0004
+ ///
+ MapInvalidateRangeBitExt = ((int)0x0004) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_BUFFER_BIT_EXT = 0x0008
+ ///
+ MapInvalidateBufferBitExt = ((int)0x0008) ,
+ ///
+ /// Original was GL_MAP_FLUSH_EXPLICIT_BIT_EXT = 0x0010
+ ///
+ MapFlushExplicitBitExt = ((int)0x0010) ,
+ ///
+ /// Original was GL_MAP_UNSYNCHRONIZED_BIT_EXT = 0x0020
+ ///
+ MapUnsynchronizedBitExt = ((int)0x0020) ,
+ }
+
+ ///
+ /// Used in GL.Ext.MultiDrawElements
+ ///
+ public enum ExtMultiDrawArrays : int
+ {
+ }
+
+ ///
+ /// Used in GL.Ext.FramebufferTexture2DMultisample, GL.Ext.RenderbufferStorageMultisample
+ ///
+ public enum ExtMultisampledRenderToTexture : int
+ {
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB
+ ///
+ RenderbufferSamplesExt = ((int)0x8CAB) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56
+ ///
+ FramebufferIncompleteMultisampleExt = ((int)0x8D56) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_EXT = 0x8D57
+ ///
+ MaxSamplesExt = ((int)0x8D57) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT = 0x8D6C
+ ///
+ FramebufferAttachmentTextureSamplesExt = ((int)0x8D6C) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtReadFormatBgra : int
+ {
+ ///
+ /// Original was GL_BGRA_EXT = 0x80E1
+ ///
+ BgraExt = ((int)0x80E1) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT = 0x8365
+ ///
+ UnsignedShort4444RevExt = ((int)0x8365) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT = 0x8366
+ ///
+ UnsignedShort1555RevExt = ((int)0x8366) ,
+ }
+
+ ///
+ /// Used in GL.Ext.ReadnPixels
+ ///
+ public enum ExtRobustness : int
+ {
+ ///
+ /// Original was GL_NO_ERROR = 0
+ ///
+ NoError = ((int)0) ,
+ ///
+ /// Original was GL_LOSE_CONTEXT_ON_RESET_EXT = 0x8252
+ ///
+ LoseContextOnResetExt = ((int)0x8252) ,
+ ///
+ /// Original was GL_GUILTY_CONTEXT_RESET_EXT = 0x8253
+ ///
+ GuiltyContextResetExt = ((int)0x8253) ,
+ ///
+ /// Original was GL_INNOCENT_CONTEXT_RESET_EXT = 0x8254
+ ///
+ InnocentContextResetExt = ((int)0x8254) ,
+ ///
+ /// Original was GL_UNKNOWN_CONTEXT_RESET_EXT = 0x8255
+ ///
+ UnknownContextResetExt = ((int)0x8255) ,
+ ///
+ /// Original was GL_RESET_NOTIFICATION_STRATEGY_EXT = 0x8256
+ ///
+ ResetNotificationStrategyExt = ((int)0x8256) ,
+ ///
+ /// Original was GL_NO_RESET_NOTIFICATION_EXT = 0x8261
+ ///
+ NoResetNotificationExt = ((int)0x8261) ,
+ ///
+ /// Original was GL_CONTEXT_ROBUST_ACCESS_EXT = 0x90F3
+ ///
+ ContextRobustAccessExt = ((int)0x90F3) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtSrgb : int
+ {
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 0x8210
+ ///
+ FramebufferAttachmentColorEncodingExt = ((int)0x8210) ,
+ ///
+ /// Original was GL_SRGB_EXT = 0x8C40
+ ///
+ SrgbExt = ((int)0x8C40) ,
+ ///
+ /// Original was GL_SRGB_ALPHA_EXT = 0x8C42
+ ///
+ SrgbAlphaExt = ((int)0x8C42) ,
+ ///
+ /// Original was GL_SRGB8_ALPHA8_EXT = 0x8C43
+ ///
+ Srgb8Alpha8Ext = ((int)0x8C43) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtTextureCompressionDxt1 : int
+ {
+ ///
+ /// Original was GL_COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0
+ ///
+ CompressedRgbS3tcDxt1Ext = ((int)0x83F0) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1
+ ///
+ CompressedRgbaS3tcDxt1Ext = ((int)0x83F1) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtTextureFilterAnisotropic : int
+ {
+ ///
+ /// Original was GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE
+ ///
+ TextureMaxAnisotropyExt = ((int)0x84FE) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF
+ ///
+ MaxTextureMaxAnisotropyExt = ((int)0x84FF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtTextureFormatBgra8888 : int
+ {
+ ///
+ /// Original was GL_BGRA_EXT = 0x80E1
+ ///
+ BgraExt = ((int)0x80E1) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ExtTextureLodBias : int
+ {
+ ///
+ /// Original was GL_MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD
+ ///
+ MaxTextureLodBiasExt = ((int)0x84FD) ,
+ ///
+ /// Original was GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500
+ ///
+ TextureFilterControlExt = ((int)0x8500) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_EXT = 0x8501
+ ///
+ TextureLodBiasExt = ((int)0x8501) ,
+ }
+
+ ///
+ /// Used in GL.Ext.TexStorage1D, GL.Ext.TexStorage2D and 4 other functions
+ ///
+ public enum ExtTextureStorage : int
+ {
+ ///
+ /// Original was GL_ALPHA8_EXT = 0x803C
+ ///
+ Alpha8Ext = ((int)0x803C) ,
+ ///
+ /// Original was GL_LUMINANCE8_EXT = 0x8040
+ ///
+ Luminance8Ext = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045
+ ///
+ Luminance8Alpha8Ext = ((int)0x8045) ,
+ ///
+ /// Original was GL_RGB10_EXT = 0x8052
+ ///
+ Rgb10Ext = ((int)0x8052) ,
+ ///
+ /// Original was GL_RGB10_A2_EXT = 0x8059
+ ///
+ Rgb10A2Ext = ((int)0x8059) ,
+ ///
+ /// Original was GL_R8_EXT = 0x8229
+ ///
+ R8Ext = ((int)0x8229) ,
+ ///
+ /// Original was GL_RG8_EXT = 0x822B
+ ///
+ Rg8Ext = ((int)0x822B) ,
+ ///
+ /// Original was GL_R16F_EXT = 0x822D
+ ///
+ R16fExt = ((int)0x822D) ,
+ ///
+ /// Original was GL_R32F_EXT = 0x822E
+ ///
+ R32fExt = ((int)0x822E) ,
+ ///
+ /// Original was GL_RG16F_EXT = 0x822F
+ ///
+ Rg16fExt = ((int)0x822F) ,
+ ///
+ /// Original was GL_RG32F_EXT = 0x8230
+ ///
+ Rg32fExt = ((int)0x8230) ,
+ ///
+ /// Original was GL_RGBA32F_EXT = 0x8814
+ ///
+ Rgba32fExt = ((int)0x8814) ,
+ ///
+ /// Original was GL_RGB32F_EXT = 0x8815
+ ///
+ Rgb32fExt = ((int)0x8815) ,
+ ///
+ /// Original was GL_ALPHA32F_EXT = 0x8816
+ ///
+ Alpha32fExt = ((int)0x8816) ,
+ ///
+ /// Original was GL_LUMINANCE32F_EXT = 0x8818
+ ///
+ Luminance32fExt = ((int)0x8818) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA32F_EXT = 0x8819
+ ///
+ LuminanceAlpha32fExt = ((int)0x8819) ,
+ ///
+ /// Original was GL_RGBA16F_EXT = 0x881A
+ ///
+ Rgba16fExt = ((int)0x881A) ,
+ ///
+ /// Original was GL_RGB16F_EXT = 0x881B
+ ///
+ Rgb16fExt = ((int)0x881B) ,
+ ///
+ /// Original was GL_ALPHA16F_EXT = 0x881C
+ ///
+ Alpha16fExt = ((int)0x881C) ,
+ ///
+ /// Original was GL_LUMINANCE16F_EXT = 0x881E
+ ///
+ Luminance16fExt = ((int)0x881E) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA16F_EXT = 0x881F
+ ///
+ LuminanceAlpha16fExt = ((int)0x881F) ,
+ ///
+ /// Original was GL_TEXTURE_IMMUTABLE_FORMAT_EXT = 0x912F
+ ///
+ TextureImmutableFormatExt = ((int)0x912F) ,
+ ///
+ /// Original was GL_BGRA8_EXT = 0x93A1
+ ///
+ Bgra8Ext = ((int)0x93A1) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum FeedBackToken : int
+ {
+ ///
+ /// Original was GL_PASS_THROUGH_TOKEN = 0x0700
+ ///
+ PassThroughToken = ((int)0x0700) ,
+ ///
+ /// Original was GL_POINT_TOKEN = 0x0701
+ ///
+ PointToken = ((int)0x0701) ,
+ ///
+ /// Original was GL_LINE_TOKEN = 0x0702
+ ///
+ LineToken = ((int)0x0702) ,
+ ///
+ /// Original was GL_POLYGON_TOKEN = 0x0703
+ ///
+ PolygonToken = ((int)0x0703) ,
+ ///
+ /// Original was GL_BITMAP_TOKEN = 0x0704
+ ///
+ BitmapToken = ((int)0x0704) ,
+ ///
+ /// Original was GL_DRAW_PIXEL_TOKEN = 0x0705
+ ///
+ DrawPixelToken = ((int)0x0705) ,
+ ///
+ /// Original was GL_COPY_PIXEL_TOKEN = 0x0706
+ ///
+ CopyPixelToken = ((int)0x0706) ,
+ ///
+ /// Original was GL_LINE_RESET_TOKEN = 0x0707
+ ///
+ LineResetToken = ((int)0x0707) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum FeedbackType : int
+ {
+ ///
+ /// Original was GL_2D = 0x0600
+ ///
+ Gl2D = ((int)0x0600) ,
+ ///
+ /// Original was GL_3D = 0x0601
+ ///
+ Gl3D = ((int)0x0601) ,
+ ///
+ /// Original was GL_3D_COLOR = 0x0602
+ ///
+ Gl3DColor = ((int)0x0602) ,
+ ///
+ /// Original was GL_3D_COLOR_TEXTURE = 0x0603
+ ///
+ Gl3DColorTexture = ((int)0x0603) ,
+ ///
+ /// Original was GL_4D_COLOR_TEXTURE = 0x0604
+ ///
+ Gl4DColorTexture = ((int)0x0604) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum FfdMaskSgix : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum FfdTargetSgix : int
+ {
+ ///
+ /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194
+ ///
+ GeometryDeformationSgix = ((int)0x8194) ,
+ ///
+ /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195
+ ///
+ TextureDeformationSgix = ((int)0x8195) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum FogMode : int
+ {
+ ///
+ /// Original was GL_EXP = 0x0800
+ ///
+ Exp = ((int)0x0800) ,
+ ///
+ /// Original was GL_EXP2 = 0x0801
+ ///
+ Exp2 = ((int)0x0801) ,
+ ///
+ /// Original was GL_LINEAR = 0x2601
+ ///
+ Linear = ((int)0x2601) ,
+ ///
+ /// Original was GL_FOG_FUNC_SGIS = 0x812A
+ ///
+ FogFuncSgis = ((int)0x812A) ,
+ }
+
+ ///
+ /// Used in GL.Fog
+ ///
+ public enum FogParameter : int
+ {
+ ///
+ /// Original was GL_FOG_INDEX = 0x0B61
+ ///
+ FogIndex = ((int)0x0B61) ,
+ ///
+ /// Original was GL_FOG_DENSITY = 0x0B62
+ ///
+ FogDensity = ((int)0x0B62) ,
+ ///
+ /// Original was GL_FOG_START = 0x0B63
+ ///
+ FogStart = ((int)0x0B63) ,
+ ///
+ /// Original was GL_FOG_END = 0x0B64
+ ///
+ FogEnd = ((int)0x0B64) ,
+ ///
+ /// Original was GL_FOG_MODE = 0x0B65
+ ///
+ FogMode = ((int)0x0B65) ,
+ ///
+ /// Original was GL_FOG_COLOR = 0x0B66
+ ///
+ FogColor = ((int)0x0B66) ,
+ ///
+ /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199
+ ///
+ FogOffsetValueSgix = ((int)0x8199) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum FragmentLightModelParameterSgix : int
+ {
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408
+ ///
+ FragmentLightModelLocalViewerSgix = ((int)0x8408) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409
+ ///
+ FragmentLightModelTwoSideSgix = ((int)0x8409) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A
+ ///
+ FragmentLightModelAmbientSgix = ((int)0x840A) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B
+ ///
+ FragmentLightModelNormalInterpolationSgix = ((int)0x840B) ,
+ }
+
+ ///
+ /// Used in GL.FrontFace
+ ///
+ public enum FrontFaceDirection : int
+ {
+ ///
+ /// Original was GL_CW = 0x0900
+ ///
+ Cw = ((int)0x0900) ,
+ ///
+ /// Original was GL_CCW = 0x0901
+ ///
+ Ccw = ((int)0x0901) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetColorTableParameterPNameSgi : int
+ {
+ ///
+ /// Original was GL_COLOR_TABLE_SCALE_SGI = 0x80D6
+ ///
+ ColorTableScaleSgi = ((int)0x80D6) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BIAS_SGI = 0x80D7
+ ///
+ ColorTableBiasSgi = ((int)0x80D7) ,
+ ///
+ /// Original was GL_COLOR_TABLE_FORMAT_SGI = 0x80D8
+ ///
+ ColorTableFormatSgi = ((int)0x80D8) ,
+ ///
+ /// Original was GL_COLOR_TABLE_WIDTH_SGI = 0x80D9
+ ///
+ ColorTableWidthSgi = ((int)0x80D9) ,
+ ///
+ /// Original was GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA
+ ///
+ ColorTableRedSizeSgi = ((int)0x80DA) ,
+ ///
+ /// Original was GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB
+ ///
+ ColorTableGreenSizeSgi = ((int)0x80DB) ,
+ ///
+ /// Original was GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC
+ ///
+ ColorTableBlueSizeSgi = ((int)0x80DC) ,
+ ///
+ /// Original was GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD
+ ///
+ ColorTableAlphaSizeSgi = ((int)0x80DD) ,
+ ///
+ /// Original was GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE
+ ///
+ ColorTableLuminanceSizeSgi = ((int)0x80DE) ,
+ ///
+ /// Original was GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF
+ ///
+ ColorTableIntensitySizeSgi = ((int)0x80DF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetConvolutionParameter : int
+ {
+ ///
+ /// Original was GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013
+ ///
+ ConvolutionBorderModeExt = ((int)0x8013) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014
+ ///
+ ConvolutionFilterScaleExt = ((int)0x8014) ,
+ ///
+ /// Original was GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015
+ ///
+ ConvolutionFilterBiasExt = ((int)0x8015) ,
+ ///
+ /// Original was GL_CONVOLUTION_FORMAT_EXT = 0x8017
+ ///
+ ConvolutionFormatExt = ((int)0x8017) ,
+ ///
+ /// Original was GL_CONVOLUTION_WIDTH_EXT = 0x8018
+ ///
+ ConvolutionWidthExt = ((int)0x8018) ,
+ ///
+ /// Original was GL_CONVOLUTION_HEIGHT_EXT = 0x8019
+ ///
+ ConvolutionHeightExt = ((int)0x8019) ,
+ ///
+ /// Original was GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A
+ ///
+ MaxConvolutionWidthExt = ((int)0x801A) ,
+ ///
+ /// Original was GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B
+ ///
+ MaxConvolutionHeightExt = ((int)0x801B) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetHistogramParameterPNameExt : int
+ {
+ ///
+ /// Original was GL_HISTOGRAM_WIDTH_EXT = 0x8026
+ ///
+ HistogramWidthExt = ((int)0x8026) ,
+ ///
+ /// Original was GL_HISTOGRAM_FORMAT_EXT = 0x8027
+ ///
+ HistogramFormatExt = ((int)0x8027) ,
+ ///
+ /// Original was GL_HISTOGRAM_RED_SIZE_EXT = 0x8028
+ ///
+ HistogramRedSizeExt = ((int)0x8028) ,
+ ///
+ /// Original was GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029
+ ///
+ HistogramGreenSizeExt = ((int)0x8029) ,
+ ///
+ /// Original was GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A
+ ///
+ HistogramBlueSizeExt = ((int)0x802A) ,
+ ///
+ /// Original was GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B
+ ///
+ HistogramAlphaSizeExt = ((int)0x802B) ,
+ ///
+ /// Original was GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C
+ ///
+ HistogramLuminanceSizeExt = ((int)0x802C) ,
+ ///
+ /// Original was GL_HISTOGRAM_SINK_EXT = 0x802D
+ ///
+ HistogramSinkExt = ((int)0x802D) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetMapQuery : int
+ {
+ ///
+ /// Original was GL_COEFF = 0x0A00
+ ///
+ Coeff = ((int)0x0A00) ,
+ ///
+ /// Original was GL_ORDER = 0x0A01
+ ///
+ Order = ((int)0x0A01) ,
+ ///
+ /// Original was GL_DOMAIN = 0x0A02
+ ///
+ Domain = ((int)0x0A02) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetMinmaxParameterPNameExt : int
+ {
+ ///
+ /// Original was GL_MINMAX_FORMAT = 0x802F
+ ///
+ MinmaxFormat = ((int)0x802F) ,
+ ///
+ /// Original was GL_MINMAX_FORMAT_EXT = 0x802F
+ ///
+ MinmaxFormatExt = ((int)0x802F) ,
+ ///
+ /// Original was GL_MINMAX_SINK = 0x8030
+ ///
+ MinmaxSink = ((int)0x8030) ,
+ ///
+ /// Original was GL_MINMAX_SINK_EXT = 0x8030
+ ///
+ MinmaxSinkExt = ((int)0x8030) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum GetPixelMap : int
+ {
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70
+ ///
+ PixelMapIToI = ((int)0x0C70) ,
+ ///
+ /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71
+ ///
+ PixelMapSToS = ((int)0x0C71) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72
+ ///
+ PixelMapIToR = ((int)0x0C72) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73
+ ///
+ PixelMapIToG = ((int)0x0C73) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74
+ ///
+ PixelMapIToB = ((int)0x0C74) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75
+ ///
+ PixelMapIToA = ((int)0x0C75) ,
+ ///
+ /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76
+ ///
+ PixelMapRToR = ((int)0x0C76) ,
+ ///
+ /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77
+ ///
+ PixelMapGToG = ((int)0x0C77) ,
+ ///
+ /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78
+ ///
+ PixelMapBToB = ((int)0x0C78) ,
+ ///
+ /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79
+ ///
+ PixelMapAToA = ((int)0x0C79) ,
+ }
+
+ ///
+ /// Used in GL.GetBoolean, GL.GetFloat and 1 other function
+ ///
+ public enum GetPName : int
+ {
+ ///
+ /// Original was GL_CURRENT_COLOR = 0x0B00
+ ///
+ CurrentColor = ((int)0x0B00) ,
+ ///
+ /// Original was GL_CURRENT_INDEX = 0x0B01
+ ///
+ CurrentIndex = ((int)0x0B01) ,
+ ///
+ /// Original was GL_CURRENT_NORMAL = 0x0B02
+ ///
+ CurrentNormal = ((int)0x0B02) ,
+ ///
+ /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03
+ ///
+ CurrentTextureCoords = ((int)0x0B03) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_COLOR = 0x0B04
+ ///
+ CurrentRasterColor = ((int)0x0B04) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_INDEX = 0x0B05
+ ///
+ CurrentRasterIndex = ((int)0x0B05) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06
+ ///
+ CurrentRasterTextureCoords = ((int)0x0B06) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_POSITION = 0x0B07
+ ///
+ CurrentRasterPosition = ((int)0x0B07) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_POSITION_VALID = 0x0B08
+ ///
+ CurrentRasterPositionValid = ((int)0x0B08) ,
+ ///
+ /// Original was GL_CURRENT_RASTER_DISTANCE = 0x0B09
+ ///
+ CurrentRasterDistance = ((int)0x0B09) ,
+ ///
+ /// Original was GL_POINT_SMOOTH = 0x0B10
+ ///
+ PointSmooth = ((int)0x0B10) ,
+ ///
+ /// Original was GL_POINT_SIZE = 0x0B11
+ ///
+ PointSize = ((int)0x0B11) ,
+ ///
+ /// Original was GL_POINT_SIZE_RANGE = 0x0B12
+ ///
+ PointSizeRange = ((int)0x0B12) ,
+ ///
+ /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
+ ///
+ SmoothPointSizeRange = ((int)0x0B12) ,
+ ///
+ /// Original was GL_POINT_SIZE_GRANULARITY = 0x0B13
+ ///
+ PointSizeGranularity = ((int)0x0B13) ,
+ ///
+ /// Original was GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
+ ///
+ SmoothPointSizeGranularity = ((int)0x0B13) ,
+ ///
+ /// Original was GL_LINE_SMOOTH = 0x0B20
+ ///
+ LineSmooth = ((int)0x0B20) ,
+ ///
+ /// Original was GL_LINE_WIDTH = 0x0B21
+ ///
+ LineWidth = ((int)0x0B21) ,
+ ///
+ /// Original was GL_LINE_WIDTH_RANGE = 0x0B22
+ ///
+ LineWidthRange = ((int)0x0B22) ,
+ ///
+ /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
+ ///
+ SmoothLineWidthRange = ((int)0x0B22) ,
+ ///
+ /// Original was GL_LINE_WIDTH_GRANULARITY = 0x0B23
+ ///
+ LineWidthGranularity = ((int)0x0B23) ,
+ ///
+ /// Original was GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
+ ///
+ SmoothLineWidthGranularity = ((int)0x0B23) ,
+ ///
+ /// Original was GL_LINE_STIPPLE = 0x0B24
+ ///
+ LineStipple = ((int)0x0B24) ,
+ ///
+ /// Original was GL_LINE_STIPPLE_PATTERN = 0x0B25
+ ///
+ LineStipplePattern = ((int)0x0B25) ,
+ ///
+ /// Original was GL_LINE_STIPPLE_REPEAT = 0x0B26
+ ///
+ LineStippleRepeat = ((int)0x0B26) ,
+ ///
+ /// Original was GL_LIST_MODE = 0x0B30
+ ///
+ ListMode = ((int)0x0B30) ,
+ ///
+ /// Original was GL_MAX_LIST_NESTING = 0x0B31
+ ///
+ MaxListNesting = ((int)0x0B31) ,
+ ///
+ /// Original was GL_LIST_BASE = 0x0B32
+ ///
+ ListBase = ((int)0x0B32) ,
+ ///
+ /// Original was GL_LIST_INDEX = 0x0B33
+ ///
+ ListIndex = ((int)0x0B33) ,
+ ///
+ /// Original was GL_POLYGON_MODE = 0x0B40
+ ///
+ PolygonMode = ((int)0x0B40) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH = 0x0B41
+ ///
+ PolygonSmooth = ((int)0x0B41) ,
+ ///
+ /// Original was GL_POLYGON_STIPPLE = 0x0B42
+ ///
+ PolygonStipple = ((int)0x0B42) ,
+ ///
+ /// Original was GL_EDGE_FLAG = 0x0B43
+ ///
+ EdgeFlag = ((int)0x0B43) ,
+ ///
+ /// Original was GL_CULL_FACE = 0x0B44
+ ///
+ CullFace = ((int)0x0B44) ,
+ ///
+ /// Original was GL_CULL_FACE_MODE = 0x0B45
+ ///
+ CullFaceMode = ((int)0x0B45) ,
+ ///
+ /// Original was GL_FRONT_FACE = 0x0B46
+ ///
+ FrontFace = ((int)0x0B46) ,
+ ///
+ /// Original was GL_LIGHTING = 0x0B50
+ ///
+ Lighting = ((int)0x0B50) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
+ ///
+ LightModelLocalViewer = ((int)0x0B51) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
+ ///
+ LightModelTwoSide = ((int)0x0B52) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53
+ ///
+ LightModelAmbient = ((int)0x0B53) ,
+ ///
+ /// Original was GL_SHADE_MODEL = 0x0B54
+ ///
+ ShadeModel = ((int)0x0B54) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL_FACE = 0x0B55
+ ///
+ ColorMaterialFace = ((int)0x0B55) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL_PARAMETER = 0x0B56
+ ///
+ ColorMaterialParameter = ((int)0x0B56) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL = 0x0B57
+ ///
+ ColorMaterial = ((int)0x0B57) ,
+ ///
+ /// Original was GL_FOG = 0x0B60
+ ///
+ Fog = ((int)0x0B60) ,
+ ///
+ /// Original was GL_FOG_INDEX = 0x0B61
+ ///
+ FogIndex = ((int)0x0B61) ,
+ ///
+ /// Original was GL_FOG_DENSITY = 0x0B62
+ ///
+ FogDensity = ((int)0x0B62) ,
+ ///
+ /// Original was GL_FOG_START = 0x0B63
+ ///
+ FogStart = ((int)0x0B63) ,
+ ///
+ /// Original was GL_FOG_END = 0x0B64
+ ///
+ FogEnd = ((int)0x0B64) ,
+ ///
+ /// Original was GL_FOG_MODE = 0x0B65
+ ///
+ FogMode = ((int)0x0B65) ,
+ ///
+ /// Original was GL_FOG_COLOR = 0x0B66
+ ///
+ FogColor = ((int)0x0B66) ,
+ ///
+ /// Original was GL_DEPTH_RANGE = 0x0B70
+ ///
+ DepthRange = ((int)0x0B70) ,
+ ///
+ /// Original was GL_DEPTH_TEST = 0x0B71
+ ///
+ DepthTest = ((int)0x0B71) ,
+ ///
+ /// Original was GL_DEPTH_WRITEMASK = 0x0B72
+ ///
+ DepthWritemask = ((int)0x0B72) ,
+ ///
+ /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73
+ ///
+ DepthClearValue = ((int)0x0B73) ,
+ ///
+ /// Original was GL_DEPTH_FUNC = 0x0B74
+ ///
+ DepthFunc = ((int)0x0B74) ,
+ ///
+ /// Original was GL_ACCUM_CLEAR_VALUE = 0x0B80
+ ///
+ AccumClearValue = ((int)0x0B80) ,
+ ///
+ /// Original was GL_STENCIL_TEST = 0x0B90
+ ///
+ StencilTest = ((int)0x0B90) ,
+ ///
+ /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91
+ ///
+ StencilClearValue = ((int)0x0B91) ,
+ ///
+ /// Original was GL_STENCIL_FUNC = 0x0B92
+ ///
+ StencilFunc = ((int)0x0B92) ,
+ ///
+ /// Original was GL_STENCIL_VALUE_MASK = 0x0B93
+ ///
+ StencilValueMask = ((int)0x0B93) ,
+ ///
+ /// Original was GL_STENCIL_FAIL = 0x0B94
+ ///
+ StencilFail = ((int)0x0B94) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95
+ ///
+ StencilPassDepthFail = ((int)0x0B95) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96
+ ///
+ StencilPassDepthPass = ((int)0x0B96) ,
+ ///
+ /// Original was GL_STENCIL_REF = 0x0B97
+ ///
+ StencilRef = ((int)0x0B97) ,
+ ///
+ /// Original was GL_STENCIL_WRITEMASK = 0x0B98
+ ///
+ StencilWritemask = ((int)0x0B98) ,
+ ///
+ /// Original was GL_MATRIX_MODE = 0x0BA0
+ ///
+ MatrixMode = ((int)0x0BA0) ,
+ ///
+ /// Original was GL_NORMALIZE = 0x0BA1
+ ///
+ Normalize = ((int)0x0BA1) ,
+ ///
+ /// Original was GL_VIEWPORT = 0x0BA2
+ ///
+ Viewport = ((int)0x0BA2) ,
+ ///
+ /// Original was GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3
+ ///
+ Modelview0StackDepthExt = ((int)0x0BA3) ,
+ ///
+ /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3
+ ///
+ ModelviewStackDepth = ((int)0x0BA3) ,
+ ///
+ /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4
+ ///
+ ProjectionStackDepth = ((int)0x0BA4) ,
+ ///
+ /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5
+ ///
+ TextureStackDepth = ((int)0x0BA5) ,
+ ///
+ /// Original was GL_MODELVIEW0_MATRIX_EXT = 0x0BA6
+ ///
+ Modelview0MatrixExt = ((int)0x0BA6) ,
+ ///
+ /// Original was GL_MODELVIEW_MATRIX = 0x0BA6
+ ///
+ ModelviewMatrix = ((int)0x0BA6) ,
+ ///
+ /// Original was GL_PROJECTION_MATRIX = 0x0BA7
+ ///
+ ProjectionMatrix = ((int)0x0BA7) ,
+ ///
+ /// Original was GL_TEXTURE_MATRIX = 0x0BA8
+ ///
+ TextureMatrix = ((int)0x0BA8) ,
+ ///
+ /// Original was GL_ATTRIB_STACK_DEPTH = 0x0BB0
+ ///
+ AttribStackDepth = ((int)0x0BB0) ,
+ ///
+ /// Original was GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
+ ///
+ ClientAttribStackDepth = ((int)0x0BB1) ,
+ ///
+ /// Original was GL_ALPHA_TEST = 0x0BC0
+ ///
+ AlphaTest = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_ALPHA_TEST_QCOM = 0x0BC0
+ ///
+ AlphaTestQcom = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1
+ ///
+ AlphaTestFunc = ((int)0x0BC1) ,
+ ///
+ /// Original was GL_ALPHA_TEST_FUNC_QCOM = 0x0BC1
+ ///
+ AlphaTestFuncQcom = ((int)0x0BC1) ,
+ ///
+ /// Original was GL_ALPHA_TEST_REF = 0x0BC2
+ ///
+ AlphaTestRef = ((int)0x0BC2) ,
+ ///
+ /// Original was GL_ALPHA_TEST_REF_QCOM = 0x0BC2
+ ///
+ AlphaTestRefQcom = ((int)0x0BC2) ,
+ ///
+ /// Original was GL_DITHER = 0x0BD0
+ ///
+ Dither = ((int)0x0BD0) ,
+ ///
+ /// Original was GL_BLEND_DST = 0x0BE0
+ ///
+ BlendDst = ((int)0x0BE0) ,
+ ///
+ /// Original was GL_BLEND_SRC = 0x0BE1
+ ///
+ BlendSrc = ((int)0x0BE1) ,
+ ///
+ /// Original was GL_BLEND = 0x0BE2
+ ///
+ Blend = ((int)0x0BE2) ,
+ ///
+ /// Original was GL_LOGIC_OP_MODE = 0x0BF0
+ ///
+ LogicOpMode = ((int)0x0BF0) ,
+ ///
+ /// Original was GL_INDEX_LOGIC_OP = 0x0BF1
+ ///
+ IndexLogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_LOGIC_OP = 0x0BF1
+ ///
+ LogicOp = ((int)0x0BF1) ,
+ ///
+ /// Original was GL_COLOR_LOGIC_OP = 0x0BF2
+ ///
+ ColorLogicOp = ((int)0x0BF2) ,
+ ///
+ /// Original was GL_AUX_BUFFERS = 0x0C00
+ ///
+ AuxBuffers = ((int)0x0C00) ,
+ ///
+ /// Original was GL_DRAW_BUFFER = 0x0C01
+ ///
+ DrawBuffer = ((int)0x0C01) ,
+ ///
+ /// Original was GL_DRAW_BUFFER_EXT = 0x0C01
+ ///
+ DrawBufferExt = ((int)0x0C01) ,
+ ///
+ /// Original was GL_READ_BUFFER = 0x0C02
+ ///
+ ReadBuffer = ((int)0x0C02) ,
+ ///
+ /// Original was GL_READ_BUFFER_EXT = 0x0C02
+ ///
+ ReadBufferExt = ((int)0x0C02) ,
+ ///
+ /// Original was GL_READ_BUFFER_NV = 0x0C02
+ ///
+ ReadBufferNv = ((int)0x0C02) ,
+ ///
+ /// Original was GL_SCISSOR_BOX = 0x0C10
+ ///
+ ScissorBox = ((int)0x0C10) ,
+ ///
+ /// Original was GL_SCISSOR_TEST = 0x0C11
+ ///
+ ScissorTest = ((int)0x0C11) ,
+ ///
+ /// Original was GL_INDEX_CLEAR_VALUE = 0x0C20
+ ///
+ IndexClearValue = ((int)0x0C20) ,
+ ///
+ /// Original was GL_INDEX_WRITEMASK = 0x0C21
+ ///
+ IndexWritemask = ((int)0x0C21) ,
+ ///
+ /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22
+ ///
+ ColorClearValue = ((int)0x0C22) ,
+ ///
+ /// Original was GL_COLOR_WRITEMASK = 0x0C23
+ ///
+ ColorWritemask = ((int)0x0C23) ,
+ ///
+ /// Original was GL_INDEX_MODE = 0x0C30
+ ///
+ IndexMode = ((int)0x0C30) ,
+ ///
+ /// Original was GL_RGBA_MODE = 0x0C31
+ ///
+ RgbaMode = ((int)0x0C31) ,
+ ///
+ /// Original was GL_DOUBLEBUFFER = 0x0C32
+ ///
+ Doublebuffer = ((int)0x0C32) ,
+ ///
+ /// Original was GL_STEREO = 0x0C33
+ ///
+ Stereo = ((int)0x0C33) ,
+ ///
+ /// Original was GL_RENDER_MODE = 0x0C40
+ ///
+ RenderMode = ((int)0x0C40) ,
+ ///
+ /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
+ ///
+ PerspectiveCorrectionHint = ((int)0x0C50) ,
+ ///
+ /// Original was GL_POINT_SMOOTH_HINT = 0x0C51
+ ///
+ PointSmoothHint = ((int)0x0C51) ,
+ ///
+ /// Original was GL_LINE_SMOOTH_HINT = 0x0C52
+ ///
+ LineSmoothHint = ((int)0x0C52) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53
+ ///
+ PolygonSmoothHint = ((int)0x0C53) ,
+ ///
+ /// Original was GL_FOG_HINT = 0x0C54
+ ///
+ FogHint = ((int)0x0C54) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_S = 0x0C60
+ ///
+ TextureGenS = ((int)0x0C60) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_T = 0x0C61
+ ///
+ TextureGenT = ((int)0x0C61) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_R = 0x0C62
+ ///
+ TextureGenR = ((int)0x0C62) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_Q = 0x0C63
+ ///
+ TextureGenQ = ((int)0x0C63) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0
+ ///
+ PixelMapIToISize = ((int)0x0CB0) ,
+ ///
+ /// Original was GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1
+ ///
+ PixelMapSToSSize = ((int)0x0CB1) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2
+ ///
+ PixelMapIToRSize = ((int)0x0CB2) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3
+ ///
+ PixelMapIToGSize = ((int)0x0CB3) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4
+ ///
+ PixelMapIToBSize = ((int)0x0CB4) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5
+ ///
+ PixelMapIToASize = ((int)0x0CB5) ,
+ ///
+ /// Original was GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6
+ ///
+ PixelMapRToRSize = ((int)0x0CB6) ,
+ ///
+ /// Original was GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7
+ ///
+ PixelMapGToGSize = ((int)0x0CB7) ,
+ ///
+ /// Original was GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8
+ ///
+ PixelMapBToBSize = ((int)0x0CB8) ,
+ ///
+ /// Original was GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9
+ ///
+ PixelMapAToASize = ((int)0x0CB9) ,
+ ///
+ /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0
+ ///
+ UnpackSwapBytes = ((int)0x0CF0) ,
+ ///
+ /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1
+ ///
+ UnpackLsbFirst = ((int)0x0CF1) ,
+ ///
+ /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2
+ ///
+ UnpackRowLength = ((int)0x0CF2) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3
+ ///
+ UnpackSkipRows = ((int)0x0CF3) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4
+ ///
+ UnpackSkipPixels = ((int)0x0CF4) ,
+ ///
+ /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5
+ ///
+ UnpackAlignment = ((int)0x0CF5) ,
+ ///
+ /// Original was GL_PACK_SWAP_BYTES = 0x0D00
+ ///
+ PackSwapBytes = ((int)0x0D00) ,
+ ///
+ /// Original was GL_PACK_LSB_FIRST = 0x0D01
+ ///
+ PackLsbFirst = ((int)0x0D01) ,
+ ///
+ /// Original was GL_PACK_ROW_LENGTH = 0x0D02
+ ///
+ PackRowLength = ((int)0x0D02) ,
+ ///
+ /// Original was GL_PACK_SKIP_ROWS = 0x0D03
+ ///
+ PackSkipRows = ((int)0x0D03) ,
+ ///
+ /// Original was GL_PACK_SKIP_PIXELS = 0x0D04
+ ///
+ PackSkipPixels = ((int)0x0D04) ,
+ ///
+ /// Original was GL_PACK_ALIGNMENT = 0x0D05
+ ///
+ PackAlignment = ((int)0x0D05) ,
+ ///
+ /// Original was GL_MAP_COLOR = 0x0D10
+ ///
+ MapColor = ((int)0x0D10) ,
+ ///
+ /// Original was GL_MAP_STENCIL = 0x0D11
+ ///
+ MapStencil = ((int)0x0D11) ,
+ ///
+ /// Original was GL_INDEX_SHIFT = 0x0D12
+ ///
+ IndexShift = ((int)0x0D12) ,
+ ///
+ /// Original was GL_INDEX_OFFSET = 0x0D13
+ ///
+ IndexOffset = ((int)0x0D13) ,
+ ///
+ /// Original was GL_RED_SCALE = 0x0D14
+ ///
+ RedScale = ((int)0x0D14) ,
+ ///
+ /// Original was GL_RED_BIAS = 0x0D15
+ ///
+ RedBias = ((int)0x0D15) ,
+ ///
+ /// Original was GL_ZOOM_X = 0x0D16
+ ///
+ ZoomX = ((int)0x0D16) ,
+ ///
+ /// Original was GL_ZOOM_Y = 0x0D17
+ ///
+ ZoomY = ((int)0x0D17) ,
+ ///
+ /// Original was GL_GREEN_SCALE = 0x0D18
+ ///
+ GreenScale = ((int)0x0D18) ,
+ ///
+ /// Original was GL_GREEN_BIAS = 0x0D19
+ ///
+ GreenBias = ((int)0x0D19) ,
+ ///
+ /// Original was GL_BLUE_SCALE = 0x0D1A
+ ///
+ BlueScale = ((int)0x0D1A) ,
+ ///
+ /// Original was GL_BLUE_BIAS = 0x0D1B
+ ///
+ BlueBias = ((int)0x0D1B) ,
+ ///
+ /// Original was GL_ALPHA_SCALE = 0x0D1C
+ ///
+ AlphaScale = ((int)0x0D1C) ,
+ ///
+ /// Original was GL_ALPHA_BIAS = 0x0D1D
+ ///
+ AlphaBias = ((int)0x0D1D) ,
+ ///
+ /// Original was GL_DEPTH_SCALE = 0x0D1E
+ ///
+ DepthScale = ((int)0x0D1E) ,
+ ///
+ /// Original was GL_DEPTH_BIAS = 0x0D1F
+ ///
+ DepthBias = ((int)0x0D1F) ,
+ ///
+ /// Original was GL_MAX_EVAL_ORDER = 0x0D30
+ ///
+ MaxEvalOrder = ((int)0x0D30) ,
+ ///
+ /// Original was GL_MAX_LIGHTS = 0x0D31
+ ///
+ MaxLights = ((int)0x0D31) ,
+ ///
+ /// Original was GL_MAX_CLIP_DISTANCES = 0x0D32
+ ///
+ MaxClipDistances = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_CLIP_PLANES = 0x0D32
+ ///
+ MaxClipPlanes = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33
+ ///
+ MaxTextureSize = ((int)0x0D33) ,
+ ///
+ /// Original was GL_MAX_PIXEL_MAP_TABLE = 0x0D34
+ ///
+ MaxPixelMapTable = ((int)0x0D34) ,
+ ///
+ /// Original was GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35
+ ///
+ MaxAttribStackDepth = ((int)0x0D35) ,
+ ///
+ /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36
+ ///
+ MaxModelviewStackDepth = ((int)0x0D36) ,
+ ///
+ /// Original was GL_MAX_NAME_STACK_DEPTH = 0x0D37
+ ///
+ MaxNameStackDepth = ((int)0x0D37) ,
+ ///
+ /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
+ ///
+ MaxProjectionStackDepth = ((int)0x0D38) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
+ ///
+ MaxTextureStackDepth = ((int)0x0D39) ,
+ ///
+ /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A
+ ///
+ MaxViewportDims = ((int)0x0D3A) ,
+ ///
+ /// Original was GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
+ ///
+ MaxClientAttribStackDepth = ((int)0x0D3B) ,
+ ///
+ /// Original was GL_SUBPIXEL_BITS = 0x0D50
+ ///
+ SubpixelBits = ((int)0x0D50) ,
+ ///
+ /// Original was GL_INDEX_BITS = 0x0D51
+ ///
+ IndexBits = ((int)0x0D51) ,
+ ///
+ /// Original was GL_RED_BITS = 0x0D52
+ ///
+ RedBits = ((int)0x0D52) ,
+ ///
+ /// Original was GL_GREEN_BITS = 0x0D53
+ ///
+ GreenBits = ((int)0x0D53) ,
+ ///
+ /// Original was GL_BLUE_BITS = 0x0D54
+ ///
+ BlueBits = ((int)0x0D54) ,
+ ///
+ /// Original was GL_ALPHA_BITS = 0x0D55
+ ///
+ AlphaBits = ((int)0x0D55) ,
+ ///
+ /// Original was GL_DEPTH_BITS = 0x0D56
+ ///
+ DepthBits = ((int)0x0D56) ,
+ ///
+ /// Original was GL_STENCIL_BITS = 0x0D57
+ ///
+ StencilBits = ((int)0x0D57) ,
+ ///
+ /// Original was GL_ACCUM_RED_BITS = 0x0D58
+ ///
+ AccumRedBits = ((int)0x0D58) ,
+ ///
+ /// Original was GL_ACCUM_GREEN_BITS = 0x0D59
+ ///
+ AccumGreenBits = ((int)0x0D59) ,
+ ///
+ /// Original was GL_ACCUM_BLUE_BITS = 0x0D5A
+ ///
+ AccumBlueBits = ((int)0x0D5A) ,
+ ///
+ /// Original was GL_ACCUM_ALPHA_BITS = 0x0D5B
+ ///
+ AccumAlphaBits = ((int)0x0D5B) ,
+ ///
+ /// Original was GL_NAME_STACK_DEPTH = 0x0D70
+ ///
+ NameStackDepth = ((int)0x0D70) ,
+ ///
+ /// Original was GL_AUTO_NORMAL = 0x0D80
+ ///
+ AutoNormal = ((int)0x0D80) ,
+ ///
+ /// Original was GL_MAP1_COLOR_4 = 0x0D90
+ ///
+ Map1Color4 = ((int)0x0D90) ,
+ ///
+ /// Original was GL_MAP1_INDEX = 0x0D91
+ ///
+ Map1Index = ((int)0x0D91) ,
+ ///
+ /// Original was GL_MAP1_NORMAL = 0x0D92
+ ///
+ Map1Normal = ((int)0x0D92) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93
+ ///
+ Map1TextureCoord1 = ((int)0x0D93) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94
+ ///
+ Map1TextureCoord2 = ((int)0x0D94) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95
+ ///
+ Map1TextureCoord3 = ((int)0x0D95) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96
+ ///
+ Map1TextureCoord4 = ((int)0x0D96) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_3 = 0x0D97
+ ///
+ Map1Vertex3 = ((int)0x0D97) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_4 = 0x0D98
+ ///
+ Map1Vertex4 = ((int)0x0D98) ,
+ ///
+ /// Original was GL_MAP2_COLOR_4 = 0x0DB0
+ ///
+ Map2Color4 = ((int)0x0DB0) ,
+ ///
+ /// Original was GL_MAP2_INDEX = 0x0DB1
+ ///
+ Map2Index = ((int)0x0DB1) ,
+ ///
+ /// Original was GL_MAP2_NORMAL = 0x0DB2
+ ///
+ Map2Normal = ((int)0x0DB2) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
+ ///
+ Map2TextureCoord1 = ((int)0x0DB3) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
+ ///
+ Map2TextureCoord2 = ((int)0x0DB4) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
+ ///
+ Map2TextureCoord3 = ((int)0x0DB5) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
+ ///
+ Map2TextureCoord4 = ((int)0x0DB6) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_3 = 0x0DB7
+ ///
+ Map2Vertex3 = ((int)0x0DB7) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_4 = 0x0DB8
+ ///
+ Map2Vertex4 = ((int)0x0DB8) ,
+ ///
+ /// Original was GL_MAP1_GRID_DOMAIN = 0x0DD0
+ ///
+ Map1GridDomain = ((int)0x0DD0) ,
+ ///
+ /// Original was GL_MAP1_GRID_SEGMENTS = 0x0DD1
+ ///
+ Map1GridSegments = ((int)0x0DD1) ,
+ ///
+ /// Original was GL_MAP2_GRID_DOMAIN = 0x0DD2
+ ///
+ Map2GridDomain = ((int)0x0DD2) ,
+ ///
+ /// Original was GL_MAP2_GRID_SEGMENTS = 0x0DD3
+ ///
+ Map2GridSegments = ((int)0x0DD3) ,
+ ///
+ /// Original was GL_TEXTURE_1D = 0x0DE0
+ ///
+ Texture1D = ((int)0x0DE0) ,
+ ///
+ /// Original was GL_TEXTURE_2D = 0x0DE1
+ ///
+ Texture2D = ((int)0x0DE1) ,
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
+ ///
+ FeedbackBufferSize = ((int)0x0DF1) ,
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
+ ///
+ FeedbackBufferType = ((int)0x0DF2) ,
+ ///
+ /// Original was GL_SELECTION_BUFFER_SIZE = 0x0DF4
+ ///
+ SelectionBufferSize = ((int)0x0DF4) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00
+ ///
+ PolygonOffsetUnits = ((int)0x2A00) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_POINT = 0x2A01
+ ///
+ PolygonOffsetPoint = ((int)0x2A01) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_LINE = 0x2A02
+ ///
+ PolygonOffsetLine = ((int)0x2A02) ,
+ ///
+ /// Original was GL_CLIP_PLANE0 = 0x3000
+ ///
+ ClipPlane0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE1 = 0x3001
+ ///
+ ClipPlane1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE2 = 0x3002
+ ///
+ ClipPlane2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE3 = 0x3003
+ ///
+ ClipPlane3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE4 = 0x3004
+ ///
+ ClipPlane4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE5 = 0x3005
+ ///
+ ClipPlane5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_LIGHT0 = 0x4000
+ ///
+ Light0 = ((int)0x4000) ,
+ ///
+ /// Original was GL_LIGHT1 = 0x4001
+ ///
+ Light1 = ((int)0x4001) ,
+ ///
+ /// Original was GL_LIGHT2 = 0x4002
+ ///
+ Light2 = ((int)0x4002) ,
+ ///
+ /// Original was GL_LIGHT3 = 0x4003
+ ///
+ Light3 = ((int)0x4003) ,
+ ///
+ /// Original was GL_LIGHT4 = 0x4004
+ ///
+ Light4 = ((int)0x4004) ,
+ ///
+ /// Original was GL_LIGHT5 = 0x4005
+ ///
+ Light5 = ((int)0x4005) ,
+ ///
+ /// Original was GL_LIGHT6 = 0x4006
+ ///
+ Light6 = ((int)0x4006) ,
+ ///
+ /// Original was GL_LIGHT7 = 0x4007
+ ///
+ Light7 = ((int)0x4007) ,
+ ///
+ /// Original was GL_BLEND_COLOR_EXT = 0x8005
+ ///
+ BlendColorExt = ((int)0x8005) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_EXT = 0x8009
+ ///
+ BlendEquationExt = ((int)0x8009) ,
+ ///
+ /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E
+ ///
+ PackCmykHintExt = ((int)0x800E) ,
+ ///
+ /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F
+ ///
+ UnpackCmykHintExt = ((int)0x800F) ,
+ ///
+ /// Original was GL_CONVOLUTION_1D_EXT = 0x8010
+ ///
+ Convolution1DExt = ((int)0x8010) ,
+ ///
+ /// Original was GL_CONVOLUTION_2D_EXT = 0x8011
+ ///
+ Convolution2DExt = ((int)0x8011) ,
+ ///
+ /// Original was GL_SEPARABLE_2D_EXT = 0x8012
+ ///
+ Separable2DExt = ((int)0x8012) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C
+ ///
+ PostConvolutionRedScaleExt = ((int)0x801C) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D
+ ///
+ PostConvolutionGreenScaleExt = ((int)0x801D) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E
+ ///
+ PostConvolutionBlueScaleExt = ((int)0x801E) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F
+ ///
+ PostConvolutionAlphaScaleExt = ((int)0x801F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020
+ ///
+ PostConvolutionRedBiasExt = ((int)0x8020) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021
+ ///
+ PostConvolutionGreenBiasExt = ((int)0x8021) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022
+ ///
+ PostConvolutionBlueBiasExt = ((int)0x8022) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023
+ ///
+ PostConvolutionAlphaBiasExt = ((int)0x8023) ,
+ ///
+ /// Original was GL_HISTOGRAM_EXT = 0x8024
+ ///
+ HistogramExt = ((int)0x8024) ,
+ ///
+ /// Original was GL_MINMAX_EXT = 0x802E
+ ///
+ MinmaxExt = ((int)0x802E) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FILL = 0x8037
+ ///
+ PolygonOffsetFill = ((int)0x8037) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038
+ ///
+ PolygonOffsetFactor = ((int)0x8038) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_BIAS_EXT = 0x8039
+ ///
+ PolygonOffsetBiasExt = ((int)0x8039) ,
+ ///
+ /// Original was GL_RESCALE_NORMAL_EXT = 0x803A
+ ///
+ RescaleNormalExt = ((int)0x803A) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_1D = 0x8068
+ ///
+ TextureBinding1D = ((int)0x8068) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_2D = 0x8069
+ ///
+ TextureBinding2D = ((int)0x8069) ,
+ ///
+ /// Original was GL_TEXTURE_3D_BINDING_EXT = 0x806A
+ ///
+ Texture3DBindingExt = ((int)0x806A) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_3D = 0x806A
+ ///
+ TextureBinding3D = ((int)0x806A) ,
+ ///
+ /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B
+ ///
+ PackSkipImagesExt = ((int)0x806B) ,
+ ///
+ /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C
+ ///
+ PackImageHeightExt = ((int)0x806C) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D
+ ///
+ UnpackSkipImagesExt = ((int)0x806D) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E
+ ///
+ UnpackImageHeightExt = ((int)0x806E) ,
+ ///
+ /// Original was GL_TEXTURE_3D_EXT = 0x806F
+ ///
+ Texture3DExt = ((int)0x806F) ,
+ ///
+ /// Original was GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073
+ ///
+ Max3DTextureSizeExt = ((int)0x8073) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY = 0x8074
+ ///
+ VertexArray = ((int)0x8074) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY = 0x8075
+ ///
+ NormalArray = ((int)0x8075) ,
+ ///
+ /// Original was GL_COLOR_ARRAY = 0x8076
+ ///
+ ColorArray = ((int)0x8076) ,
+ ///
+ /// Original was GL_INDEX_ARRAY = 0x8077
+ ///
+ IndexArray = ((int)0x8077) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078
+ ///
+ TextureCoordArray = ((int)0x8078) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY = 0x8079
+ ///
+ EdgeFlagArray = ((int)0x8079) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A
+ ///
+ VertexArraySize = ((int)0x807A) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B
+ ///
+ VertexArrayType = ((int)0x807B) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C
+ ///
+ VertexArrayStride = ((int)0x807C) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_COUNT_EXT = 0x807D
+ ///
+ VertexArrayCountExt = ((int)0x807D) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E
+ ///
+ NormalArrayType = ((int)0x807E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F
+ ///
+ NormalArrayStride = ((int)0x807F) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_COUNT_EXT = 0x8080
+ ///
+ NormalArrayCountExt = ((int)0x8080) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_SIZE = 0x8081
+ ///
+ ColorArraySize = ((int)0x8081) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_TYPE = 0x8082
+ ///
+ ColorArrayType = ((int)0x8082) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083
+ ///
+ ColorArrayStride = ((int)0x8083) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_COUNT_EXT = 0x8084
+ ///
+ ColorArrayCountExt = ((int)0x8084) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_TYPE = 0x8085
+ ///
+ IndexArrayType = ((int)0x8085) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_STRIDE = 0x8086
+ ///
+ IndexArrayStride = ((int)0x8086) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_COUNT_EXT = 0x8087
+ ///
+ IndexArrayCountExt = ((int)0x8087) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
+ ///
+ TextureCoordArraySize = ((int)0x8088) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
+ ///
+ TextureCoordArrayType = ((int)0x8089) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
+ ///
+ TextureCoordArrayStride = ((int)0x808A) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B
+ ///
+ TextureCoordArrayCountExt = ((int)0x808B) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
+ ///
+ EdgeFlagArrayStride = ((int)0x808C) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D
+ ///
+ EdgeFlagArrayCountExt = ((int)0x808D) ,
+ ///
+ /// Original was GL_INTERLACE_SGIX = 0x8094
+ ///
+ InterlaceSgix = ((int)0x8094) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096
+ ///
+ DetailTexture2DBindingSgis = ((int)0x8096) ,
+ ///
+ /// Original was GL_MULTISAMPLE_SGIS = 0x809D
+ ///
+ MultisampleSgis = ((int)0x809D) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E
+ ///
+ SampleAlphaToMaskSgis = ((int)0x809E) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F
+ ///
+ SampleAlphaToOneSgis = ((int)0x809F) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_SGIS = 0x80A0
+ ///
+ SampleMaskSgis = ((int)0x80A0) ,
+ ///
+ /// Original was GL_SAMPLE_BUFFERS_SGIS = 0x80A8
+ ///
+ SampleBuffersSgis = ((int)0x80A8) ,
+ ///
+ /// Original was GL_SAMPLES_SGIS = 0x80A9
+ ///
+ SamplesSgis = ((int)0x80A9) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA
+ ///
+ SampleMaskValueSgis = ((int)0x80AA) ,
+ ///
+ /// Original was GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB
+ ///
+ SampleMaskInvertSgis = ((int)0x80AB) ,
+ ///
+ /// Original was GL_SAMPLE_PATTERN_SGIS = 0x80AC
+ ///
+ SamplePatternSgis = ((int)0x80AC) ,
+ ///
+ /// Original was GL_COLOR_MATRIX_SGI = 0x80B1
+ ///
+ ColorMatrixSgi = ((int)0x80B1) ,
+ ///
+ /// Original was GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2
+ ///
+ ColorMatrixStackDepthSgi = ((int)0x80B2) ,
+ ///
+ /// Original was GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3
+ ///
+ MaxColorMatrixStackDepthSgi = ((int)0x80B3) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4
+ ///
+ PostColorMatrixRedScaleSgi = ((int)0x80B4) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5
+ ///
+ PostColorMatrixGreenScaleSgi = ((int)0x80B5) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6
+ ///
+ PostColorMatrixBlueScaleSgi = ((int)0x80B6) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7
+ ///
+ PostColorMatrixAlphaScaleSgi = ((int)0x80B7) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8
+ ///
+ PostColorMatrixRedBiasSgi = ((int)0x80B8) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9
+ ///
+ PostColorMatrixGreenBiasSgi = ((int)0x80B9) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA
+ ///
+ PostColorMatrixBlueBiasSgi = ((int)0x80BA) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB
+ ///
+ PostColorMatrixAlphaBiasSgi = ((int)0x80BB) ,
+ ///
+ /// Original was GL_TEXTURE_COLOR_TABLE_SGI = 0x80BC
+ ///
+ TextureColorTableSgi = ((int)0x80BC) ,
+ ///
+ /// Original was GL_COLOR_TABLE_SGI = 0x80D0
+ ///
+ ColorTableSgi = ((int)0x80D0) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1
+ ///
+ PostConvolutionColorTableSgi = ((int)0x80D1) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2
+ ///
+ PostColorMatrixColorTableSgi = ((int)0x80D2) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126
+ ///
+ PointSizeMinSgis = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127
+ ///
+ PointSizeMaxSgis = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128
+ ///
+ PointFadeThresholdSizeSgis = ((int)0x8128) ,
+ ///
+ /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129
+ ///
+ DistanceAttenuationSgis = ((int)0x8129) ,
+ ///
+ /// Original was GL_FOG_FUNC_POINTS_SGIS = 0x812B
+ ///
+ FogFuncPointsSgis = ((int)0x812B) ,
+ ///
+ /// Original was GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C
+ ///
+ MaxFogFuncPointsSgis = ((int)0x812C) ,
+ ///
+ /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130
+ ///
+ PackSkipVolumesSgis = ((int)0x8130) ,
+ ///
+ /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131
+ ///
+ PackImageDepthSgis = ((int)0x8131) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132
+ ///
+ UnpackSkipVolumesSgis = ((int)0x8132) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133
+ ///
+ UnpackImageDepthSgis = ((int)0x8133) ,
+ ///
+ /// Original was GL_TEXTURE_4D_SGIS = 0x8134
+ ///
+ Texture4DSgis = ((int)0x8134) ,
+ ///
+ /// Original was GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138
+ ///
+ Max4DTextureSizeSgis = ((int)0x8138) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_SGIX = 0x8139
+ ///
+ PixelTexGenSgix = ((int)0x8139) ,
+ ///
+ /// Original was GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX = 0x813E
+ ///
+ PixelTileBestAlignmentSgix = ((int)0x813E) ,
+ ///
+ /// Original was GL_PIXEL_TILE_CACHE_INCREMENT_SGIX = 0x813F
+ ///
+ PixelTileCacheIncrementSgix = ((int)0x813F) ,
+ ///
+ /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140
+ ///
+ PixelTileWidthSgix = ((int)0x8140) ,
+ ///
+ /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141
+ ///
+ PixelTileHeightSgix = ((int)0x8141) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142
+ ///
+ PixelTileGridWidthSgix = ((int)0x8142) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143
+ ///
+ PixelTileGridHeightSgix = ((int)0x8143) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144
+ ///
+ PixelTileGridDepthSgix = ((int)0x8144) ,
+ ///
+ /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145
+ ///
+ PixelTileCacheSizeSgix = ((int)0x8145) ,
+ ///
+ /// Original was GL_SPRITE_SGIX = 0x8148
+ ///
+ SpriteSgix = ((int)0x8148) ,
+ ///
+ /// Original was GL_SPRITE_MODE_SGIX = 0x8149
+ ///
+ SpriteModeSgix = ((int)0x8149) ,
+ ///
+ /// Original was GL_SPRITE_AXIS_SGIX = 0x814A
+ ///
+ SpriteAxisSgix = ((int)0x814A) ,
+ ///
+ /// Original was GL_SPRITE_TRANSLATION_SGIX = 0x814B
+ ///
+ SpriteTranslationSgix = ((int)0x814B) ,
+ ///
+ /// Original was GL_TEXTURE_4D_BINDING_SGIS = 0x814F
+ ///
+ Texture4DBindingSgis = ((int)0x814F) ,
+ ///
+ /// Original was GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177
+ ///
+ MaxClipmapDepthSgix = ((int)0x8177) ,
+ ///
+ /// Original was GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178
+ ///
+ MaxClipmapVirtualDepthSgix = ((int)0x8178) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B
+ ///
+ PostTextureFilterBiasRangeSgix = ((int)0x817B) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C
+ ///
+ PostTextureFilterScaleRangeSgix = ((int)0x817C) ,
+ ///
+ /// Original was GL_REFERENCE_PLANE_SGIX = 0x817D
+ ///
+ ReferencePlaneSgix = ((int)0x817D) ,
+ ///
+ /// Original was GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E
+ ///
+ ReferencePlaneEquationSgix = ((int)0x817E) ,
+ ///
+ /// Original was GL_IR_INSTRUMENT1_SGIX = 0x817F
+ ///
+ IrInstrument1Sgix = ((int)0x817F) ,
+ ///
+ /// Original was GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181
+ ///
+ InstrumentMeasurementsSgix = ((int)0x8181) ,
+ ///
+ /// Original was GL_CALLIGRAPHIC_FRAGMENT_SGIX = 0x8183
+ ///
+ CalligraphicFragmentSgix = ((int)0x8183) ,
+ ///
+ /// Original was GL_FRAMEZOOM_SGIX = 0x818B
+ ///
+ FramezoomSgix = ((int)0x818B) ,
+ ///
+ /// Original was GL_FRAMEZOOM_FACTOR_SGIX = 0x818C
+ ///
+ FramezoomFactorSgix = ((int)0x818C) ,
+ ///
+ /// Original was GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D
+ ///
+ MaxFramezoomFactorSgix = ((int)0x818D) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192
+ ///
+ GenerateMipmapHintSgis = ((int)0x8192) ,
+ ///
+ /// Original was GL_DEFORMATIONS_MASK_SGIX = 0x8196
+ ///
+ DeformationsMaskSgix = ((int)0x8196) ,
+ ///
+ /// Original was GL_FOG_OFFSET_SGIX = 0x8198
+ ///
+ FogOffsetSgix = ((int)0x8198) ,
+ ///
+ /// Original was GL_FOG_OFFSET_VALUE_SGIX = 0x8199
+ ///
+ FogOffsetValueSgix = ((int)0x8199) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
+ ///
+ LightModelColorControl = ((int)0x81F8) ,
+ ///
+ /// Original was GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB
+ ///
+ SharedTexturePaletteExt = ((int)0x81FB) ,
+ ///
+ /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316
+ ///
+ ConvolutionHintSgix = ((int)0x8316) ,
+ ///
+ /// Original was GL_ASYNC_MARKER_SGIX = 0x8329
+ ///
+ AsyncMarkerSgix = ((int)0x8329) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B
+ ///
+ PixelTexGenModeSgix = ((int)0x832B) ,
+ ///
+ /// Original was GL_ASYNC_HISTOGRAM_SGIX = 0x832C
+ ///
+ AsyncHistogramSgix = ((int)0x832C) ,
+ ///
+ /// Original was GL_MAX_ASYNC_HISTOGRAM_SGIX = 0x832D
+ ///
+ MaxAsyncHistogramSgix = ((int)0x832D) ,
+ ///
+ /// Original was GL_PIXEL_TEXTURE_SGIS = 0x8353
+ ///
+ PixelTextureSgis = ((int)0x8353) ,
+ ///
+ /// Original was GL_ASYNC_TEX_IMAGE_SGIX = 0x835C
+ ///
+ AsyncTexImageSgix = ((int)0x835C) ,
+ ///
+ /// Original was GL_ASYNC_DRAW_PIXELS_SGIX = 0x835D
+ ///
+ AsyncDrawPixelsSgix = ((int)0x835D) ,
+ ///
+ /// Original was GL_ASYNC_READ_PIXELS_SGIX = 0x835E
+ ///
+ AsyncReadPixelsSgix = ((int)0x835E) ,
+ ///
+ /// Original was GL_MAX_ASYNC_TEX_IMAGE_SGIX = 0x835F
+ ///
+ MaxAsyncTexImageSgix = ((int)0x835F) ,
+ ///
+ /// Original was GL_MAX_ASYNC_DRAW_PIXELS_SGIX = 0x8360
+ ///
+ MaxAsyncDrawPixelsSgix = ((int)0x8360) ,
+ ///
+ /// Original was GL_MAX_ASYNC_READ_PIXELS_SGIX = 0x8361
+ ///
+ MaxAsyncReadPixelsSgix = ((int)0x8361) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE
+ ///
+ VertexPreclipSgix = ((int)0x83EE) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF
+ ///
+ VertexPreclipHintSgix = ((int)0x83EF) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHTING_SGIX = 0x8400
+ ///
+ FragmentLightingSgix = ((int)0x8400) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_SGIX = 0x8401
+ ///
+ FragmentColorMaterialSgix = ((int)0x8401) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX = 0x8402
+ ///
+ FragmentColorMaterialFaceSgix = ((int)0x8402) ,
+ ///
+ /// Original was GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = 0x8403
+ ///
+ FragmentColorMaterialParameterSgix = ((int)0x8403) ,
+ ///
+ /// Original was GL_MAX_FRAGMENT_LIGHTS_SGIX = 0x8404
+ ///
+ MaxFragmentLightsSgix = ((int)0x8404) ,
+ ///
+ /// Original was GL_MAX_ACTIVE_LIGHTS_SGIX = 0x8405
+ ///
+ MaxActiveLightsSgix = ((int)0x8405) ,
+ ///
+ /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407
+ ///
+ LightEnvModeSgix = ((int)0x8407) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = 0x8408
+ ///
+ FragmentLightModelLocalViewerSgix = ((int)0x8408) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = 0x8409
+ ///
+ FragmentLightModelTwoSideSgix = ((int)0x8409) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = 0x840A
+ ///
+ FragmentLightModelAmbientSgix = ((int)0x840A) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = 0x840B
+ ///
+ FragmentLightModelNormalInterpolationSgix = ((int)0x840B) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C
+ ///
+ FragmentLight0Sgix = ((int)0x840C) ,
+ ///
+ /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C
+ ///
+ PackResampleSgix = ((int)0x842C) ,
+ ///
+ /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D
+ ///
+ UnpackResampleSgix = ((int)0x842D) ,
+ ///
+ /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D
+ ///
+ AliasedPointSizeRange = ((int)0x846D) ,
+ ///
+ /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
+ ///
+ AliasedLineWidthRange = ((int)0x846E) ,
+ ///
+ /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0
+ ///
+ PackSubsampleRateSgix = ((int)0x85A0) ,
+ ///
+ /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1
+ ///
+ UnpackSubsampleRateSgix = ((int)0x85A1) ,
+ }
+
+ ///
+ /// Used in GL.GetPointer
+ ///
+ public enum GetPointervPName : int
+ {
+ ///
+ /// Original was GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
+ ///
+ FeedbackBufferPointer = ((int)0x0DF0) ,
+ ///
+ /// Original was GL_SELECTION_BUFFER_POINTER = 0x0DF3
+ ///
+ SelectionBufferPointer = ((int)0x0DF3) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E
+ ///
+ VertexArrayPointer = ((int)0x808E) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_POINTER_EXT = 0x808E
+ ///
+ VertexArrayPointerExt = ((int)0x808E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F
+ ///
+ NormalArrayPointer = ((int)0x808F) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_POINTER_EXT = 0x808F
+ ///
+ NormalArrayPointerExt = ((int)0x808F) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_POINTER = 0x8090
+ ///
+ ColorArrayPointer = ((int)0x8090) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_POINTER_EXT = 0x8090
+ ///
+ ColorArrayPointerExt = ((int)0x8090) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_POINTER = 0x8091
+ ///
+ IndexArrayPointer = ((int)0x8091) ,
+ ///
+ /// Original was GL_INDEX_ARRAY_POINTER_EXT = 0x8091
+ ///
+ IndexArrayPointerExt = ((int)0x8091) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
+ ///
+ TextureCoordArrayPointer = ((int)0x8092) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092
+ ///
+ TextureCoordArrayPointerExt = ((int)0x8092) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
+ ///
+ EdgeFlagArrayPointer = ((int)0x8093) ,
+ ///
+ /// Original was GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093
+ ///
+ EdgeFlagArrayPointerExt = ((int)0x8093) ,
+ ///
+ /// Original was GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180
+ ///
+ InstrumentBufferPointerSgix = ((int)0x8180) ,
+ }
+
+ ///
+ /// Used in GL.GetTexParameter
+ ///
+ public enum GetTextureParameter : int
+ {
+ ///
+ /// Original was GL_TEXTURE_WIDTH = 0x1000
+ ///
+ TextureWidth = ((int)0x1000) ,
+ ///
+ /// Original was GL_TEXTURE_HEIGHT = 0x1001
+ ///
+ TextureHeight = ((int)0x1001) ,
+ ///
+ /// Original was GL_TEXTURE_COMPONENTS = 0x1003
+ ///
+ TextureComponents = ((int)0x1003) ,
+ ///
+ /// Original was GL_TEXTURE_INTERNAL_FORMAT = 0x1003
+ ///
+ TextureInternalFormat = ((int)0x1003) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004
+ ///
+ TextureBorderColor = ((int)0x1004) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER_COLOR_NV = 0x1004
+ ///
+ TextureBorderColorNv = ((int)0x1004) ,
+ ///
+ /// Original was GL_TEXTURE_BORDER = 0x1005
+ ///
+ TextureBorder = ((int)0x1005) ,
+ ///
+ /// Original was GL_TEXTURE_MAG_FILTER = 0x2800
+ ///
+ TextureMagFilter = ((int)0x2800) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_FILTER = 0x2801
+ ///
+ TextureMinFilter = ((int)0x2801) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_S = 0x2802
+ ///
+ TextureWrapS = ((int)0x2802) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_T = 0x2803
+ ///
+ TextureWrapT = ((int)0x2803) ,
+ ///
+ /// Original was GL_TEXTURE_RED_SIZE = 0x805C
+ ///
+ TextureRedSize = ((int)0x805C) ,
+ ///
+ /// Original was GL_TEXTURE_GREEN_SIZE = 0x805D
+ ///
+ TextureGreenSize = ((int)0x805D) ,
+ ///
+ /// Original was GL_TEXTURE_BLUE_SIZE = 0x805E
+ ///
+ TextureBlueSize = ((int)0x805E) ,
+ ///
+ /// Original was GL_TEXTURE_ALPHA_SIZE = 0x805F
+ ///
+ TextureAlphaSize = ((int)0x805F) ,
+ ///
+ /// Original was GL_TEXTURE_LUMINANCE_SIZE = 0x8060
+ ///
+ TextureLuminanceSize = ((int)0x8060) ,
+ ///
+ /// Original was GL_TEXTURE_INTENSITY_SIZE = 0x8061
+ ///
+ TextureIntensitySize = ((int)0x8061) ,
+ ///
+ /// Original was GL_TEXTURE_PRIORITY = 0x8066
+ ///
+ TexturePriority = ((int)0x8066) ,
+ ///
+ /// Original was GL_TEXTURE_RESIDENT = 0x8067
+ ///
+ TextureResident = ((int)0x8067) ,
+ ///
+ /// Original was GL_TEXTURE_DEPTH_EXT = 0x8071
+ ///
+ TextureDepthExt = ((int)0x8071) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072
+ ///
+ TextureWrapRExt = ((int)0x8072) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A
+ ///
+ DetailTextureLevelSgis = ((int)0x809A) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B
+ ///
+ DetailTextureModeSgis = ((int)0x809B) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS = 0x809C
+ ///
+ DetailTextureFuncPointsSgis = ((int)0x809C) ,
+ ///
+ /// Original was GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0
+ ///
+ SharpenTextureFuncPointsSgis = ((int)0x80B0) ,
+ ///
+ /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF
+ ///
+ ShadowAmbientSgix = ((int)0x80BF) ,
+ ///
+ /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124
+ ///
+ DualTextureSelectSgis = ((int)0x8124) ,
+ ///
+ /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125
+ ///
+ QuadTextureSelectSgis = ((int)0x8125) ,
+ ///
+ /// Original was GL_TEXTURE_4DSIZE_SGIS = 0x8136
+ ///
+ Texture4DsizeSgis = ((int)0x8136) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137
+ ///
+ TextureWrapQSgis = ((int)0x8137) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A
+ ///
+ TextureMinLodSgis = ((int)0x813A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B
+ ///
+ TextureMaxLodSgis = ((int)0x813B) ,
+ ///
+ /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C
+ ///
+ TextureBaseLevelSgis = ((int)0x813C) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D
+ ///
+ TextureMaxLevelSgis = ((int)0x813D) ,
+ ///
+ /// Original was GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147
+ ///
+ TextureFilter4SizeSgis = ((int)0x8147) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171
+ ///
+ TextureClipmapCenterSgix = ((int)0x8171) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172
+ ///
+ TextureClipmapFrameSgix = ((int)0x8172) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173
+ ///
+ TextureClipmapOffsetSgix = ((int)0x8173) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174
+ ///
+ TextureClipmapVirtualDepthSgix = ((int)0x8174) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175
+ ///
+ TextureClipmapLodOffsetSgix = ((int)0x8175) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176
+ ///
+ TextureClipmapDepthSgix = ((int)0x8176) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179
+ ///
+ PostTextureFilterBiasSgix = ((int)0x8179) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A
+ ///
+ PostTextureFilterScaleSgix = ((int)0x817A) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E
+ ///
+ TextureLodBiasSSgix = ((int)0x818E) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F
+ ///
+ TextureLodBiasTSgix = ((int)0x818F) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190
+ ///
+ TextureLodBiasRSgix = ((int)0x8190) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191
+ ///
+ GenerateMipmapSgis = ((int)0x8191) ,
+ ///
+ /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A
+ ///
+ TextureCompareSgix = ((int)0x819A) ,
+ ///
+ /// Original was GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B
+ ///
+ TextureCompareOperatorSgix = ((int)0x819B) ,
+ ///
+ /// Original was GL_TEXTURE_LEQUAL_R_SGIX = 0x819C
+ ///
+ TextureLequalRSgix = ((int)0x819C) ,
+ ///
+ /// Original was GL_TEXTURE_GEQUAL_R_SGIX = 0x819D
+ ///
+ TextureGequalRSgix = ((int)0x819D) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369
+ ///
+ TextureMaxClampSSgix = ((int)0x8369) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A
+ ///
+ TextureMaxClampTSgix = ((int)0x836A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B
+ ///
+ TextureMaxClampRSgix = ((int)0x836B) ,
+ }
+
+ ///
+ /// Used in GL.Hint
+ ///
+ public enum HintMode : int
+ {
+ ///
+ /// Original was GL_DONT_CARE = 0x1100
+ ///
+ DontCare = ((int)0x1100) ,
+ ///
+ /// Original was GL_FASTEST = 0x1101
+ ///
+ Fastest = ((int)0x1101) ,
+ ///
+ /// Original was GL_NICEST = 0x1102
+ ///
+ Nicest = ((int)0x1102) ,
+ }
+
+ ///
+ /// Used in GL.Hint
+ ///
+ public enum HintTarget : int
+ {
+ ///
+ /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
+ ///
+ PerspectiveCorrectionHint = ((int)0x0C50) ,
+ ///
+ /// Original was GL_POINT_SMOOTH_HINT = 0x0C51
+ ///
+ PointSmoothHint = ((int)0x0C51) ,
+ ///
+ /// Original was GL_LINE_SMOOTH_HINT = 0x0C52
+ ///
+ LineSmoothHint = ((int)0x0C52) ,
+ ///
+ /// Original was GL_POLYGON_SMOOTH_HINT = 0x0C53
+ ///
+ PolygonSmoothHint = ((int)0x0C53) ,
+ ///
+ /// Original was GL_FOG_HINT = 0x0C54
+ ///
+ FogHint = ((int)0x0C54) ,
+ ///
+ /// Original was GL_PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8
+ ///
+ PreferDoublebufferHintPgi = ((int)0x1A1F8) ,
+ ///
+ /// Original was GL_CONSERVE_MEMORY_HINT_PGI = 0x1A1FD
+ ///
+ ConserveMemoryHintPgi = ((int)0x1A1FD) ,
+ ///
+ /// Original was GL_RECLAIM_MEMORY_HINT_PGI = 0x1A1FE
+ ///
+ ReclaimMemoryHintPgi = ((int)0x1A1FE) ,
+ ///
+ /// Original was GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203
+ ///
+ NativeGraphicsBeginHintPgi = ((int)0x1A203) ,
+ ///
+ /// Original was GL_NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204
+ ///
+ NativeGraphicsEndHintPgi = ((int)0x1A204) ,
+ ///
+ /// Original was GL_ALWAYS_FAST_HINT_PGI = 0x1A20C
+ ///
+ AlwaysFastHintPgi = ((int)0x1A20C) ,
+ ///
+ /// Original was GL_ALWAYS_SOFT_HINT_PGI = 0x1A20D
+ ///
+ AlwaysSoftHintPgi = ((int)0x1A20D) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E
+ ///
+ AllowDrawObjHintPgi = ((int)0x1A20E) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F
+ ///
+ AllowDrawWinHintPgi = ((int)0x1A20F) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_FRG_HINT_PGI = 0x1A210
+ ///
+ AllowDrawFrgHintPgi = ((int)0x1A210) ,
+ ///
+ /// Original was GL_ALLOW_DRAW_MEM_HINT_PGI = 0x1A211
+ ///
+ AllowDrawMemHintPgi = ((int)0x1A211) ,
+ ///
+ /// Original was GL_STRICT_DEPTHFUNC_HINT_PGI = 0x1A216
+ ///
+ StrictDepthfuncHintPgi = ((int)0x1A216) ,
+ ///
+ /// Original was GL_STRICT_LIGHTING_HINT_PGI = 0x1A217
+ ///
+ StrictLightingHintPgi = ((int)0x1A217) ,
+ ///
+ /// Original was GL_STRICT_SCISSOR_HINT_PGI = 0x1A218
+ ///
+ StrictScissorHintPgi = ((int)0x1A218) ,
+ ///
+ /// Original was GL_FULL_STIPPLE_HINT_PGI = 0x1A219
+ ///
+ FullStippleHintPgi = ((int)0x1A219) ,
+ ///
+ /// Original was GL_CLIP_NEAR_HINT_PGI = 0x1A220
+ ///
+ ClipNearHintPgi = ((int)0x1A220) ,
+ ///
+ /// Original was GL_CLIP_FAR_HINT_PGI = 0x1A221
+ ///
+ ClipFarHintPgi = ((int)0x1A221) ,
+ ///
+ /// Original was GL_WIDE_LINE_HINT_PGI = 0x1A222
+ ///
+ WideLineHintPgi = ((int)0x1A222) ,
+ ///
+ /// Original was GL_BACK_NORMALS_HINT_PGI = 0x1A223
+ ///
+ BackNormalsHintPgi = ((int)0x1A223) ,
+ ///
+ /// Original was GL_VERTEX_DATA_HINT_PGI = 0x1A22A
+ ///
+ VertexDataHintPgi = ((int)0x1A22A) ,
+ ///
+ /// Original was GL_VERTEX_CONSISTENT_HINT_PGI = 0x1A22B
+ ///
+ VertexConsistentHintPgi = ((int)0x1A22B) ,
+ ///
+ /// Original was GL_MATERIAL_SIDE_HINT_PGI = 0x1A22C
+ ///
+ MaterialSideHintPgi = ((int)0x1A22C) ,
+ ///
+ /// Original was GL_MAX_VERTEX_HINT_PGI = 0x1A22D
+ ///
+ MaxVertexHintPgi = ((int)0x1A22D) ,
+ ///
+ /// Original was GL_PACK_CMYK_HINT_EXT = 0x800E
+ ///
+ PackCmykHintExt = ((int)0x800E) ,
+ ///
+ /// Original was GL_UNPACK_CMYK_HINT_EXT = 0x800F
+ ///
+ UnpackCmykHintExt = ((int)0x800F) ,
+ ///
+ /// Original was GL_PHONG_HINT_WIN = 0x80EB
+ ///
+ PhongHintWin = ((int)0x80EB) ,
+ ///
+ /// Original was GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0
+ ///
+ ClipVolumeClippingHintExt = ((int)0x80F0) ,
+ ///
+ /// Original was GL_TEXTURE_MULTI_BUFFER_HINT_SGIX = 0x812E
+ ///
+ TextureMultiBufferHintSgix = ((int)0x812E) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192
+ ///
+ GenerateMipmapHint = ((int)0x8192) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192
+ ///
+ GenerateMipmapHintSgis = ((int)0x8192) ,
+ ///
+ /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
+ ///
+ ProgramBinaryRetrievableHint = ((int)0x8257) ,
+ ///
+ /// Original was GL_CONVOLUTION_HINT_SGIX = 0x8316
+ ///
+ ConvolutionHintSgix = ((int)0x8316) ,
+ ///
+ /// Original was GL_SCALEBIAS_HINT_SGIX = 0x8322
+ ///
+ ScalebiasHintSgix = ((int)0x8322) ,
+ ///
+ /// Original was GL_LINE_QUALITY_HINT_SGIX = 0x835B
+ ///
+ LineQualityHintSgix = ((int)0x835B) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_SGIX = 0x83EE
+ ///
+ VertexPreclipSgix = ((int)0x83EE) ,
+ ///
+ /// Original was GL_VERTEX_PRECLIP_HINT_SGIX = 0x83EF
+ ///
+ VertexPreclipHintSgix = ((int)0x83EF) ,
+ ///
+ /// Original was GL_TEXTURE_COMPRESSION_HINT = 0x84EF
+ ///
+ TextureCompressionHint = ((int)0x84EF) ,
+ ///
+ /// Original was GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF
+ ///
+ TextureCompressionHintArb = ((int)0x84EF) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F
+ ///
+ VertexArrayStorageHintApple = ((int)0x851F) ,
+ ///
+ /// Original was GL_MULTISAMPLE_FILTER_HINT_NV = 0x8534
+ ///
+ MultisampleFilterHintNv = ((int)0x8534) ,
+ ///
+ /// Original was GL_TRANSFORM_HINT_APPLE = 0x85B1
+ ///
+ TransformHintApple = ((int)0x85B1) ,
+ ///
+ /// Original was GL_TEXTURE_STORAGE_HINT_APPLE = 0x85BC
+ ///
+ TextureStorageHintApple = ((int)0x85BC) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B
+ ///
+ FragmentShaderDerivativeHint = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B
+ ///
+ FragmentShaderDerivativeHintArb = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B
+ ///
+ FragmentShaderDerivativeHintOes = ((int)0x8B8B) ,
+ ///
+ /// Original was GL_BINNING_CONTROL_HINT_QCOM = 0x8FB0
+ ///
+ BinningControlHintQcom = ((int)0x8FB0) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum HistogramTargetExt : int
+ {
+ ///
+ /// Original was GL_HISTOGRAM = 0x8024
+ ///
+ Histogram = ((int)0x8024) ,
+ ///
+ /// Original was GL_HISTOGRAM_EXT = 0x8024
+ ///
+ HistogramExt = ((int)0x8024) ,
+ ///
+ /// Original was GL_PROXY_HISTOGRAM = 0x8025
+ ///
+ ProxyHistogram = ((int)0x8025) ,
+ ///
+ /// Original was GL_PROXY_HISTOGRAM_EXT = 0x8025
+ ///
+ ProxyHistogramExt = ((int)0x8025) ,
+ }
+
+ ///
+ /// Used in GL.Img.FramebufferTexture2DMultisample, GL.Img.RenderbufferStorageMultisample
+ ///
+ public enum ImgMultisampledRenderToTexture : int
+ {
+ ///
+ /// Original was GL_RENDERBUFFER_SAMPLES_IMG = 0x9133
+ ///
+ RenderbufferSamplesImg = ((int)0x9133) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG = 0x9134
+ ///
+ FramebufferIncompleteMultisampleImg = ((int)0x9134) ,
+ ///
+ /// Original was GL_MAX_SAMPLES_IMG = 0x9135
+ ///
+ MaxSamplesImg = ((int)0x9135) ,
+ ///
+ /// Original was GL_TEXTURE_SAMPLES_IMG = 0x9136
+ ///
+ TextureSamplesImg = ((int)0x9136) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ImgReadFormat : int
+ {
+ ///
+ /// Original was GL_BGRA_IMG = 0x80E1
+ ///
+ BgraImg = ((int)0x80E1) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG = 0x8365
+ ///
+ UnsignedShort4444RevImg = ((int)0x8365) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ImgTextureCompressionPvrtc : int
+ {
+ ///
+ /// Original was GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00
+ ///
+ CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00) ,
+ ///
+ /// Original was GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01
+ ///
+ CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02
+ ///
+ CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02) ,
+ ///
+ /// Original was GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03
+ ///
+ CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ImgTextureEnvEnhancedFixedFunction : int
+ {
+ ///
+ /// Original was GL_DOT3_RGBA_IMG = 0x86AF
+ ///
+ Dot3RgbaImg = ((int)0x86AF) ,
+ ///
+ /// Original was GL_MODULATE_COLOR_IMG = 0x8C04
+ ///
+ ModulateColorImg = ((int)0x8C04) ,
+ ///
+ /// Original was GL_RECIP_ADD_SIGNED_ALPHA_IMG = 0x8C05
+ ///
+ RecipAddSignedAlphaImg = ((int)0x8C05) ,
+ ///
+ /// Original was GL_TEXTURE_ALPHA_MODULATE_IMG = 0x8C06
+ ///
+ TextureAlphaModulateImg = ((int)0x8C06) ,
+ ///
+ /// Original was GL_FACTOR_ALPHA_MODULATE_IMG = 0x8C07
+ ///
+ FactorAlphaModulateImg = ((int)0x8C07) ,
+ ///
+ /// Original was GL_FRAGMENT_ALPHA_MODULATE_IMG = 0x8C08
+ ///
+ FragmentAlphaModulateImg = ((int)0x8C08) ,
+ ///
+ /// Original was GL_ADD_BLEND_IMG = 0x8C09
+ ///
+ AddBlendImg = ((int)0x8C09) ,
+ }
+
+ ///
+ /// Used in GL.Img.ClipPlane, GL.Img.ClipPlanex
+ ///
+ public enum ImgUserClipPlane : int
+ {
+ ///
+ /// Original was GL_MAX_CLIP_PLANES_IMG = 0x0D32
+ ///
+ MaxClipPlanesImg = ((int)0x0D32) ,
+ ///
+ /// Original was GL_CLIP_PLANE0_IMG = 0x3000
+ ///
+ ClipPlane0Img = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE1_IMG = 0x3001
+ ///
+ ClipPlane1Img = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE2_IMG = 0x3002
+ ///
+ ClipPlane2Img = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE3_IMG = 0x3003
+ ///
+ ClipPlane3Img = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE4_IMG = 0x3004
+ ///
+ ClipPlane4Img = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE5_IMG = 0x3005
+ ///
+ ClipPlane5Img = ((int)0x3005) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum IndexPointerType : int
+ {
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum InterleavedArrayFormat : int
+ {
+ ///
+ /// Original was GL_V2F = 0x2A20
+ ///
+ V2f = ((int)0x2A20) ,
+ ///
+ /// Original was GL_V3F = 0x2A21
+ ///
+ V3f = ((int)0x2A21) ,
+ ///
+ /// Original was GL_C4UB_V2F = 0x2A22
+ ///
+ C4ubV2f = ((int)0x2A22) ,
+ ///
+ /// Original was GL_C4UB_V3F = 0x2A23
+ ///
+ C4ubV3f = ((int)0x2A23) ,
+ ///
+ /// Original was GL_C3F_V3F = 0x2A24
+ ///
+ C3fV3f = ((int)0x2A24) ,
+ ///
+ /// Original was GL_N3F_V3F = 0x2A25
+ ///
+ N3fV3f = ((int)0x2A25) ,
+ ///
+ /// Original was GL_C4F_N3F_V3F = 0x2A26
+ ///
+ C4fN3fV3f = ((int)0x2A26) ,
+ ///
+ /// Original was GL_T2F_V3F = 0x2A27
+ ///
+ T2fV3f = ((int)0x2A27) ,
+ ///
+ /// Original was GL_T4F_V4F = 0x2A28
+ ///
+ T4fV4f = ((int)0x2A28) ,
+ ///
+ /// Original was GL_T2F_C4UB_V3F = 0x2A29
+ ///
+ T2fC4ubV3f = ((int)0x2A29) ,
+ ///
+ /// Original was GL_T2F_C3F_V3F = 0x2A2A
+ ///
+ T2fC3fV3f = ((int)0x2A2A) ,
+ ///
+ /// Original was GL_T2F_N3F_V3F = 0x2A2B
+ ///
+ T2fN3fV3f = ((int)0x2A2B) ,
+ ///
+ /// Original was GL_T2F_C4F_N3F_V3F = 0x2A2C
+ ///
+ T2fC4fN3fV3f = ((int)0x2A2C) ,
+ ///
+ /// Original was GL_T4F_C4F_N3F_V4F = 0x2A2D
+ ///
+ T4fC4fN3fV4f = ((int)0x2A2D) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum InternalFormat : int
+ {
+ ///
+ /// Original was GL_R3_G3_B2 = 0x2A10
+ ///
+ R3G3B2 = ((int)0x2A10) ,
+ ///
+ /// Original was GL_ALPHA4 = 0x803B
+ ///
+ Alpha4 = ((int)0x803B) ,
+ ///
+ /// Original was GL_ALPHA8 = 0x803C
+ ///
+ Alpha8 = ((int)0x803C) ,
+ ///
+ /// Original was GL_ALPHA12 = 0x803D
+ ///
+ Alpha12 = ((int)0x803D) ,
+ ///
+ /// Original was GL_ALPHA16 = 0x803E
+ ///
+ Alpha16 = ((int)0x803E) ,
+ ///
+ /// Original was GL_LUMINANCE4 = 0x803F
+ ///
+ Luminance4 = ((int)0x803F) ,
+ ///
+ /// Original was GL_LUMINANCE8 = 0x8040
+ ///
+ Luminance8 = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE12 = 0x8041
+ ///
+ Luminance12 = ((int)0x8041) ,
+ ///
+ /// Original was GL_LUMINANCE16 = 0x8042
+ ///
+ Luminance16 = ((int)0x8042) ,
+ ///
+ /// Original was GL_LUMINANCE4_ALPHA4 = 0x8043
+ ///
+ Luminance4Alpha4 = ((int)0x8043) ,
+ ///
+ /// Original was GL_LUMINANCE6_ALPHA2 = 0x8044
+ ///
+ Luminance6Alpha2 = ((int)0x8044) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8 = 0x8045
+ ///
+ Luminance8Alpha8 = ((int)0x8045) ,
+ ///
+ /// Original was GL_LUMINANCE12_ALPHA4 = 0x8046
+ ///
+ Luminance12Alpha4 = ((int)0x8046) ,
+ ///
+ /// Original was GL_LUMINANCE12_ALPHA12 = 0x8047
+ ///
+ Luminance12Alpha12 = ((int)0x8047) ,
+ ///
+ /// Original was GL_LUMINANCE16_ALPHA16 = 0x8048
+ ///
+ Luminance16Alpha16 = ((int)0x8048) ,
+ ///
+ /// Original was GL_INTENSITY = 0x8049
+ ///
+ Intensity = ((int)0x8049) ,
+ ///
+ /// Original was GL_INTENSITY4 = 0x804A
+ ///
+ Intensity4 = ((int)0x804A) ,
+ ///
+ /// Original was GL_INTENSITY8 = 0x804B
+ ///
+ Intensity8 = ((int)0x804B) ,
+ ///
+ /// Original was GL_INTENSITY12 = 0x804C
+ ///
+ Intensity12 = ((int)0x804C) ,
+ ///
+ /// Original was GL_INTENSITY16 = 0x804D
+ ///
+ Intensity16 = ((int)0x804D) ,
+ ///
+ /// Original was GL_RGB2_EXT = 0x804E
+ ///
+ Rgb2Ext = ((int)0x804E) ,
+ ///
+ /// Original was GL_RGB4 = 0x804F
+ ///
+ Rgb4 = ((int)0x804F) ,
+ ///
+ /// Original was GL_RGB5 = 0x8050
+ ///
+ Rgb5 = ((int)0x8050) ,
+ ///
+ /// Original was GL_RGB8 = 0x8051
+ ///
+ Rgb8 = ((int)0x8051) ,
+ ///
+ /// Original was GL_RGB10 = 0x8052
+ ///
+ Rgb10 = ((int)0x8052) ,
+ ///
+ /// Original was GL_RGB12 = 0x8053
+ ///
+ Rgb12 = ((int)0x8053) ,
+ ///
+ /// Original was GL_RGB16 = 0x8054
+ ///
+ Rgb16 = ((int)0x8054) ,
+ ///
+ /// Original was GL_RGBA2 = 0x8055
+ ///
+ Rgba2 = ((int)0x8055) ,
+ ///
+ /// Original was GL_RGBA4 = 0x8056
+ ///
+ Rgba4 = ((int)0x8056) ,
+ ///
+ /// Original was GL_RGB5_A1 = 0x8057
+ ///
+ Rgb5A1 = ((int)0x8057) ,
+ ///
+ /// Original was GL_RGBA8 = 0x8058
+ ///
+ Rgba8 = ((int)0x8058) ,
+ ///
+ /// Original was GL_RGB10_A2 = 0x8059
+ ///
+ Rgb10A2 = ((int)0x8059) ,
+ ///
+ /// Original was GL_RGBA12 = 0x805A
+ ///
+ Rgba12 = ((int)0x805A) ,
+ ///
+ /// Original was GL_RGBA16 = 0x805B
+ ///
+ Rgba16 = ((int)0x805B) ,
+ ///
+ /// Original was GL_DUAL_ALPHA4_SGIS = 0x8110
+ ///
+ DualAlpha4Sgis = ((int)0x8110) ,
+ ///
+ /// Original was GL_DUAL_ALPHA8_SGIS = 0x8111
+ ///
+ DualAlpha8Sgis = ((int)0x8111) ,
+ ///
+ /// Original was GL_DUAL_ALPHA12_SGIS = 0x8112
+ ///
+ DualAlpha12Sgis = ((int)0x8112) ,
+ ///
+ /// Original was GL_DUAL_ALPHA16_SGIS = 0x8113
+ ///
+ DualAlpha16Sgis = ((int)0x8113) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE4_SGIS = 0x8114
+ ///
+ DualLuminance4Sgis = ((int)0x8114) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE8_SGIS = 0x8115
+ ///
+ DualLuminance8Sgis = ((int)0x8115) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE12_SGIS = 0x8116
+ ///
+ DualLuminance12Sgis = ((int)0x8116) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE16_SGIS = 0x8117
+ ///
+ DualLuminance16Sgis = ((int)0x8117) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY4_SGIS = 0x8118
+ ///
+ DualIntensity4Sgis = ((int)0x8118) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY8_SGIS = 0x8119
+ ///
+ DualIntensity8Sgis = ((int)0x8119) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY12_SGIS = 0x811A
+ ///
+ DualIntensity12Sgis = ((int)0x811A) ,
+ ///
+ /// Original was GL_DUAL_INTENSITY16_SGIS = 0x811B
+ ///
+ DualIntensity16Sgis = ((int)0x811B) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C
+ ///
+ DualLuminanceAlpha4Sgis = ((int)0x811C) ,
+ ///
+ /// Original was GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D
+ ///
+ DualLuminanceAlpha8Sgis = ((int)0x811D) ,
+ ///
+ /// Original was GL_QUAD_ALPHA4_SGIS = 0x811E
+ ///
+ QuadAlpha4Sgis = ((int)0x811E) ,
+ ///
+ /// Original was GL_QUAD_ALPHA8_SGIS = 0x811F
+ ///
+ QuadAlpha8Sgis = ((int)0x811F) ,
+ ///
+ /// Original was GL_QUAD_LUMINANCE4_SGIS = 0x8120
+ ///
+ QuadLuminance4Sgis = ((int)0x8120) ,
+ ///
+ /// Original was GL_QUAD_LUMINANCE8_SGIS = 0x8121
+ ///
+ QuadLuminance8Sgis = ((int)0x8121) ,
+ ///
+ /// Original was GL_QUAD_INTENSITY4_SGIS = 0x8122
+ ///
+ QuadIntensity4Sgis = ((int)0x8122) ,
+ ///
+ /// Original was GL_QUAD_INTENSITY8_SGIS = 0x8123
+ ///
+ QuadIntensity8Sgis = ((int)0x8123) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT16_SGIX = 0x81A5
+ ///
+ DepthComponent16Sgix = ((int)0x81A5) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT24_SGIX = 0x81A6
+ ///
+ DepthComponent24Sgix = ((int)0x81A6) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT32_SGIX = 0x81A7
+ ///
+ DepthComponent32Sgix = ((int)0x81A7) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum LightEnvModeSgix : int
+ {
+ ///
+ /// Original was GL_ADD = 0x0104
+ ///
+ Add = ((int)0x0104) ,
+ ///
+ /// Original was GL_REPLACE = 0x1E01
+ ///
+ Replace = ((int)0x1E01) ,
+ ///
+ /// Original was GL_MODULATE = 0x2100
+ ///
+ Modulate = ((int)0x2100) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum LightEnvParameterSgix : int
+ {
+ ///
+ /// Original was GL_LIGHT_ENV_MODE_SGIX = 0x8407
+ ///
+ LightEnvModeSgix = ((int)0x8407) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum LightModelColorControl : int
+ {
+ ///
+ /// Original was GL_SINGLE_COLOR = 0x81F9
+ ///
+ SingleColor = ((int)0x81F9) ,
+ ///
+ /// Original was GL_SINGLE_COLOR_EXT = 0x81F9
+ ///
+ SingleColorExt = ((int)0x81F9) ,
+ ///
+ /// Original was GL_SEPARATE_SPECULAR_COLOR = 0x81FA
+ ///
+ SeparateSpecularColor = ((int)0x81FA) ,
+ ///
+ /// Original was GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA
+ ///
+ SeparateSpecularColorExt = ((int)0x81FA) ,
+ }
+
+ ///
+ /// Used in GL.LightModel
+ ///
+ public enum LightModelParameter : int
+ {
+ ///
+ /// Original was GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
+ ///
+ LightModelLocalViewer = ((int)0x0B51) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
+ ///
+ LightModelTwoSide = ((int)0x0B52) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53
+ ///
+ LightModelAmbient = ((int)0x0B53) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
+ ///
+ LightModelColorControl = ((int)0x81F8) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8
+ ///
+ LightModelColorControlExt = ((int)0x81F8) ,
+ }
+
+ ///
+ /// Used in GL.GetLight, GL.Light
+ ///
+ public enum LightName : int
+ {
+ ///
+ /// Original was GL_LIGHT0 = 0x4000
+ ///
+ Light0 = ((int)0x4000) ,
+ ///
+ /// Original was GL_LIGHT1 = 0x4001
+ ///
+ Light1 = ((int)0x4001) ,
+ ///
+ /// Original was GL_LIGHT2 = 0x4002
+ ///
+ Light2 = ((int)0x4002) ,
+ ///
+ /// Original was GL_LIGHT3 = 0x4003
+ ///
+ Light3 = ((int)0x4003) ,
+ ///
+ /// Original was GL_LIGHT4 = 0x4004
+ ///
+ Light4 = ((int)0x4004) ,
+ ///
+ /// Original was GL_LIGHT5 = 0x4005
+ ///
+ Light5 = ((int)0x4005) ,
+ ///
+ /// Original was GL_LIGHT6 = 0x4006
+ ///
+ Light6 = ((int)0x4006) ,
+ ///
+ /// Original was GL_LIGHT7 = 0x4007
+ ///
+ Light7 = ((int)0x4007) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT0_SGIX = 0x840C
+ ///
+ FragmentLight0Sgix = ((int)0x840C) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT1_SGIX = 0x840D
+ ///
+ FragmentLight1Sgix = ((int)0x840D) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT2_SGIX = 0x840E
+ ///
+ FragmentLight2Sgix = ((int)0x840E) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT3_SGIX = 0x840F
+ ///
+ FragmentLight3Sgix = ((int)0x840F) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT4_SGIX = 0x8410
+ ///
+ FragmentLight4Sgix = ((int)0x8410) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT5_SGIX = 0x8411
+ ///
+ FragmentLight5Sgix = ((int)0x8411) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT6_SGIX = 0x8412
+ ///
+ FragmentLight6Sgix = ((int)0x8412) ,
+ ///
+ /// Original was GL_FRAGMENT_LIGHT7_SGIX = 0x8413
+ ///
+ FragmentLight7Sgix = ((int)0x8413) ,
+ }
+
+ ///
+ /// Used in GL.GetLight, GL.Light
+ ///
+ public enum LightParameter : int
+ {
+ ///
+ /// Original was GL_AMBIENT = 0x1200
+ ///
+ Ambient = ((int)0x1200) ,
+ ///
+ /// Original was GL_DIFFUSE = 0x1201
+ ///
+ Diffuse = ((int)0x1201) ,
+ ///
+ /// Original was GL_SPECULAR = 0x1202
+ ///
+ Specular = ((int)0x1202) ,
+ ///
+ /// Original was GL_POSITION = 0x1203
+ ///
+ Position = ((int)0x1203) ,
+ ///
+ /// Original was GL_SPOT_DIRECTION = 0x1204
+ ///
+ SpotDirection = ((int)0x1204) ,
+ ///
+ /// Original was GL_SPOT_EXPONENT = 0x1205
+ ///
+ SpotExponent = ((int)0x1205) ,
+ ///
+ /// Original was GL_SPOT_CUTOFF = 0x1206
+ ///
+ SpotCutoff = ((int)0x1206) ,
+ ///
+ /// Original was GL_CONSTANT_ATTENUATION = 0x1207
+ ///
+ ConstantAttenuation = ((int)0x1207) ,
+ ///
+ /// Original was GL_LINEAR_ATTENUATION = 0x1208
+ ///
+ LinearAttenuation = ((int)0x1208) ,
+ ///
+ /// Original was GL_QUADRATIC_ATTENUATION = 0x1209
+ ///
+ QuadraticAttenuation = ((int)0x1209) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ListMode : int
+ {
+ ///
+ /// Original was GL_COMPILE = 0x1300
+ ///
+ Compile = ((int)0x1300) ,
+ ///
+ /// Original was GL_COMPILE_AND_EXECUTE = 0x1301
+ ///
+ CompileAndExecute = ((int)0x1301) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ListNameType : int
+ {
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE = 0x1401
+ ///
+ UnsignedByte = ((int)0x1401) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_2_BYTES = 0x1407
+ ///
+ Gl2Bytes = ((int)0x1407) ,
+ ///
+ /// Original was GL_3_BYTES = 0x1408
+ ///
+ Gl3Bytes = ((int)0x1408) ,
+ ///
+ /// Original was GL_4_BYTES = 0x1409
+ ///
+ Gl4Bytes = ((int)0x1409) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ListParameterName : int
+ {
+ ///
+ /// Original was GL_LIST_PRIORITY_SGIX = 0x8182
+ ///
+ ListPrioritySgix = ((int)0x8182) ,
+ }
+
+ ///
+ /// Used in GL.LogicOp
+ ///
+ public enum LogicOp : int
+ {
+ ///
+ /// Original was GL_CLEAR = 0x1500
+ ///
+ Clear = ((int)0x1500) ,
+ ///
+ /// Original was GL_AND = 0x1501
+ ///
+ And = ((int)0x1501) ,
+ ///
+ /// Original was GL_AND_REVERSE = 0x1502
+ ///
+ AndReverse = ((int)0x1502) ,
+ ///
+ /// Original was GL_COPY = 0x1503
+ ///
+ Copy = ((int)0x1503) ,
+ ///
+ /// Original was GL_AND_INVERTED = 0x1504
+ ///
+ AndInverted = ((int)0x1504) ,
+ ///
+ /// Original was GL_NOOP = 0x1505
+ ///
+ Noop = ((int)0x1505) ,
+ ///
+ /// Original was GL_XOR = 0x1506
+ ///
+ Xor = ((int)0x1506) ,
+ ///
+ /// Original was GL_OR = 0x1507
+ ///
+ Or = ((int)0x1507) ,
+ ///
+ /// Original was GL_NOR = 0x1508
+ ///
+ Nor = ((int)0x1508) ,
+ ///
+ /// Original was GL_EQUIV = 0x1509
+ ///
+ Equiv = ((int)0x1509) ,
+ ///
+ /// Original was GL_INVERT = 0x150A
+ ///
+ Invert = ((int)0x150A) ,
+ ///
+ /// Original was GL_OR_REVERSE = 0x150B
+ ///
+ OrReverse = ((int)0x150B) ,
+ ///
+ /// Original was GL_COPY_INVERTED = 0x150C
+ ///
+ CopyInverted = ((int)0x150C) ,
+ ///
+ /// Original was GL_OR_INVERTED = 0x150D
+ ///
+ OrInverted = ((int)0x150D) ,
+ ///
+ /// Original was GL_NAND = 0x150E
+ ///
+ Nand = ((int)0x150E) ,
+ ///
+ /// Original was GL_SET = 0x150F
+ ///
+ Set = ((int)0x150F) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum MapBufferUsageMask : int
+ {
+ ///
+ /// Original was GL_MAP_READ_BIT = 0x0001
+ ///
+ MapReadBit = ((int)0x0001) ,
+ ///
+ /// Original was GL_MAP_READ_BIT_EXT = 0x0001
+ ///
+ MapReadBitExt = ((int)0x0001) ,
+ ///
+ /// Original was GL_MAP_WRITE_BIT = 0x0002
+ ///
+ MapWriteBit = ((int)0x0002) ,
+ ///
+ /// Original was GL_MAP_WRITE_BIT_EXT = 0x0002
+ ///
+ MapWriteBitExt = ((int)0x0002) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_RANGE_BIT = 0x0004
+ ///
+ MapInvalidateRangeBit = ((int)0x0004) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_RANGE_BIT_EXT = 0x0004
+ ///
+ MapInvalidateRangeBitExt = ((int)0x0004) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008
+ ///
+ MapInvalidateBufferBit = ((int)0x0008) ,
+ ///
+ /// Original was GL_MAP_INVALIDATE_BUFFER_BIT_EXT = 0x0008
+ ///
+ MapInvalidateBufferBitExt = ((int)0x0008) ,
+ ///
+ /// Original was GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010
+ ///
+ MapFlushExplicitBit = ((int)0x0010) ,
+ ///
+ /// Original was GL_MAP_FLUSH_EXPLICIT_BIT_EXT = 0x0010
+ ///
+ MapFlushExplicitBitExt = ((int)0x0010) ,
+ ///
+ /// Original was GL_MAP_UNSYNCHRONIZED_BIT = 0x0020
+ ///
+ MapUnsynchronizedBit = ((int)0x0020) ,
+ ///
+ /// Original was GL_MAP_UNSYNCHRONIZED_BIT_EXT = 0x0020
+ ///
+ MapUnsynchronizedBitExt = ((int)0x0020) ,
+ ///
+ /// Original was GL_MAP_PERSISTENT_BIT = 0x0040
+ ///
+ MapPersistentBit = ((int)0x0040) ,
+ ///
+ /// Original was GL_MAP_COHERENT_BIT = 0x0080
+ ///
+ MapCoherentBit = ((int)0x0080) ,
+ ///
+ /// Original was GL_DYNAMIC_STORAGE_BIT = 0x0100
+ ///
+ DynamicStorageBit = ((int)0x0100) ,
+ ///
+ /// Original was GL_CLIENT_STORAGE_BIT = 0x0200
+ ///
+ ClientStorageBit = ((int)0x0200) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum MapTarget : int
+ {
+ ///
+ /// Original was GL_MAP1_COLOR_4 = 0x0D90
+ ///
+ Map1Color4 = ((int)0x0D90) ,
+ ///
+ /// Original was GL_MAP1_INDEX = 0x0D91
+ ///
+ Map1Index = ((int)0x0D91) ,
+ ///
+ /// Original was GL_MAP1_NORMAL = 0x0D92
+ ///
+ Map1Normal = ((int)0x0D92) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_1 = 0x0D93
+ ///
+ Map1TextureCoord1 = ((int)0x0D93) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_2 = 0x0D94
+ ///
+ Map1TextureCoord2 = ((int)0x0D94) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_3 = 0x0D95
+ ///
+ Map1TextureCoord3 = ((int)0x0D95) ,
+ ///
+ /// Original was GL_MAP1_TEXTURE_COORD_4 = 0x0D96
+ ///
+ Map1TextureCoord4 = ((int)0x0D96) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_3 = 0x0D97
+ ///
+ Map1Vertex3 = ((int)0x0D97) ,
+ ///
+ /// Original was GL_MAP1_VERTEX_4 = 0x0D98
+ ///
+ Map1Vertex4 = ((int)0x0D98) ,
+ ///
+ /// Original was GL_MAP2_COLOR_4 = 0x0DB0
+ ///
+ Map2Color4 = ((int)0x0DB0) ,
+ ///
+ /// Original was GL_MAP2_INDEX = 0x0DB1
+ ///
+ Map2Index = ((int)0x0DB1) ,
+ ///
+ /// Original was GL_MAP2_NORMAL = 0x0DB2
+ ///
+ Map2Normal = ((int)0x0DB2) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
+ ///
+ Map2TextureCoord1 = ((int)0x0DB3) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
+ ///
+ Map2TextureCoord2 = ((int)0x0DB4) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
+ ///
+ Map2TextureCoord3 = ((int)0x0DB5) ,
+ ///
+ /// Original was GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
+ ///
+ Map2TextureCoord4 = ((int)0x0DB6) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_3 = 0x0DB7
+ ///
+ Map2Vertex3 = ((int)0x0DB7) ,
+ ///
+ /// Original was GL_MAP2_VERTEX_4 = 0x0DB8
+ ///
+ Map2Vertex4 = ((int)0x0DB8) ,
+ ///
+ /// Original was GL_GEOMETRY_DEFORMATION_SGIX = 0x8194
+ ///
+ GeometryDeformationSgix = ((int)0x8194) ,
+ ///
+ /// Original was GL_TEXTURE_DEFORMATION_SGIX = 0x8195
+ ///
+ TextureDeformationSgix = ((int)0x8195) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum MapTextureFormatIntel : int
+ {
+ ///
+ /// Original was GL_LAYOUT_DEFAULT_INTEL = 0
+ ///
+ LayoutDefaultIntel = ((int)0) ,
+ ///
+ /// Original was GL_LAYOUT_LINEAR_INTEL = 1
+ ///
+ LayoutLinearIntel = ((int)1) ,
+ ///
+ /// Original was GL_LAYOUT_LINEAR_CPU_CACHED_INTEL = 2
+ ///
+ LayoutLinearCpuCachedIntel = ((int)2) ,
+ }
+
+ ///
+ /// Used in GL.GetMaterial, GL.Material
+ ///
+ public enum MaterialFace : int
+ {
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ }
+
+ ///
+ /// Used in GL.GetMaterial, GL.Material
+ ///
+ public enum MaterialParameter : int
+ {
+ ///
+ /// Original was GL_AMBIENT = 0x1200
+ ///
+ Ambient = ((int)0x1200) ,
+ ///
+ /// Original was GL_DIFFUSE = 0x1201
+ ///
+ Diffuse = ((int)0x1201) ,
+ ///
+ /// Original was GL_SPECULAR = 0x1202
+ ///
+ Specular = ((int)0x1202) ,
+ ///
+ /// Original was GL_EMISSION = 0x1600
+ ///
+ Emission = ((int)0x1600) ,
+ ///
+ /// Original was GL_SHININESS = 0x1601
+ ///
+ Shininess = ((int)0x1601) ,
+ ///
+ /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602
+ ///
+ AmbientAndDiffuse = ((int)0x1602) ,
+ ///
+ /// Original was GL_COLOR_INDEXES = 0x1603
+ ///
+ ColorIndexes = ((int)0x1603) ,
+ }
+
+ ///
+ /// Used in GL.MatrixMode
+ ///
+ public enum MatrixMode : int
+ {
+ ///
+ /// Original was GL_MODELVIEW = 0x1700
+ ///
+ Modelview = ((int)0x1700) ,
+ ///
+ /// Original was GL_MODELVIEW0_EXT = 0x1700
+ ///
+ Modelview0Ext = ((int)0x1700) ,
+ ///
+ /// Original was GL_PROJECTION = 0x1701
+ ///
+ Projection = ((int)0x1701) ,
+ ///
+ /// Original was GL_TEXTURE = 0x1702
+ ///
+ Texture = ((int)0x1702) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum MemoryBarrierMask : int
+ {
+ ///
+ /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT = 0x00000001
+ ///
+ VertexAttribArrayBarrierBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT = 0x00000001
+ ///
+ VertexAttribArrayBarrierBitExt = ((int)0x00000001) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT = 0x00000002
+ ///
+ ElementArrayBarrierBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BARRIER_BIT_EXT = 0x00000002
+ ///
+ ElementArrayBarrierBitExt = ((int)0x00000002) ,
+ ///
+ /// Original was GL_UNIFORM_BARRIER_BIT = 0x00000004
+ ///
+ UniformBarrierBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_UNIFORM_BARRIER_BIT_EXT = 0x00000004
+ ///
+ UniformBarrierBitExt = ((int)0x00000004) ,
+ ///
+ /// Original was GL_TEXTURE_FETCH_BARRIER_BIT = 0x00000008
+ ///
+ TextureFetchBarrierBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_TEXTURE_FETCH_BARRIER_BIT_EXT = 0x00000008
+ ///
+ TextureFetchBarrierBitExt = ((int)0x00000008) ,
+ ///
+ /// Original was GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010
+ ///
+ ShaderGlobalAccessBarrierBitNv = ((int)0x00000010) ,
+ ///
+ /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT = 0x00000020
+ ///
+ ShaderImageAccessBarrierBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT = 0x00000020
+ ///
+ ShaderImageAccessBarrierBitExt = ((int)0x00000020) ,
+ ///
+ /// Original was GL_COMMAND_BARRIER_BIT = 0x00000040
+ ///
+ CommandBarrierBit = ((int)0x00000040) ,
+ ///
+ /// Original was GL_COMMAND_BARRIER_BIT_EXT = 0x00000040
+ ///
+ CommandBarrierBitExt = ((int)0x00000040) ,
+ ///
+ /// Original was GL_PIXEL_BUFFER_BARRIER_BIT = 0x00000080
+ ///
+ PixelBufferBarrierBit = ((int)0x00000080) ,
+ ///
+ /// Original was GL_PIXEL_BUFFER_BARRIER_BIT_EXT = 0x00000080
+ ///
+ PixelBufferBarrierBitExt = ((int)0x00000080) ,
+ ///
+ /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT = 0x00000100
+ ///
+ TextureUpdateBarrierBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_TEXTURE_UPDATE_BARRIER_BIT_EXT = 0x00000100
+ ///
+ TextureUpdateBarrierBitExt = ((int)0x00000100) ,
+ ///
+ /// Original was GL_BUFFER_UPDATE_BARRIER_BIT = 0x00000200
+ ///
+ BufferUpdateBarrierBit = ((int)0x00000200) ,
+ ///
+ /// Original was GL_BUFFER_UPDATE_BARRIER_BIT_EXT = 0x00000200
+ ///
+ BufferUpdateBarrierBitExt = ((int)0x00000200) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BARRIER_BIT = 0x00000400
+ ///
+ FramebufferBarrierBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BARRIER_BIT_EXT = 0x00000400
+ ///
+ FramebufferBarrierBitExt = ((int)0x00000400) ,
+ ///
+ /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT = 0x00000800
+ ///
+ TransformFeedbackBarrierBit = ((int)0x00000800) ,
+ ///
+ /// Original was GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT = 0x00000800
+ ///
+ TransformFeedbackBarrierBitExt = ((int)0x00000800) ,
+ ///
+ /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT = 0x00001000
+ ///
+ AtomicCounterBarrierBit = ((int)0x00001000) ,
+ ///
+ /// Original was GL_ATOMIC_COUNTER_BARRIER_BIT_EXT = 0x00001000
+ ///
+ AtomicCounterBarrierBitExt = ((int)0x00001000) ,
+ ///
+ /// Original was GL_SHADER_STORAGE_BARRIER_BIT = 0x00002000
+ ///
+ ShaderStorageBarrierBit = ((int)0x00002000) ,
+ ///
+ /// Original was GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT = 0x00004000
+ ///
+ ClientMappedBufferBarrierBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_QUERY_BUFFER_BARRIER_BIT = 0x00008000
+ ///
+ QueryBufferBarrierBit = ((int)0x00008000) ,
+ ///
+ /// Original was GL_ALL_BARRIER_BITS = 0xFFFFFFFF
+ ///
+ AllBarrierBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_BARRIER_BITS_EXT = 0xFFFFFFFF
+ ///
+ AllBarrierBitsExt = unchecked((int)0xFFFFFFFF) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum MeshMode1 : int
+ {
+ ///
+ /// Original was GL_POINT = 0x1B00
+ ///
+ Point = ((int)0x1B00) ,
+ ///
+ /// Original was GL_LINE = 0x1B01
+ ///
+ Line = ((int)0x1B01) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum MeshMode2 : int
+ {
+ ///
+ /// Original was GL_POINT = 0x1B00
+ ///
+ Point = ((int)0x1B00) ,
+ ///
+ /// Original was GL_LINE = 0x1B01
+ ///
+ Line = ((int)0x1B01) ,
+ ///
+ /// Original was GL_FILL = 0x1B02
+ ///
+ Fill = ((int)0x1B02) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum MinmaxTargetExt : int
+ {
+ ///
+ /// Original was GL_MINMAX = 0x802E
+ ///
+ Minmax = ((int)0x802E) ,
+ ///
+ /// Original was GL_MINMAX_EXT = 0x802E
+ ///
+ MinmaxExt = ((int)0x802E) ,
+ }
+
+ ///
+ /// Used in GL.NormalPointer
+ ///
+ public enum NormalPointerType : int
+ {
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ }
+
+ ///
+ /// Used in GL.NV.GetFence, GL.NV.SetFence
+ ///
+ public enum NvFence : int
+ {
+ ///
+ /// Original was GL_ALL_COMPLETED_NV = 0x84F2
+ ///
+ AllCompletedNv = ((int)0x84F2) ,
+ ///
+ /// Original was GL_FENCE_STATUS_NV = 0x84F3
+ ///
+ FenceStatusNv = ((int)0x84F3) ,
+ ///
+ /// Original was GL_FENCE_CONDITION_NV = 0x84F4
+ ///
+ FenceConditionNv = ((int)0x84F4) ,
+ }
+
+ ///
+ /// Used in GL.Oes.BlendEquationSeparate
+ ///
+ public enum OesBlendEquationSeparate : int
+ {
+ ///
+ /// Original was GL_BLEND_EQUATION_RGB_OES = 0x8009
+ ///
+ BlendEquationRgbOes = ((int)0x8009) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_ALPHA_OES = 0x883D
+ ///
+ BlendEquationAlphaOes = ((int)0x883D) ,
+ }
+
+ ///
+ /// Used in GL.Oes.BlendFuncSeparate
+ ///
+ public enum OesBlendFuncSeparate : int
+ {
+ ///
+ /// Original was GL_BLEND_DST_RGB_OES = 0x80C8
+ ///
+ BlendDstRgbOes = ((int)0x80C8) ,
+ ///
+ /// Original was GL_BLEND_SRC_RGB_OES = 0x80C9
+ ///
+ BlendSrcRgbOes = ((int)0x80C9) ,
+ ///
+ /// Original was GL_BLEND_DST_ALPHA_OES = 0x80CA
+ ///
+ BlendDstAlphaOes = ((int)0x80CA) ,
+ ///
+ /// Original was GL_BLEND_SRC_ALPHA_OES = 0x80CB
+ ///
+ BlendSrcAlphaOes = ((int)0x80CB) ,
+ }
+
+ ///
+ /// Used in GL.Oes.BlendEquation
+ ///
+ public enum OesBlendSubtract : int
+ {
+ ///
+ /// Original was GL_FUNC_ADD_OES = 0x8006
+ ///
+ FuncAddOes = ((int)0x8006) ,
+ ///
+ /// Original was GL_BLEND_EQUATION_OES = 0x8009
+ ///
+ BlendEquationOes = ((int)0x8009) ,
+ ///
+ /// Original was GL_FUNC_SUBTRACT_OES = 0x800A
+ ///
+ FuncSubtractOes = ((int)0x800A) ,
+ ///
+ /// Original was GL_FUNC_REVERSE_SUBTRACT_OES = 0x800B
+ ///
+ FuncReverseSubtractOes = ((int)0x800B) ,
+ }
+
+ ///
+ /// Used in GL.Oes.MultiTexCoord1, GL.Oes.MultiTexCoord2 and 2 other functions
+ ///
+ public enum OesByteCoordinates : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesCompressedEtc1Rgb8Texture : int
+ {
+ ///
+ /// Original was GL_ETC1_RGB8_OES = 0x8D64
+ ///
+ Etc1Rgb8Oes = ((int)0x8D64) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesCompressedPalettedTexture : int
+ {
+ ///
+ /// Original was GL_PALETTE4_RGB8_OES = 0x8B90
+ ///
+ Palette4Rgb8Oes = ((int)0x8B90) ,
+ ///
+ /// Original was GL_PALETTE4_RGBA8_OES = 0x8B91
+ ///
+ Palette4Rgba8Oes = ((int)0x8B91) ,
+ ///
+ /// Original was GL_PALETTE4_R5_G6_B5_OES = 0x8B92
+ ///
+ Palette4R5G6B5Oes = ((int)0x8B92) ,
+ ///
+ /// Original was GL_PALETTE4_RGBA4_OES = 0x8B93
+ ///
+ Palette4Rgba4Oes = ((int)0x8B93) ,
+ ///
+ /// Original was GL_PALETTE4_RGB5_A1_OES = 0x8B94
+ ///
+ Palette4Rgb5A1Oes = ((int)0x8B94) ,
+ ///
+ /// Original was GL_PALETTE8_RGB8_OES = 0x8B95
+ ///
+ Palette8Rgb8Oes = ((int)0x8B95) ,
+ ///
+ /// Original was GL_PALETTE8_RGBA8_OES = 0x8B96
+ ///
+ Palette8Rgba8Oes = ((int)0x8B96) ,
+ ///
+ /// Original was GL_PALETTE8_R5_G6_B5_OES = 0x8B97
+ ///
+ Palette8R5G6B5Oes = ((int)0x8B97) ,
+ ///
+ /// Original was GL_PALETTE8_RGBA4_OES = 0x8B98
+ ///
+ Palette8Rgba4Oes = ((int)0x8B98) ,
+ ///
+ /// Original was GL_PALETTE8_RGB5_A1_OES = 0x8B99
+ ///
+ Palette8Rgb5A1Oes = ((int)0x8B99) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesDepth24 : int
+ {
+ ///
+ /// Original was GL_DEPTH_COMPONENT24_OES = 0x81A6
+ ///
+ DepthComponent24Oes = ((int)0x81A6) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesDepth32 : int
+ {
+ ///
+ /// Original was GL_DEPTH_COMPONENT32_OES = 0x81A7
+ ///
+ DepthComponent32Oes = ((int)0x81A7) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesDrawTexture : int
+ {
+ ///
+ /// Original was GL_TEXTURE_CROP_RECT_OES = 0x8B9D
+ ///
+ TextureCropRectOes = ((int)0x8B9D) ,
+ }
+
+ ///
+ /// Used in GL.Oes.EGLImageTargetRenderbufferStorage, GL.Oes.EGLImageTargetTexture2D
+ ///
+ public enum OesEglImage : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesEglImageExternal : int
+ {
+ ///
+ /// Original was GL_TEXTURE_EXTERNAL_OES = 0x8D65
+ ///
+ TextureExternalOes = ((int)0x8D65) ,
+ ///
+ /// Original was GL_SAMPLER_EXTERNAL_OES = 0x8D66
+ ///
+ SamplerExternalOes = ((int)0x8D66) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_EXTERNAL_OES = 0x8D67
+ ///
+ TextureBindingExternalOes = ((int)0x8D67) ,
+ ///
+ /// Original was GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68
+ ///
+ RequiredTextureImageUnitsOes = ((int)0x8D68) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesElementIndexUint : int
+ {
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesExtendedMatrixPalette : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesFboRenderMipmap : int
+ {
+ }
+
+ ///
+ /// Used in GL.GetPixelMapx, GL.PixelMapx and 30 other functions
+ ///
+ public enum OesFixedPoint : int
+ {
+ ///
+ /// Original was GL_FIXED_OES = 0x140C
+ ///
+ FixedOes = ((int)0x140C) ,
+ }
+
+ ///
+ /// Used in GL.Oes.BindFramebuffer, GL.Oes.BindRenderbuffer and 7 other functions
+ ///
+ public enum OesFramebufferObject : int
+ {
+ ///
+ /// Original was GL_NONE_OES = 0
+ ///
+ NoneOes = ((int)0) ,
+ ///
+ /// Original was GL_INVALID_FRAMEBUFFER_OPERATION_OES = 0x0506
+ ///
+ InvalidFramebufferOperationOes = ((int)0x0506) ,
+ ///
+ /// Original was GL_RGBA4_OES = 0x8056
+ ///
+ Rgba4Oes = ((int)0x8056) ,
+ ///
+ /// Original was GL_RGB5_A1_OES = 0x8057
+ ///
+ Rgb5A1Oes = ((int)0x8057) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT16_OES = 0x81A5
+ ///
+ DepthComponent16Oes = ((int)0x81A5) ,
+ ///
+ /// Original was GL_MAX_RENDERBUFFER_SIZE_OES = 0x84E8
+ ///
+ MaxRenderbufferSizeOes = ((int)0x84E8) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_BINDING_OES = 0x8CA6
+ ///
+ FramebufferBindingOes = ((int)0x8CA6) ,
+ ///
+ /// Original was GL_RENDERBUFFER_BINDING_OES = 0x8CA7
+ ///
+ RenderbufferBindingOes = ((int)0x8CA7) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES = 0x8CD0
+ ///
+ FramebufferAttachmentObjectTypeOes = ((int)0x8CD0) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES = 0x8CD1
+ ///
+ FramebufferAttachmentObjectNameOes = ((int)0x8CD1) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES = 0x8CD2
+ ///
+ FramebufferAttachmentTextureLevelOes = ((int)0x8CD2) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES = 0x8CD3
+ ///
+ FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_COMPLETE_OES = 0x8CD5
+ ///
+ FramebufferCompleteOes = ((int)0x8CD5) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES = 0x8CD6
+ ///
+ FramebufferIncompleteAttachmentOes = ((int)0x8CD6) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES = 0x8CD7
+ ///
+ FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES = 0x8CD9
+ ///
+ FramebufferIncompleteDimensionsOes = ((int)0x8CD9) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES = 0x8CDA
+ ///
+ FramebufferIncompleteFormatsOes = ((int)0x8CDA) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_UNSUPPORTED_OES = 0x8CDD
+ ///
+ FramebufferUnsupportedOes = ((int)0x8CDD) ,
+ ///
+ /// Original was GL_COLOR_ATTACHMENT0_OES = 0x8CE0
+ ///
+ ColorAttachment0Oes = ((int)0x8CE0) ,
+ ///
+ /// Original was GL_DEPTH_ATTACHMENT_OES = 0x8D00
+ ///
+ DepthAttachmentOes = ((int)0x8D00) ,
+ ///
+ /// Original was GL_STENCIL_ATTACHMENT_OES = 0x8D20
+ ///
+ StencilAttachmentOes = ((int)0x8D20) ,
+ ///
+ /// Original was GL_FRAMEBUFFER_OES = 0x8D40
+ ///
+ FramebufferOes = ((int)0x8D40) ,
+ ///
+ /// Original was GL_RENDERBUFFER_OES = 0x8D41
+ ///
+ RenderbufferOes = ((int)0x8D41) ,
+ ///
+ /// Original was GL_RENDERBUFFER_WIDTH_OES = 0x8D42
+ ///
+ RenderbufferWidthOes = ((int)0x8D42) ,
+ ///
+ /// Original was GL_RENDERBUFFER_HEIGHT_OES = 0x8D43
+ ///
+ RenderbufferHeightOes = ((int)0x8D43) ,
+ ///
+ /// Original was GL_RENDERBUFFER_INTERNAL_FORMAT_OES = 0x8D44
+ ///
+ RenderbufferInternalFormatOes = ((int)0x8D44) ,
+ ///
+ /// Original was GL_RENDERBUFFER_RED_SIZE_OES = 0x8D50
+ ///
+ RenderbufferRedSizeOes = ((int)0x8D50) ,
+ ///
+ /// Original was GL_RENDERBUFFER_GREEN_SIZE_OES = 0x8D51
+ ///
+ RenderbufferGreenSizeOes = ((int)0x8D51) ,
+ ///
+ /// Original was GL_RENDERBUFFER_BLUE_SIZE_OES = 0x8D52
+ ///
+ RenderbufferBlueSizeOes = ((int)0x8D52) ,
+ ///
+ /// Original was GL_RENDERBUFFER_ALPHA_SIZE_OES = 0x8D53
+ ///
+ RenderbufferAlphaSizeOes = ((int)0x8D53) ,
+ ///
+ /// Original was GL_RENDERBUFFER_DEPTH_SIZE_OES = 0x8D54
+ ///
+ RenderbufferDepthSizeOes = ((int)0x8D54) ,
+ ///
+ /// Original was GL_RENDERBUFFER_STENCIL_SIZE_OES = 0x8D55
+ ///
+ RenderbufferStencilSizeOes = ((int)0x8D55) ,
+ ///
+ /// Original was GL_RGB565_OES = 0x8D62
+ ///
+ Rgb565Oes = ((int)0x8D62) ,
+ }
+
+ ///
+ /// Used in GL.Oes.GetBufferPointer, GL.Oes.MapBuffer and 1 other function
+ ///
+ public enum OesMapbuffer : int
+ {
+ ///
+ /// Original was GL_WRITE_ONLY_OES = 0x88B9
+ ///
+ WriteOnlyOes = ((int)0x88B9) ,
+ ///
+ /// Original was GL_BUFFER_ACCESS_OES = 0x88BB
+ ///
+ BufferAccessOes = ((int)0x88BB) ,
+ ///
+ /// Original was GL_BUFFER_MAPPED_OES = 0x88BC
+ ///
+ BufferMappedOes = ((int)0x88BC) ,
+ ///
+ /// Original was GL_BUFFER_MAP_POINTER_OES = 0x88BD
+ ///
+ BufferMapPointerOes = ((int)0x88BD) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesMatrixGet : int
+ {
+ ///
+ /// Original was GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D
+ ///
+ ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D) ,
+ ///
+ /// Original was GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E
+ ///
+ ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E) ,
+ ///
+ /// Original was GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F
+ ///
+ TextureMatrixFloatAsIntBitsOes = ((int)0x898F) ,
+ }
+
+ ///
+ /// Used in GL.Oes.MatrixIndexPointer, GL.Oes.WeightPointer
+ ///
+ public enum OesMatrixPalette : int
+ {
+ ///
+ /// Original was GL_MAX_VERTEX_UNITS_OES = 0x86A4
+ ///
+ MaxVertexUnitsOes = ((int)0x86A4) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_TYPE_OES = 0x86A9
+ ///
+ WeightArrayTypeOes = ((int)0x86A9) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_STRIDE_OES = 0x86AA
+ ///
+ WeightArrayStrideOes = ((int)0x86AA) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_SIZE_OES = 0x86AB
+ ///
+ WeightArraySizeOes = ((int)0x86AB) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_POINTER_OES = 0x86AC
+ ///
+ WeightArrayPointerOes = ((int)0x86AC) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_OES = 0x86AD
+ ///
+ WeightArrayOes = ((int)0x86AD) ,
+ ///
+ /// Original was GL_MATRIX_PALETTE_OES = 0x8840
+ ///
+ MatrixPaletteOes = ((int)0x8840) ,
+ ///
+ /// Original was GL_MAX_PALETTE_MATRICES_OES = 0x8842
+ ///
+ MaxPaletteMatricesOes = ((int)0x8842) ,
+ ///
+ /// Original was GL_CURRENT_PALETTE_MATRIX_OES = 0x8843
+ ///
+ CurrentPaletteMatrixOes = ((int)0x8843) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_OES = 0x8844
+ ///
+ MatrixIndexArrayOes = ((int)0x8844) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_SIZE_OES = 0x8846
+ ///
+ MatrixIndexArraySizeOes = ((int)0x8846) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_TYPE_OES = 0x8847
+ ///
+ MatrixIndexArrayTypeOes = ((int)0x8847) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_STRIDE_OES = 0x8848
+ ///
+ MatrixIndexArrayStrideOes = ((int)0x8848) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_POINTER_OES = 0x8849
+ ///
+ MatrixIndexArrayPointerOes = ((int)0x8849) ,
+ ///
+ /// Original was GL_WEIGHT_ARRAY_BUFFER_BINDING_OES = 0x889E
+ ///
+ WeightArrayBufferBindingOes = ((int)0x889E) ,
+ ///
+ /// Original was GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES = 0x8B9E
+ ///
+ MatrixIndexArrayBufferBindingOes = ((int)0x8B9E) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesPackedDepthStencil : int
+ {
+ ///
+ /// Original was GL_DEPTH_STENCIL_OES = 0x84F9
+ ///
+ DepthStencilOes = ((int)0x84F9) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_24_8_OES = 0x84FA
+ ///
+ UnsignedInt248Oes = ((int)0x84FA) ,
+ ///
+ /// Original was GL_DEPTH24_STENCIL8_OES = 0x88F0
+ ///
+ Depth24Stencil8Oes = ((int)0x88F0) ,
+ }
+
+ ///
+ /// Used in GL.Oes.PointSizePointer
+ ///
+ public enum OesPointSizeArray : int
+ {
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A
+ ///
+ PointSizeArrayTypeOes = ((int)0x898A) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B
+ ///
+ PointSizeArrayStrideOes = ((int)0x898B) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C
+ ///
+ PointSizeArrayPointerOes = ((int)0x898C) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_OES = 0x8B9C
+ ///
+ PointSizeArrayOes = ((int)0x8B9C) ,
+ ///
+ /// Original was GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F
+ ///
+ PointSizeArrayBufferBindingOes = ((int)0x8B9F) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesPointSprite : int
+ {
+ ///
+ /// Original was GL_POINT_SPRITE_OES = 0x8861
+ ///
+ PointSpriteOes = ((int)0x8861) ,
+ ///
+ /// Original was GL_COORD_REPLACE_OES = 0x8862
+ ///
+ CoordReplaceOes = ((int)0x8862) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesQueryMatrix : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesReadFormat : int
+ {
+ ///
+ /// Original was GL_IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A
+ ///
+ ImplementationColorReadTypeOes = ((int)0x8B9A) ,
+ ///
+ /// Original was GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B
+ ///
+ ImplementationColorReadFormatOes = ((int)0x8B9B) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesRequiredInternalformat : int
+ {
+ ///
+ /// Original was GL_ALPHA8_OES = 0x803C
+ ///
+ Alpha8Oes = ((int)0x803C) ,
+ ///
+ /// Original was GL_LUMINANCE8_OES = 0x8040
+ ///
+ Luminance8Oes = ((int)0x8040) ,
+ ///
+ /// Original was GL_LUMINANCE4_ALPHA4_OES = 0x8043
+ ///
+ Luminance4Alpha4Oes = ((int)0x8043) ,
+ ///
+ /// Original was GL_LUMINANCE8_ALPHA8_OES = 0x8045
+ ///
+ Luminance8Alpha8Oes = ((int)0x8045) ,
+ ///
+ /// Original was GL_RGB8_OES = 0x8051
+ ///
+ Rgb8Oes = ((int)0x8051) ,
+ ///
+ /// Original was GL_RGB10_EXT = 0x8052
+ ///
+ Rgb10Ext = ((int)0x8052) ,
+ ///
+ /// Original was GL_RGBA4_OES = 0x8056
+ ///
+ Rgba4Oes = ((int)0x8056) ,
+ ///
+ /// Original was GL_RGB5_A1_OES = 0x8057
+ ///
+ Rgb5A1Oes = ((int)0x8057) ,
+ ///
+ /// Original was GL_RGBA8_OES = 0x8058
+ ///
+ Rgba8Oes = ((int)0x8058) ,
+ ///
+ /// Original was GL_RGB10_A2_EXT = 0x8059
+ ///
+ Rgb10A2Ext = ((int)0x8059) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT16_OES = 0x81A5
+ ///
+ DepthComponent16Oes = ((int)0x81A5) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT24_OES = 0x81A6
+ ///
+ DepthComponent24Oes = ((int)0x81A6) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT32_OES = 0x81A7
+ ///
+ DepthComponent32Oes = ((int)0x81A7) ,
+ ///
+ /// Original was GL_DEPTH24_STENCIL8_OES = 0x88F0
+ ///
+ Depth24Stencil8Oes = ((int)0x88F0) ,
+ ///
+ /// Original was GL_RGB565_OES = 0x8D62
+ ///
+ Rgb565Oes = ((int)0x8D62) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesRgb8Rgba8 : int
+ {
+ ///
+ /// Original was GL_RGB8_OES = 0x8051
+ ///
+ Rgb8Oes = ((int)0x8051) ,
+ ///
+ /// Original was GL_RGBA8_OES = 0x8058
+ ///
+ Rgba8Oes = ((int)0x8058) ,
+ }
+
+ ///
+ /// Used in GL.Oes.ClipPlane, GL.Oes.GetClipPlane
+ ///
+ public enum OesSinglePrecision : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesStencil1 : int
+ {
+ ///
+ /// Original was GL_STENCIL_INDEX1_OES = 0x8D46
+ ///
+ StencilIndex1Oes = ((int)0x8D46) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesStencil4 : int
+ {
+ ///
+ /// Original was GL_STENCIL_INDEX4_OES = 0x8D47
+ ///
+ StencilIndex4Oes = ((int)0x8D47) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesStencil8 : int
+ {
+ ///
+ /// Original was GL_STENCIL_INDEX8_OES = 0x8D48
+ ///
+ StencilIndex8Oes = ((int)0x8D48) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesStencilWrap : int
+ {
+ ///
+ /// Original was GL_INCR_WRAP_OES = 0x8507
+ ///
+ IncrWrapOes = ((int)0x8507) ,
+ ///
+ /// Original was GL_DECR_WRAP_OES = 0x8508
+ ///
+ DecrWrapOes = ((int)0x8508) ,
+ }
+
+ ///
+ /// Used in GL.Oes.GetTexGen, GL.Oes.TexGen
+ ///
+ public enum OesTextureCubeMap : int
+ {
+ ///
+ /// Original was GL_TEXTURE_GEN_MODE_OES = 0x2500
+ ///
+ TextureGenModeOes = ((int)0x2500) ,
+ ///
+ /// Original was GL_NORMAL_MAP_OES = 0x8511
+ ///
+ NormalMapOes = ((int)0x8511) ,
+ ///
+ /// Original was GL_REFLECTION_MAP_OES = 0x8512
+ ///
+ ReflectionMapOes = ((int)0x8512) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_OES = 0x8513
+ ///
+ TextureCubeMapOes = ((int)0x8513) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_CUBE_MAP_OES = 0x8514
+ ///
+ TextureBindingCubeMapOes = ((int)0x8514) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES = 0x8515
+ ///
+ TextureCubeMapPositiveXOes = ((int)0x8515) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES = 0x8516
+ ///
+ TextureCubeMapNegativeXOes = ((int)0x8516) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES = 0x8517
+ ///
+ TextureCubeMapPositiveYOes = ((int)0x8517) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES = 0x8518
+ ///
+ TextureCubeMapNegativeYOes = ((int)0x8518) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES = 0x8519
+ ///
+ TextureCubeMapPositiveZOes = ((int)0x8519) ,
+ ///
+ /// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES = 0x851A
+ ///
+ TextureCubeMapNegativeZOes = ((int)0x851A) ,
+ ///
+ /// Original was GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES = 0x851C
+ ///
+ MaxCubeMapTextureSizeOes = ((int)0x851C) ,
+ ///
+ /// Original was GL_TEXTURE_GEN_STR_OES = 0x8D60
+ ///
+ TextureGenStrOes = ((int)0x8D60) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesTextureEnvCrossbar : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesTextureMirroredRepeat : int
+ {
+ ///
+ /// Original was GL_MIRRORED_REPEAT_OES = 0x8370
+ ///
+ MirroredRepeatOes = ((int)0x8370) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum OesVertexArrayObject : int
+ {
+ ///
+ /// Original was GL_VERTEX_ARRAY_BINDING_OES = 0x85B5
+ ///
+ VertexArrayBindingOes = ((int)0x85B5) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelCopyType : int
+ {
+ ///
+ /// Original was GL_COLOR = 0x1800
+ ///
+ Color = ((int)0x1800) ,
+ ///
+ /// Original was GL_COLOR_EXT = 0x1800
+ ///
+ ColorExt = ((int)0x1800) ,
+ ///
+ /// Original was GL_DEPTH = 0x1801
+ ///
+ Depth = ((int)0x1801) ,
+ ///
+ /// Original was GL_DEPTH_EXT = 0x1801
+ ///
+ DepthExt = ((int)0x1801) ,
+ ///
+ /// Original was GL_STENCIL = 0x1802
+ ///
+ Stencil = ((int)0x1802) ,
+ ///
+ /// Original was GL_STENCIL_EXT = 0x1802
+ ///
+ StencilExt = ((int)0x1802) ,
+ }
+
+ ///
+ /// Used in GL.CompressedTexSubImage2D, GL.ReadPixels and 2 other functions
+ ///
+ public enum PixelFormat : int
+ {
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ ///
+ /// Original was GL_COLOR_INDEX = 0x1900
+ ///
+ ColorIndex = ((int)0x1900) ,
+ ///
+ /// Original was GL_STENCIL_INDEX = 0x1901
+ ///
+ StencilIndex = ((int)0x1901) ,
+ ///
+ /// Original was GL_DEPTH_COMPONENT = 0x1902
+ ///
+ DepthComponent = ((int)0x1902) ,
+ ///
+ /// Original was GL_RED = 0x1903
+ ///
+ Red = ((int)0x1903) ,
+ ///
+ /// Original was GL_RED_EXT = 0x1903
+ ///
+ RedExt = ((int)0x1903) ,
+ ///
+ /// Original was GL_GREEN = 0x1904
+ ///
+ Green = ((int)0x1904) ,
+ ///
+ /// Original was GL_BLUE = 0x1905
+ ///
+ Blue = ((int)0x1905) ,
+ ///
+ /// Original was GL_ALPHA = 0x1906
+ ///
+ Alpha = ((int)0x1906) ,
+ ///
+ /// Original was GL_RGB = 0x1907
+ ///
+ Rgb = ((int)0x1907) ,
+ ///
+ /// Original was GL_RGBA = 0x1908
+ ///
+ Rgba = ((int)0x1908) ,
+ ///
+ /// Original was GL_LUMINANCE = 0x1909
+ ///
+ Luminance = ((int)0x1909) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA = 0x190A
+ ///
+ LuminanceAlpha = ((int)0x190A) ,
+ ///
+ /// Original was GL_ABGR_EXT = 0x8000
+ ///
+ AbgrExt = ((int)0x8000) ,
+ ///
+ /// Original was GL_CMYK_EXT = 0x800C
+ ///
+ CmykExt = ((int)0x800C) ,
+ ///
+ /// Original was GL_CMYKA_EXT = 0x800D
+ ///
+ CmykaExt = ((int)0x800D) ,
+ ///
+ /// Original was GL_YCRCB_422_SGIX = 0x81BB
+ ///
+ Ycrcb422Sgix = ((int)0x81BB) ,
+ ///
+ /// Original was GL_YCRCB_444_SGIX = 0x81BC
+ ///
+ Ycrcb444Sgix = ((int)0x81BC) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelMap : int
+ {
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_I = 0x0C70
+ ///
+ PixelMapIToI = ((int)0x0C70) ,
+ ///
+ /// Original was GL_PIXEL_MAP_S_TO_S = 0x0C71
+ ///
+ PixelMapSToS = ((int)0x0C71) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_R = 0x0C72
+ ///
+ PixelMapIToR = ((int)0x0C72) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_G = 0x0C73
+ ///
+ PixelMapIToG = ((int)0x0C73) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_B = 0x0C74
+ ///
+ PixelMapIToB = ((int)0x0C74) ,
+ ///
+ /// Original was GL_PIXEL_MAP_I_TO_A = 0x0C75
+ ///
+ PixelMapIToA = ((int)0x0C75) ,
+ ///
+ /// Original was GL_PIXEL_MAP_R_TO_R = 0x0C76
+ ///
+ PixelMapRToR = ((int)0x0C76) ,
+ ///
+ /// Original was GL_PIXEL_MAP_G_TO_G = 0x0C77
+ ///
+ PixelMapGToG = ((int)0x0C77) ,
+ ///
+ /// Original was GL_PIXEL_MAP_B_TO_B = 0x0C78
+ ///
+ PixelMapBToB = ((int)0x0C78) ,
+ ///
+ /// Original was GL_PIXEL_MAP_A_TO_A = 0x0C79
+ ///
+ PixelMapAToA = ((int)0x0C79) ,
+ }
+
+ ///
+ /// Used in GL.PixelStore
+ ///
+ public enum PixelStoreParameter : int
+ {
+ ///
+ /// Original was GL_UNPACK_SWAP_BYTES = 0x0CF0
+ ///
+ UnpackSwapBytes = ((int)0x0CF0) ,
+ ///
+ /// Original was GL_UNPACK_LSB_FIRST = 0x0CF1
+ ///
+ UnpackLsbFirst = ((int)0x0CF1) ,
+ ///
+ /// Original was GL_UNPACK_ROW_LENGTH = 0x0CF2
+ ///
+ UnpackRowLength = ((int)0x0CF2) ,
+ ///
+ /// Original was GL_UNPACK_ROW_LENGTH_EXT = 0x0CF2
+ ///
+ UnpackRowLengthExt = ((int)0x0CF2) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_ROWS = 0x0CF3
+ ///
+ UnpackSkipRows = ((int)0x0CF3) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_ROWS_EXT = 0x0CF3
+ ///
+ UnpackSkipRowsExt = ((int)0x0CF3) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_PIXELS = 0x0CF4
+ ///
+ UnpackSkipPixels = ((int)0x0CF4) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_PIXELS_EXT = 0x0CF4
+ ///
+ UnpackSkipPixelsExt = ((int)0x0CF4) ,
+ ///
+ /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5
+ ///
+ UnpackAlignment = ((int)0x0CF5) ,
+ ///
+ /// Original was GL_PACK_SWAP_BYTES = 0x0D00
+ ///
+ PackSwapBytes = ((int)0x0D00) ,
+ ///
+ /// Original was GL_PACK_LSB_FIRST = 0x0D01
+ ///
+ PackLsbFirst = ((int)0x0D01) ,
+ ///
+ /// Original was GL_PACK_ROW_LENGTH = 0x0D02
+ ///
+ PackRowLength = ((int)0x0D02) ,
+ ///
+ /// Original was GL_PACK_SKIP_ROWS = 0x0D03
+ ///
+ PackSkipRows = ((int)0x0D03) ,
+ ///
+ /// Original was GL_PACK_SKIP_PIXELS = 0x0D04
+ ///
+ PackSkipPixels = ((int)0x0D04) ,
+ ///
+ /// Original was GL_PACK_ALIGNMENT = 0x0D05
+ ///
+ PackAlignment = ((int)0x0D05) ,
+ ///
+ /// Original was GL_PACK_SKIP_IMAGES = 0x806B
+ ///
+ PackSkipImages = ((int)0x806B) ,
+ ///
+ /// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B
+ ///
+ PackSkipImagesExt = ((int)0x806B) ,
+ ///
+ /// Original was GL_PACK_IMAGE_HEIGHT = 0x806C
+ ///
+ PackImageHeight = ((int)0x806C) ,
+ ///
+ /// Original was GL_PACK_IMAGE_HEIGHT_EXT = 0x806C
+ ///
+ PackImageHeightExt = ((int)0x806C) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_IMAGES = 0x806D
+ ///
+ UnpackSkipImages = ((int)0x806D) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_IMAGES_EXT = 0x806D
+ ///
+ UnpackSkipImagesExt = ((int)0x806D) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_HEIGHT = 0x806E
+ ///
+ UnpackImageHeight = ((int)0x806E) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E
+ ///
+ UnpackImageHeightExt = ((int)0x806E) ,
+ ///
+ /// Original was GL_PACK_SKIP_VOLUMES_SGIS = 0x8130
+ ///
+ PackSkipVolumesSgis = ((int)0x8130) ,
+ ///
+ /// Original was GL_PACK_IMAGE_DEPTH_SGIS = 0x8131
+ ///
+ PackImageDepthSgis = ((int)0x8131) ,
+ ///
+ /// Original was GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132
+ ///
+ UnpackSkipVolumesSgis = ((int)0x8132) ,
+ ///
+ /// Original was GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133
+ ///
+ UnpackImageDepthSgis = ((int)0x8133) ,
+ ///
+ /// Original was GL_PIXEL_TILE_WIDTH_SGIX = 0x8140
+ ///
+ PixelTileWidthSgix = ((int)0x8140) ,
+ ///
+ /// Original was GL_PIXEL_TILE_HEIGHT_SGIX = 0x8141
+ ///
+ PixelTileHeightSgix = ((int)0x8141) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_WIDTH_SGIX = 0x8142
+ ///
+ PixelTileGridWidthSgix = ((int)0x8142) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_HEIGHT_SGIX = 0x8143
+ ///
+ PixelTileGridHeightSgix = ((int)0x8143) ,
+ ///
+ /// Original was GL_PIXEL_TILE_GRID_DEPTH_SGIX = 0x8144
+ ///
+ PixelTileGridDepthSgix = ((int)0x8144) ,
+ ///
+ /// Original was GL_PIXEL_TILE_CACHE_SIZE_SGIX = 0x8145
+ ///
+ PixelTileCacheSizeSgix = ((int)0x8145) ,
+ ///
+ /// Original was GL_PACK_RESAMPLE_SGIX = 0x842C
+ ///
+ PackResampleSgix = ((int)0x842C) ,
+ ///
+ /// Original was GL_UNPACK_RESAMPLE_SGIX = 0x842D
+ ///
+ UnpackResampleSgix = ((int)0x842D) ,
+ ///
+ /// Original was GL_PACK_SUBSAMPLE_RATE_SGIX = 0x85A0
+ ///
+ PackSubsampleRateSgix = ((int)0x85A0) ,
+ ///
+ /// Original was GL_UNPACK_SUBSAMPLE_RATE_SGIX = 0x85A1
+ ///
+ UnpackSubsampleRateSgix = ((int)0x85A1) ,
+ ///
+ /// Original was GL_PACK_RESAMPLE_OML = 0x8984
+ ///
+ PackResampleOml = ((int)0x8984) ,
+ ///
+ /// Original was GL_UNPACK_RESAMPLE_OML = 0x8985
+ ///
+ UnpackResampleOml = ((int)0x8985) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelStoreResampleMode : int
+ {
+ ///
+ /// Original was GL_RESAMPLE_REPLICATE_SGIX = 0x842E
+ ///
+ ResampleReplicateSgix = ((int)0x842E) ,
+ ///
+ /// Original was GL_RESAMPLE_ZERO_FILL_SGIX = 0x842F
+ ///
+ ResampleZeroFillSgix = ((int)0x842F) ,
+ ///
+ /// Original was GL_RESAMPLE_DECIMATE_SGIX = 0x8430
+ ///
+ ResampleDecimateSgix = ((int)0x8430) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelStoreSubsampleRate : int
+ {
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_4444_SGIX = 0x85A2
+ ///
+ PixelSubsample4444Sgix = ((int)0x85A2) ,
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_2424_SGIX = 0x85A3
+ ///
+ PixelSubsample2424Sgix = ((int)0x85A3) ,
+ ///
+ /// Original was GL_PIXEL_SUBSAMPLE_4242_SGIX = 0x85A4
+ ///
+ PixelSubsample4242Sgix = ((int)0x85A4) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelTexGenMode : int
+ {
+ ///
+ /// Original was GL_NONE = 0
+ ///
+ None = ((int)0) ,
+ ///
+ /// Original was GL_RGB = 0x1907
+ ///
+ Rgb = ((int)0x1907) ,
+ ///
+ /// Original was GL_RGBA = 0x1908
+ ///
+ Rgba = ((int)0x1908) ,
+ ///
+ /// Original was GL_LUMINANCE = 0x1909
+ ///
+ Luminance = ((int)0x1909) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA = 0x190A
+ ///
+ LuminanceAlpha = ((int)0x190A) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = 0x8187
+ ///
+ PixelTexGenAlphaReplaceSgix = ((int)0x8187) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = 0x8188
+ ///
+ PixelTexGenAlphaNoReplaceSgix = ((int)0x8188) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX = 0x8189
+ ///
+ PixelTexGenAlphaLsSgix = ((int)0x8189) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX = 0x818A
+ ///
+ PixelTexGenAlphaMsSgix = ((int)0x818A) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelTexGenParameterNameSgis : int
+ {
+ ///
+ /// Original was GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x8354
+ ///
+ PixelFragmentRgbSourceSgis = ((int)0x8354) ,
+ ///
+ /// Original was GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x8355
+ ///
+ PixelFragmentAlphaSourceSgis = ((int)0x8355) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PixelTransferParameter : int
+ {
+ ///
+ /// Original was GL_MAP_COLOR = 0x0D10
+ ///
+ MapColor = ((int)0x0D10) ,
+ ///
+ /// Original was GL_MAP_STENCIL = 0x0D11
+ ///
+ MapStencil = ((int)0x0D11) ,
+ ///
+ /// Original was GL_INDEX_SHIFT = 0x0D12
+ ///
+ IndexShift = ((int)0x0D12) ,
+ ///
+ /// Original was GL_INDEX_OFFSET = 0x0D13
+ ///
+ IndexOffset = ((int)0x0D13) ,
+ ///
+ /// Original was GL_RED_SCALE = 0x0D14
+ ///
+ RedScale = ((int)0x0D14) ,
+ ///
+ /// Original was GL_RED_BIAS = 0x0D15
+ ///
+ RedBias = ((int)0x0D15) ,
+ ///
+ /// Original was GL_GREEN_SCALE = 0x0D18
+ ///
+ GreenScale = ((int)0x0D18) ,
+ ///
+ /// Original was GL_GREEN_BIAS = 0x0D19
+ ///
+ GreenBias = ((int)0x0D19) ,
+ ///
+ /// Original was GL_BLUE_SCALE = 0x0D1A
+ ///
+ BlueScale = ((int)0x0D1A) ,
+ ///
+ /// Original was GL_BLUE_BIAS = 0x0D1B
+ ///
+ BlueBias = ((int)0x0D1B) ,
+ ///
+ /// Original was GL_ALPHA_SCALE = 0x0D1C
+ ///
+ AlphaScale = ((int)0x0D1C) ,
+ ///
+ /// Original was GL_ALPHA_BIAS = 0x0D1D
+ ///
+ AlphaBias = ((int)0x0D1D) ,
+ ///
+ /// Original was GL_DEPTH_SCALE = 0x0D1E
+ ///
+ DepthScale = ((int)0x0D1E) ,
+ ///
+ /// Original was GL_DEPTH_BIAS = 0x0D1F
+ ///
+ DepthBias = ((int)0x0D1F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_SCALE = 0x801C
+ ///
+ PostConvolutionRedScale = ((int)0x801C) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C
+ ///
+ PostConvolutionRedScaleExt = ((int)0x801C) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D
+ ///
+ PostConvolutionGreenScale = ((int)0x801D) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D
+ ///
+ PostConvolutionGreenScaleExt = ((int)0x801D) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E
+ ///
+ PostConvolutionBlueScale = ((int)0x801E) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E
+ ///
+ PostConvolutionBlueScaleExt = ((int)0x801E) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F
+ ///
+ PostConvolutionAlphaScale = ((int)0x801F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F
+ ///
+ PostConvolutionAlphaScaleExt = ((int)0x801F) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_BIAS = 0x8020
+ ///
+ PostConvolutionRedBias = ((int)0x8020) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020
+ ///
+ PostConvolutionRedBiasExt = ((int)0x8020) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021
+ ///
+ PostConvolutionGreenBias = ((int)0x8021) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021
+ ///
+ PostConvolutionGreenBiasExt = ((int)0x8021) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022
+ ///
+ PostConvolutionBlueBias = ((int)0x8022) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022
+ ///
+ PostConvolutionBlueBiasExt = ((int)0x8022) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023
+ ///
+ PostConvolutionAlphaBias = ((int)0x8023) ,
+ ///
+ /// Original was GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023
+ ///
+ PostConvolutionAlphaBiasExt = ((int)0x8023) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4
+ ///
+ PostColorMatrixRedScale = ((int)0x80B4) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4
+ ///
+ PostColorMatrixRedScaleSgi = ((int)0x80B4) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5
+ ///
+ PostColorMatrixGreenScale = ((int)0x80B5) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5
+ ///
+ PostColorMatrixGreenScaleSgi = ((int)0x80B5) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6
+ ///
+ PostColorMatrixBlueScale = ((int)0x80B6) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6
+ ///
+ PostColorMatrixBlueScaleSgi = ((int)0x80B6) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7
+ ///
+ PostColorMatrixAlphaScale = ((int)0x80B7) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7
+ ///
+ PostColorMatrixAlphaScaleSgi = ((int)0x80B7) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8
+ ///
+ PostColorMatrixRedBias = ((int)0x80B8) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8
+ ///
+ PostColorMatrixRedBiasSgi = ((int)0x80B8) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9
+ ///
+ PostColorMatrixGreenBias = ((int)0x80B9) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9
+ ///
+ PostColorMatrixGreenBiasSgi = ((int)0x80B9) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA
+ ///
+ PostColorMatrixBlueBias = ((int)0x80BA) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA
+ ///
+ PostColorMatrixBlueBiasSgi = ((int)0x80BA) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB
+ ///
+ PostColorMatrixAlphaBias = ((int)0x80BB) ,
+ ///
+ /// Original was GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB
+ ///
+ PostColorMatrixAlphaBiasSgi = ((int)0x80BB) ,
+ }
+
+ ///
+ /// Used in GL.ReadPixels, GL.TexImage2D and 1 other function
+ ///
+ public enum PixelType : int
+ {
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE = 0x1401
+ ///
+ UnsignedByte = ((int)0x1401) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_UNSIGNED_INT = 0x1405
+ ///
+ UnsignedInt = ((int)0x1405) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_BITMAP = 0x1A00
+ ///
+ Bitmap = ((int)0x1A00) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE_3_3_2 = 0x8032
+ ///
+ UnsignedByte332 = ((int)0x8032) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032
+ ///
+ UnsignedByte332Ext = ((int)0x8032) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
+ ///
+ UnsignedShort4444 = ((int)0x8033) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033
+ ///
+ UnsignedShort4444Ext = ((int)0x8033) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
+ ///
+ UnsignedShort5551 = ((int)0x8034) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034
+ ///
+ UnsignedShort5551Ext = ((int)0x8034) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_8_8_8_8 = 0x8035
+ ///
+ UnsignedInt8888 = ((int)0x8035) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035
+ ///
+ UnsignedInt8888Ext = ((int)0x8035) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_10_10_10_2 = 0x8036
+ ///
+ UnsignedInt1010102 = ((int)0x8036) ,
+ ///
+ /// Original was GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036
+ ///
+ UnsignedInt1010102Ext = ((int)0x8036) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PointParameterNameSgis : int
+ {
+ ///
+ /// Original was GL_POINT_SIZE_MIN = 0x8126
+ ///
+ PointSizeMin = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_ARB = 0x8126
+ ///
+ PointSizeMinArb = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_EXT = 0x8126
+ ///
+ PointSizeMinExt = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN_SGIS = 0x8126
+ ///
+ PointSizeMinSgis = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX = 0x8127
+ ///
+ PointSizeMax = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_ARB = 0x8127
+ ///
+ PointSizeMaxArb = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_EXT = 0x8127
+ ///
+ PointSizeMaxExt = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX_SGIS = 0x8127
+ ///
+ PointSizeMaxSgis = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128
+ ///
+ PointFadeThresholdSize = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128
+ ///
+ PointFadeThresholdSizeArb = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128
+ ///
+ PointFadeThresholdSizeExt = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE_SGIS = 0x8128
+ ///
+ PointFadeThresholdSizeSgis = ((int)0x8128) ,
+ ///
+ /// Original was GL_DISTANCE_ATTENUATION_EXT = 0x8129
+ ///
+ DistanceAttenuationExt = ((int)0x8129) ,
+ ///
+ /// Original was GL_DISTANCE_ATTENUATION_SGIS = 0x8129
+ ///
+ DistanceAttenuationSgis = ((int)0x8129) ,
+ ///
+ /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129
+ ///
+ PointDistanceAttenuation = ((int)0x8129) ,
+ ///
+ /// Original was GL_POINT_DISTANCE_ATTENUATION_ARB = 0x8129
+ ///
+ PointDistanceAttenuationArb = ((int)0x8129) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum PolygonMode : int
+ {
+ ///
+ /// Original was GL_POINT = 0x1B00
+ ///
+ Point = ((int)0x1B00) ,
+ ///
+ /// Original was GL_LINE = 0x1B01
+ ///
+ Line = ((int)0x1B01) ,
+ ///
+ /// Original was GL_FILL = 0x1B02
+ ///
+ Fill = ((int)0x1B02) ,
+ }
+
+ ///
+ /// Used in GL.DrawArrays, GL.DrawElements and 2 other functions
+ ///
+ public enum PrimitiveType : int
+ {
+ ///
+ /// Original was GL_POINTS = 0x0000
+ ///
+ Points = ((int)0x0000) ,
+ ///
+ /// Original was GL_LINES = 0x0001
+ ///
+ Lines = ((int)0x0001) ,
+ ///
+ /// Original was GL_LINE_LOOP = 0x0002
+ ///
+ LineLoop = ((int)0x0002) ,
+ ///
+ /// Original was GL_LINE_STRIP = 0x0003
+ ///
+ LineStrip = ((int)0x0003) ,
+ ///
+ /// Original was GL_TRIANGLES = 0x0004
+ ///
+ Triangles = ((int)0x0004) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP = 0x0005
+ ///
+ TriangleStrip = ((int)0x0005) ,
+ ///
+ /// Original was GL_TRIANGLE_FAN = 0x0006
+ ///
+ TriangleFan = ((int)0x0006) ,
+ ///
+ /// Original was GL_QUADS = 0x0007
+ ///
+ Quads = ((int)0x0007) ,
+ ///
+ /// Original was GL_QUAD_STRIP = 0x0008
+ ///
+ QuadStrip = ((int)0x0008) ,
+ ///
+ /// Original was GL_POLYGON = 0x0009
+ ///
+ Polygon = ((int)0x0009) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY = 0x000A
+ ///
+ LinesAdjacency = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY_ARB = 0x000A
+ ///
+ LinesAdjacencyArb = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINES_ADJACENCY_EXT = 0x000A
+ ///
+ LinesAdjacencyExt = ((int)0x000A) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY = 0x000B
+ ///
+ LineStripAdjacency = ((int)0x000B) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY_ARB = 0x000B
+ ///
+ LineStripAdjacencyArb = ((int)0x000B) ,
+ ///
+ /// Original was GL_LINE_STRIP_ADJACENCY_EXT = 0x000B
+ ///
+ LineStripAdjacencyExt = ((int)0x000B) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY = 0x000C
+ ///
+ TrianglesAdjacency = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY_ARB = 0x000C
+ ///
+ TrianglesAdjacencyArb = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLES_ADJACENCY_EXT = 0x000C
+ ///
+ TrianglesAdjacencyExt = ((int)0x000C) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D
+ ///
+ TriangleStripAdjacency = ((int)0x000D) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY_ARB = 0x000D
+ ///
+ TriangleStripAdjacencyArb = ((int)0x000D) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D
+ ///
+ TriangleStripAdjacencyExt = ((int)0x000D) ,
+ ///
+ /// Original was GL_PATCHES = 0x000E
+ ///
+ Patches = ((int)0x000E) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum QcomDriverControl : int
+ {
+ }
+
+ ///
+ /// Used in GL.Qcom.ExtGetBufferPointer, GL.Qcom.ExtGetTexLevelParameter and 2 other functions
+ ///
+ public enum QcomExtendedGet : int
+ {
+ ///
+ /// Original was GL_TEXTURE_WIDTH_QCOM = 0x8BD2
+ ///
+ TextureWidthQcom = ((int)0x8BD2) ,
+ ///
+ /// Original was GL_TEXTURE_HEIGHT_QCOM = 0x8BD3
+ ///
+ TextureHeightQcom = ((int)0x8BD3) ,
+ ///
+ /// Original was GL_TEXTURE_DEPTH_QCOM = 0x8BD4
+ ///
+ TextureDepthQcom = ((int)0x8BD4) ,
+ ///
+ /// Original was GL_TEXTURE_INTERNAL_FORMAT_QCOM = 0x8BD5
+ ///
+ TextureInternalFormatQcom = ((int)0x8BD5) ,
+ ///
+ /// Original was GL_TEXTURE_FORMAT_QCOM = 0x8BD6
+ ///
+ TextureFormatQcom = ((int)0x8BD6) ,
+ ///
+ /// Original was GL_TEXTURE_TYPE_QCOM = 0x8BD7
+ ///
+ TextureTypeQcom = ((int)0x8BD7) ,
+ ///
+ /// Original was GL_TEXTURE_IMAGE_VALID_QCOM = 0x8BD8
+ ///
+ TextureImageValidQcom = ((int)0x8BD8) ,
+ ///
+ /// Original was GL_TEXTURE_NUM_LEVELS_QCOM = 0x8BD9
+ ///
+ TextureNumLevelsQcom = ((int)0x8BD9) ,
+ ///
+ /// Original was GL_TEXTURE_TARGET_QCOM = 0x8BDA
+ ///
+ TextureTargetQcom = ((int)0x8BDA) ,
+ ///
+ /// Original was GL_TEXTURE_OBJECT_VALID_QCOM = 0x8BDB
+ ///
+ TextureObjectValidQcom = ((int)0x8BDB) ,
+ ///
+ /// Original was GL_STATE_RESTORE = 0x8BDC
+ ///
+ StateRestore = ((int)0x8BDC) ,
+ }
+
+ ///
+ /// Used in GL.Qcom.ExtGetProgramBinarySource
+ ///
+ public enum QcomExtendedGet2 : int
+ {
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum QcomPerfmonGlobalMode : int
+ {
+ ///
+ /// Original was GL_PERFMON_GLOBAL_MODE_QCOM = 0x8FA0
+ ///
+ PerfmonGlobalModeQcom = ((int)0x8FA0) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum QcomTiledRendering : int
+ {
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT0_QCOM = 0x00000001
+ ///
+ ColorBufferBit0Qcom = ((int)0x00000001) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT1_QCOM = 0x00000002
+ ///
+ ColorBufferBit1Qcom = ((int)0x00000002) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004
+ ///
+ ColorBufferBit2Qcom = ((int)0x00000004) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT3_QCOM = 0x00000008
+ ///
+ ColorBufferBit3Qcom = ((int)0x00000008) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT4_QCOM = 0x00000010
+ ///
+ ColorBufferBit4Qcom = ((int)0x00000010) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT5_QCOM = 0x00000020
+ ///
+ ColorBufferBit5Qcom = ((int)0x00000020) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT6_QCOM = 0x00000040
+ ///
+ ColorBufferBit6Qcom = ((int)0x00000040) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT7_QCOM = 0x00000080
+ ///
+ ColorBufferBit7Qcom = ((int)0x00000080) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT0_QCOM = 0x00000100
+ ///
+ DepthBufferBit0Qcom = ((int)0x00000100) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT1_QCOM = 0x00000200
+ ///
+ DepthBufferBit1Qcom = ((int)0x00000200) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT2_QCOM = 0x00000400
+ ///
+ DepthBufferBit2Qcom = ((int)0x00000400) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT3_QCOM = 0x00000800
+ ///
+ DepthBufferBit3Qcom = ((int)0x00000800) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT4_QCOM = 0x00001000
+ ///
+ DepthBufferBit4Qcom = ((int)0x00001000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT5_QCOM = 0x00002000
+ ///
+ DepthBufferBit5Qcom = ((int)0x00002000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT6_QCOM = 0x00004000
+ ///
+ DepthBufferBit6Qcom = ((int)0x00004000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT7_QCOM = 0x00008000
+ ///
+ DepthBufferBit7Qcom = ((int)0x00008000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT0_QCOM = 0x00010000
+ ///
+ StencilBufferBit0Qcom = ((int)0x00010000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT1_QCOM = 0x00020000
+ ///
+ StencilBufferBit1Qcom = ((int)0x00020000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT2_QCOM = 0x00040000
+ ///
+ StencilBufferBit2Qcom = ((int)0x00040000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT3_QCOM = 0x00080000
+ ///
+ StencilBufferBit3Qcom = ((int)0x00080000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT4_QCOM = 0x00100000
+ ///
+ StencilBufferBit4Qcom = ((int)0x00100000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT5_QCOM = 0x00200000
+ ///
+ StencilBufferBit5Qcom = ((int)0x00200000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT6_QCOM = 0x00400000
+ ///
+ StencilBufferBit6Qcom = ((int)0x00400000) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT7_QCOM = 0x00800000
+ ///
+ StencilBufferBit7Qcom = ((int)0x00800000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT0_QCOM = 0x01000000
+ ///
+ MultisampleBufferBit0Qcom = ((int)0x01000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT1_QCOM = 0x02000000
+ ///
+ MultisampleBufferBit1Qcom = ((int)0x02000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT2_QCOM = 0x04000000
+ ///
+ MultisampleBufferBit2Qcom = ((int)0x04000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT3_QCOM = 0x08000000
+ ///
+ MultisampleBufferBit3Qcom = ((int)0x08000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT4_QCOM = 0x10000000
+ ///
+ MultisampleBufferBit4Qcom = ((int)0x10000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT5_QCOM = 0x20000000
+ ///
+ MultisampleBufferBit5Qcom = ((int)0x20000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT6_QCOM = 0x40000000
+ ///
+ MultisampleBufferBit6Qcom = ((int)0x40000000) ,
+ ///
+ /// Original was GL_MULTISAMPLE_BUFFER_BIT7_QCOM = 0x80000000
+ ///
+ MultisampleBufferBit7Qcom = unchecked((int)0x80000000) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum QcomWriteonlyRendering : int
+ {
+ ///
+ /// Original was GL_WRITEONLY_RENDERING_QCOM = 0x8823
+ ///
+ WriteonlyRenderingQcom = ((int)0x8823) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum ReadBufferMode : int
+ {
+ ///
+ /// Original was GL_FRONT_LEFT = 0x0400
+ ///
+ FrontLeft = ((int)0x0400) ,
+ ///
+ /// Original was GL_FRONT_RIGHT = 0x0401
+ ///
+ FrontRight = ((int)0x0401) ,
+ ///
+ /// Original was GL_BACK_LEFT = 0x0402
+ ///
+ BackLeft = ((int)0x0402) ,
+ ///
+ /// Original was GL_BACK_RIGHT = 0x0403
+ ///
+ BackRight = ((int)0x0403) ,
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_LEFT = 0x0406
+ ///
+ Left = ((int)0x0406) ,
+ ///
+ /// Original was GL_RIGHT = 0x0407
+ ///
+ Right = ((int)0x0407) ,
+ ///
+ /// Original was GL_AUX0 = 0x0409
+ ///
+ Aux0 = ((int)0x0409) ,
+ ///
+ /// Original was GL_AUX1 = 0x040A
+ ///
+ Aux1 = ((int)0x040A) ,
+ ///
+ /// Original was GL_AUX2 = 0x040B
+ ///
+ Aux2 = ((int)0x040B) ,
+ ///
+ /// Original was GL_AUX3 = 0x040C
+ ///
+ Aux3 = ((int)0x040C) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum RenderingMode : int
+ {
+ ///
+ /// Original was GL_RENDER = 0x1C00
+ ///
+ Render = ((int)0x1C00) ,
+ ///
+ /// Original was GL_FEEDBACK = 0x1C01
+ ///
+ Feedback = ((int)0x1C01) ,
+ ///
+ /// Original was GL_SELECT = 0x1C02
+ ///
+ Select = ((int)0x1C02) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum SamplePatternSgis : int
+ {
+ ///
+ /// Original was GL_1PASS_EXT = 0x80A1
+ ///
+ Gl1PassExt = ((int)0x80A1) ,
+ ///
+ /// Original was GL_1PASS_SGIS = 0x80A1
+ ///
+ Gl1PassSgis = ((int)0x80A1) ,
+ ///
+ /// Original was GL_2PASS_0_EXT = 0x80A2
+ ///
+ Gl2Pass0Ext = ((int)0x80A2) ,
+ ///
+ /// Original was GL_2PASS_0_SGIS = 0x80A2
+ ///
+ Gl2Pass0Sgis = ((int)0x80A2) ,
+ ///
+ /// Original was GL_2PASS_1_EXT = 0x80A3
+ ///
+ Gl2Pass1Ext = ((int)0x80A3) ,
+ ///
+ /// Original was GL_2PASS_1_SGIS = 0x80A3
+ ///
+ Gl2Pass1Sgis = ((int)0x80A3) ,
+ ///
+ /// Original was GL_4PASS_0_EXT = 0x80A4
+ ///
+ Gl4Pass0Ext = ((int)0x80A4) ,
+ ///
+ /// Original was GL_4PASS_0_SGIS = 0x80A4
+ ///
+ Gl4Pass0Sgis = ((int)0x80A4) ,
+ ///
+ /// Original was GL_4PASS_1_EXT = 0x80A5
+ ///
+ Gl4Pass1Ext = ((int)0x80A5) ,
+ ///
+ /// Original was GL_4PASS_1_SGIS = 0x80A5
+ ///
+ Gl4Pass1Sgis = ((int)0x80A5) ,
+ ///
+ /// Original was GL_4PASS_2_EXT = 0x80A6
+ ///
+ Gl4Pass2Ext = ((int)0x80A6) ,
+ ///
+ /// Original was GL_4PASS_2_SGIS = 0x80A6
+ ///
+ Gl4Pass2Sgis = ((int)0x80A6) ,
+ ///
+ /// Original was GL_4PASS_3_EXT = 0x80A7
+ ///
+ Gl4Pass3Ext = ((int)0x80A7) ,
+ ///
+ /// Original was GL_4PASS_3_SGIS = 0x80A7
+ ///
+ Gl4Pass3Sgis = ((int)0x80A7) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum SeparableTargetExt : int
+ {
+ ///
+ /// Original was GL_SEPARABLE_2D = 0x8012
+ ///
+ Separable2D = ((int)0x8012) ,
+ ///
+ /// Original was GL_SEPARABLE_2D_EXT = 0x8012
+ ///
+ Separable2DExt = ((int)0x8012) ,
+ }
+
+ ///
+ /// Used in GL.ShadeModel
+ ///
+ public enum ShadingModel : int
+ {
+ ///
+ /// Original was GL_FLAT = 0x1D00
+ ///
+ Flat = ((int)0x1D00) ,
+ ///
+ /// Original was GL_SMOOTH = 0x1D01
+ ///
+ Smooth = ((int)0x1D01) ,
+ }
+
+ ///
+ /// Used in GL.StencilFunc
+ ///
+ public enum StencilFunction : int
+ {
+ ///
+ /// Original was GL_NEVER = 0x0200
+ ///
+ Never = ((int)0x0200) ,
+ ///
+ /// Original was GL_LESS = 0x0201
+ ///
+ Less = ((int)0x0201) ,
+ ///
+ /// Original was GL_EQUAL = 0x0202
+ ///
+ Equal = ((int)0x0202) ,
+ ///
+ /// Original was GL_LEQUAL = 0x0203
+ ///
+ Lequal = ((int)0x0203) ,
+ ///
+ /// Original was GL_GREATER = 0x0204
+ ///
+ Greater = ((int)0x0204) ,
+ ///
+ /// Original was GL_NOTEQUAL = 0x0205
+ ///
+ Notequal = ((int)0x0205) ,
+ ///
+ /// Original was GL_GEQUAL = 0x0206
+ ///
+ Gequal = ((int)0x0206) ,
+ ///
+ /// Original was GL_ALWAYS = 0x0207
+ ///
+ Always = ((int)0x0207) ,
+ }
+
+ ///
+ /// Used in GL.StencilOp
+ ///
+ public enum StencilOp : int
+ {
+ ///
+ /// Original was GL_ZERO = 0
+ ///
+ Zero = ((int)0) ,
+ ///
+ /// Original was GL_INVERT = 0x150A
+ ///
+ Invert = ((int)0x150A) ,
+ ///
+ /// Original was GL_KEEP = 0x1E00
+ ///
+ Keep = ((int)0x1E00) ,
+ ///
+ /// Original was GL_REPLACE = 0x1E01
+ ///
+ Replace = ((int)0x1E01) ,
+ ///
+ /// Original was GL_INCR = 0x1E02
+ ///
+ Incr = ((int)0x1E02) ,
+ ///
+ /// Original was GL_DECR = 0x1E03
+ ///
+ Decr = ((int)0x1E03) ,
+ }
+
+ ///
+ /// Used in GL.GetString
+ ///
+ public enum StringName : int
+ {
+ ///
+ /// Original was GL_VENDOR = 0x1F00
+ ///
+ Vendor = ((int)0x1F00) ,
+ ///
+ /// Original was GL_RENDERER = 0x1F01
+ ///
+ Renderer = ((int)0x1F01) ,
+ ///
+ /// Original was GL_VERSION = 0x1F02
+ ///
+ Version = ((int)0x1F02) ,
+ ///
+ /// Original was GL_EXTENSIONS = 0x1F03
+ ///
+ Extensions = ((int)0x1F03) ,
+ }
+
+ ///
+ /// Used in GL.TexCoordPointer
+ ///
+ public enum TexCoordPointerType : int
+ {
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureCoordName : int
+ {
+ ///
+ /// Original was GL_S = 0x2000
+ ///
+ S = ((int)0x2000) ,
+ ///
+ /// Original was GL_T = 0x2001
+ ///
+ T = ((int)0x2001) ,
+ ///
+ /// Original was GL_R = 0x2002
+ ///
+ R = ((int)0x2002) ,
+ ///
+ /// Original was GL_Q = 0x2003
+ ///
+ Q = ((int)0x2003) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureEnvMode : int
+ {
+ ///
+ /// Original was GL_ADD = 0x0104
+ ///
+ Add = ((int)0x0104) ,
+ ///
+ /// Original was GL_BLEND = 0x0BE2
+ ///
+ Blend = ((int)0x0BE2) ,
+ ///
+ /// Original was GL_MODULATE = 0x2100
+ ///
+ Modulate = ((int)0x2100) ,
+ ///
+ /// Original was GL_DECAL = 0x2101
+ ///
+ Decal = ((int)0x2101) ,
+ ///
+ /// Original was GL_REPLACE_EXT = 0x8062
+ ///
+ ReplaceExt = ((int)0x8062) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE
+ ///
+ TextureEnvBiasSgix = ((int)0x80BE) ,
+ }
+
+ ///
+ /// Used in GL.GetTexEnv, GL.TexEnv
+ ///
+ public enum TextureEnvParameter : int
+ {
+ ///
+ /// Original was GL_TEXTURE_ENV_MODE = 0x2200
+ ///
+ TextureEnvMode = ((int)0x2200) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_COLOR = 0x2201
+ ///
+ TextureEnvColor = ((int)0x2201) ,
+ }
+
+ ///
+ /// Used in GL.GetTexEnv, GL.TexEnv
+ ///
+ public enum TextureEnvTarget : int
+ {
+ ///
+ /// Original was GL_TEXTURE_ENV = 0x2300
+ ///
+ TextureEnv = ((int)0x2300) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureFilterFuncSgis : int
+ {
+ ///
+ /// Original was GL_FILTER4_SGIS = 0x8146
+ ///
+ Filter4Sgis = ((int)0x8146) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureGenMode : int
+ {
+ ///
+ /// Original was GL_EYE_LINEAR = 0x2400
+ ///
+ EyeLinear = ((int)0x2400) ,
+ ///
+ /// Original was GL_OBJECT_LINEAR = 0x2401
+ ///
+ ObjectLinear = ((int)0x2401) ,
+ ///
+ /// Original was GL_SPHERE_MAP = 0x2402
+ ///
+ SphereMap = ((int)0x2402) ,
+ ///
+ /// Original was GL_EYE_DISTANCE_TO_POINT_SGIS = 0x81F0
+ ///
+ EyeDistanceToPointSgis = ((int)0x81F0) ,
+ ///
+ /// Original was GL_OBJECT_DISTANCE_TO_POINT_SGIS = 0x81F1
+ ///
+ ObjectDistanceToPointSgis = ((int)0x81F1) ,
+ ///
+ /// Original was GL_EYE_DISTANCE_TO_LINE_SGIS = 0x81F2
+ ///
+ EyeDistanceToLineSgis = ((int)0x81F2) ,
+ ///
+ /// Original was GL_OBJECT_DISTANCE_TO_LINE_SGIS = 0x81F3
+ ///
+ ObjectDistanceToLineSgis = ((int)0x81F3) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureGenParameter : int
+ {
+ ///
+ /// Original was GL_TEXTURE_GEN_MODE = 0x2500
+ ///
+ TextureGenMode = ((int)0x2500) ,
+ ///
+ /// Original was GL_OBJECT_PLANE = 0x2501
+ ///
+ ObjectPlane = ((int)0x2501) ,
+ ///
+ /// Original was GL_EYE_PLANE = 0x2502
+ ///
+ EyePlane = ((int)0x2502) ,
+ ///
+ /// Original was GL_EYE_POINT_SGIS = 0x81F4
+ ///
+ EyePointSgis = ((int)0x81F4) ,
+ ///
+ /// Original was GL_OBJECT_POINT_SGIS = 0x81F5
+ ///
+ ObjectPointSgis = ((int)0x81F5) ,
+ ///
+ /// Original was GL_EYE_LINE_SGIS = 0x81F6
+ ///
+ EyeLineSgis = ((int)0x81F6) ,
+ ///
+ /// Original was GL_OBJECT_LINE_SGIS = 0x81F7
+ ///
+ ObjectLineSgis = ((int)0x81F7) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureMagFilter : int
+ {
+ ///
+ /// Original was GL_NEAREST = 0x2600
+ ///
+ Nearest = ((int)0x2600) ,
+ ///
+ /// Original was GL_LINEAR = 0x2601
+ ///
+ Linear = ((int)0x2601) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_SGIS = 0x8097
+ ///
+ LinearDetailSgis = ((int)0x8097) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098
+ ///
+ LinearDetailAlphaSgis = ((int)0x8098) ,
+ ///
+ /// Original was GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099
+ ///
+ LinearDetailColorSgis = ((int)0x8099) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_SGIS = 0x80AD
+ ///
+ LinearSharpenSgis = ((int)0x80AD) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE
+ ///
+ LinearSharpenAlphaSgis = ((int)0x80AE) ,
+ ///
+ /// Original was GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF
+ ///
+ LinearSharpenColorSgis = ((int)0x80AF) ,
+ ///
+ /// Original was GL_FILTER4_SGIS = 0x8146
+ ///
+ Filter4Sgis = ((int)0x8146) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184
+ ///
+ PixelTexGenQCeilingSgix = ((int)0x8184) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185
+ ///
+ PixelTexGenQRoundSgix = ((int)0x8185) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186
+ ///
+ PixelTexGenQFloorSgix = ((int)0x8186) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureMinFilter : int
+ {
+ ///
+ /// Original was GL_NEAREST = 0x2600
+ ///
+ Nearest = ((int)0x2600) ,
+ ///
+ /// Original was GL_LINEAR = 0x2601
+ ///
+ Linear = ((int)0x2601) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700
+ ///
+ NearestMipmapNearest = ((int)0x2700) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701
+ ///
+ LinearMipmapNearest = ((int)0x2701) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702
+ ///
+ NearestMipmapLinear = ((int)0x2702) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703
+ ///
+ LinearMipmapLinear = ((int)0x2703) ,
+ ///
+ /// Original was GL_FILTER4_SGIS = 0x8146
+ ///
+ Filter4Sgis = ((int)0x8146) ,
+ ///
+ /// Original was GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170
+ ///
+ LinearClipmapLinearSgix = ((int)0x8170) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_CEILING_SGIX = 0x8184
+ ///
+ PixelTexGenQCeilingSgix = ((int)0x8184) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_ROUND_SGIX = 0x8185
+ ///
+ PixelTexGenQRoundSgix = ((int)0x8185) ,
+ ///
+ /// Original was GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX = 0x8186
+ ///
+ PixelTexGenQFloorSgix = ((int)0x8186) ,
+ ///
+ /// Original was GL_NEAREST_CLIPMAP_NEAREST_SGIX = 0x844D
+ ///
+ NearestClipmapNearestSgix = ((int)0x844D) ,
+ ///
+ /// Original was GL_NEAREST_CLIPMAP_LINEAR_SGIX = 0x844E
+ ///
+ NearestClipmapLinearSgix = ((int)0x844E) ,
+ ///
+ /// Original was GL_LINEAR_CLIPMAP_NEAREST_SGIX = 0x844F
+ ///
+ LinearClipmapNearestSgix = ((int)0x844F) ,
+ }
+
+ ///
+ /// Used in GL.TexParameter
+ ///
+ public enum TextureParameterName : int
+ {
+ ///
+ /// Original was GL_TEXTURE_BORDER_COLOR = 0x1004
+ ///
+ TextureBorderColor = ((int)0x1004) ,
+ ///
+ /// Original was GL_TEXTURE_MAG_FILTER = 0x2800
+ ///
+ TextureMagFilter = ((int)0x2800) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_FILTER = 0x2801
+ ///
+ TextureMinFilter = ((int)0x2801) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_S = 0x2802
+ ///
+ TextureWrapS = ((int)0x2802) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_T = 0x2803
+ ///
+ TextureWrapT = ((int)0x2803) ,
+ ///
+ /// Original was GL_TEXTURE_PRIORITY = 0x8066
+ ///
+ TexturePriority = ((int)0x8066) ,
+ ///
+ /// Original was GL_TEXTURE_PRIORITY_EXT = 0x8066
+ ///
+ TexturePriorityExt = ((int)0x8066) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R = 0x8072
+ ///
+ TextureWrapR = ((int)0x8072) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R_EXT = 0x8072
+ ///
+ TextureWrapRExt = ((int)0x8072) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_R_OES = 0x8072
+ ///
+ TextureWrapROes = ((int)0x8072) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A
+ ///
+ DetailTextureLevelSgis = ((int)0x809A) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B
+ ///
+ DetailTextureModeSgis = ((int)0x809B) ,
+ ///
+ /// Original was GL_SHADOW_AMBIENT_SGIX = 0x80BF
+ ///
+ ShadowAmbientSgix = ((int)0x80BF) ,
+ ///
+ /// Original was GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124
+ ///
+ DualTextureSelectSgis = ((int)0x8124) ,
+ ///
+ /// Original was GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125
+ ///
+ QuadTextureSelectSgis = ((int)0x8125) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_Q_SGIS = 0x8137
+ ///
+ TextureWrapQSgis = ((int)0x8137) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171
+ ///
+ TextureClipmapCenterSgix = ((int)0x8171) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172
+ ///
+ TextureClipmapFrameSgix = ((int)0x8172) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173
+ ///
+ TextureClipmapOffsetSgix = ((int)0x8173) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174
+ ///
+ TextureClipmapVirtualDepthSgix = ((int)0x8174) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175
+ ///
+ TextureClipmapLodOffsetSgix = ((int)0x8175) ,
+ ///
+ /// Original was GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176
+ ///
+ TextureClipmapDepthSgix = ((int)0x8176) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179
+ ///
+ PostTextureFilterBiasSgix = ((int)0x8179) ,
+ ///
+ /// Original was GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A
+ ///
+ PostTextureFilterScaleSgix = ((int)0x817A) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E
+ ///
+ TextureLodBiasSSgix = ((int)0x818E) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F
+ ///
+ TextureLodBiasTSgix = ((int)0x818F) ,
+ ///
+ /// Original was GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190
+ ///
+ TextureLodBiasRSgix = ((int)0x8190) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP = 0x8191
+ ///
+ GenerateMipmap = ((int)0x8191) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_SGIS = 0x8191
+ ///
+ GenerateMipmapSgis = ((int)0x8191) ,
+ ///
+ /// Original was GL_TEXTURE_COMPARE_SGIX = 0x819A
+ ///
+ TextureCompareSgix = ((int)0x819A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_S_SGIX = 0x8369
+ ///
+ TextureMaxClampSSgix = ((int)0x8369) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_T_SGIX = 0x836A
+ ///
+ TextureMaxClampTSgix = ((int)0x836A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_CLAMP_R_SGIX = 0x836B
+ ///
+ TextureMaxClampRSgix = ((int)0x836B) ,
+ }
+
+ ///
+ /// Used in GL.BindTexture, GL.CompressedTexImage2D and 7 other functions
+ ///
+ public enum TextureTarget : int
+ {
+ ///
+ /// Original was GL_TEXTURE_1D = 0x0DE0
+ ///
+ Texture1D = ((int)0x0DE0) ,
+ ///
+ /// Original was GL_TEXTURE_2D = 0x0DE1
+ ///
+ Texture2D = ((int)0x0DE1) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_1D = 0x8063
+ ///
+ ProxyTexture1D = ((int)0x8063) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_1D_EXT = 0x8063
+ ///
+ ProxyTexture1DExt = ((int)0x8063) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_2D = 0x8064
+ ///
+ ProxyTexture2D = ((int)0x8064) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_2D_EXT = 0x8064
+ ///
+ ProxyTexture2DExt = ((int)0x8064) ,
+ ///
+ /// Original was GL_TEXTURE_3D = 0x806F
+ ///
+ Texture3D = ((int)0x806F) ,
+ ///
+ /// Original was GL_TEXTURE_3D_EXT = 0x806F
+ ///
+ Texture3DExt = ((int)0x806F) ,
+ ///
+ /// Original was GL_TEXTURE_3D_OES = 0x806F
+ ///
+ Texture3DOes = ((int)0x806F) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_3D = 0x8070
+ ///
+ ProxyTexture3D = ((int)0x8070) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_3D_EXT = 0x8070
+ ///
+ ProxyTexture3DExt = ((int)0x8070) ,
+ ///
+ /// Original was GL_DETAIL_TEXTURE_2D_SGIS = 0x8095
+ ///
+ DetailTexture2DSgis = ((int)0x8095) ,
+ ///
+ /// Original was GL_TEXTURE_4D_SGIS = 0x8134
+ ///
+ Texture4DSgis = ((int)0x8134) ,
+ ///
+ /// Original was GL_PROXY_TEXTURE_4D_SGIS = 0x8135
+ ///
+ ProxyTexture4DSgis = ((int)0x8135) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_LOD = 0x813A
+ ///
+ TextureMinLod = ((int)0x813A) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_LOD_SGIS = 0x813A
+ ///
+ TextureMinLodSgis = ((int)0x813A) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LOD = 0x813B
+ ///
+ TextureMaxLod = ((int)0x813B) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LOD_SGIS = 0x813B
+ ///
+ TextureMaxLodSgis = ((int)0x813B) ,
+ ///
+ /// Original was GL_TEXTURE_BASE_LEVEL = 0x813C
+ ///
+ TextureBaseLevel = ((int)0x813C) ,
+ ///
+ /// Original was GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C
+ ///
+ TextureBaseLevelSgis = ((int)0x813C) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL = 0x813D
+ ///
+ TextureMaxLevel = ((int)0x813D) ,
+ ///
+ /// Original was GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D
+ ///
+ TextureMaxLevelSgis = ((int)0x813D) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ public enum TextureWrapMode : int
+ {
+ ///
+ /// Original was GL_CLAMP = 0x2900
+ ///
+ Clamp = ((int)0x2900) ,
+ ///
+ /// Original was GL_REPEAT = 0x2901
+ ///
+ Repeat = ((int)0x2901) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER = 0x812D
+ ///
+ ClampToBorder = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_ARB = 0x812D
+ ///
+ ClampToBorderArb = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_NV = 0x812D
+ ///
+ ClampToBorderNv = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_BORDER_SGIS = 0x812D
+ ///
+ ClampToBorderSgis = ((int)0x812D) ,
+ ///
+ /// Original was GL_CLAMP_TO_EDGE = 0x812F
+ ///
+ ClampToEdge = ((int)0x812F) ,
+ ///
+ /// Original was GL_CLAMP_TO_EDGE_SGIS = 0x812F
+ ///
+ ClampToEdgeSgis = ((int)0x812F) ,
+ }
+
+ ///
+ /// Not used directly.
+ ///
+ [Flags]
+ public enum UseProgramStageMask : int
+ {
+ ///
+ /// Original was GL_VERTEX_SHADER_BIT = 0x00000001
+ ///
+ VertexShaderBit = ((int)0x00000001) ,
+ ///
+ /// Original was GL_VERTEX_SHADER_BIT_EXT = 0x00000001
+ ///
+ VertexShaderBitExt = ((int)0x00000001) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_BIT = 0x00000002
+ ///
+ FragmentShaderBit = ((int)0x00000002) ,
+ ///
+ /// Original was GL_FRAGMENT_SHADER_BIT_EXT = 0x00000002
+ ///
+ FragmentShaderBitExt = ((int)0x00000002) ,
+ ///
+ /// Original was GL_GEOMETRY_SHADER_BIT = 0x00000004
+ ///
+ GeometryShaderBit = ((int)0x00000004) ,
+ ///
+ /// Original was GL_TESS_CONTROL_SHADER_BIT = 0x00000008
+ ///
+ TessControlShaderBit = ((int)0x00000008) ,
+ ///
+ /// Original was GL_TESS_EVALUATION_SHADER_BIT = 0x00000010
+ ///
+ TessEvaluationShaderBit = ((int)0x00000010) ,
+ ///
+ /// Original was GL_COMPUTE_SHADER_BIT = 0x00000020
+ ///
+ ComputeShaderBit = ((int)0x00000020) ,
+ ///
+ /// Original was GL_ALL_SHADER_BITS = 0xFFFFFFFF
+ ///
+ AllShaderBits = unchecked((int)0xFFFFFFFF) ,
+ ///
+ /// Original was GL_ALL_SHADER_BITS_EXT = 0xFFFFFFFF
+ ///
+ AllShaderBitsExt = unchecked((int)0xFFFFFFFF) ,
+ }
+
+ ///
+ /// Used in GL.ActiveTexture, GL.AlphaFuncx and 27 other functions
+ ///
+ public enum VersionEsCm10 : int
+ {
+ ///
+ /// Original was GL_FALSE = 0
+ ///
+ False = ((int)0) ,
+ ///
+ /// Original was GL_NO_ERROR = 0
+ ///
+ NoError = ((int)0) ,
+ ///
+ /// Original was GL_ZERO = 0
+ ///
+ Zero = ((int)0) ,
+ ///
+ /// Original was GL_POINTS = 0x0000
+ ///
+ Points = ((int)0x0000) ,
+ ///
+ /// Original was GL_DEPTH_BUFFER_BIT = 0x00000100
+ ///
+ DepthBufferBit = ((int)0x00000100) ,
+ ///
+ /// Original was GL_STENCIL_BUFFER_BIT = 0x00000400
+ ///
+ StencilBufferBit = ((int)0x00000400) ,
+ ///
+ /// Original was GL_COLOR_BUFFER_BIT = 0x00004000
+ ///
+ ColorBufferBit = ((int)0x00004000) ,
+ ///
+ /// Original was GL_LINES = 0x0001
+ ///
+ Lines = ((int)0x0001) ,
+ ///
+ /// Original was GL_LINE_LOOP = 0x0002
+ ///
+ LineLoop = ((int)0x0002) ,
+ ///
+ /// Original was GL_LINE_STRIP = 0x0003
+ ///
+ LineStrip = ((int)0x0003) ,
+ ///
+ /// Original was GL_TRIANGLES = 0x0004
+ ///
+ Triangles = ((int)0x0004) ,
+ ///
+ /// Original was GL_TRIANGLE_STRIP = 0x0005
+ ///
+ TriangleStrip = ((int)0x0005) ,
+ ///
+ /// Original was GL_TRIANGLE_FAN = 0x0006
+ ///
+ TriangleFan = ((int)0x0006) ,
+ ///
+ /// Original was GL_ADD = 0x0104
+ ///
+ Add = ((int)0x0104) ,
+ ///
+ /// Original was GL_NEVER = 0x0200
+ ///
+ Never = ((int)0x0200) ,
+ ///
+ /// Original was GL_LESS = 0x0201
+ ///
+ Less = ((int)0x0201) ,
+ ///
+ /// Original was GL_EQUAL = 0x0202
+ ///
+ Equal = ((int)0x0202) ,
+ ///
+ /// Original was GL_LEQUAL = 0x0203
+ ///
+ Lequal = ((int)0x0203) ,
+ ///
+ /// Original was GL_GREATER = 0x0204
+ ///
+ Greater = ((int)0x0204) ,
+ ///
+ /// Original was GL_NOTEQUAL = 0x0205
+ ///
+ Notequal = ((int)0x0205) ,
+ ///
+ /// Original was GL_GEQUAL = 0x0206
+ ///
+ Gequal = ((int)0x0206) ,
+ ///
+ /// Original was GL_ALWAYS = 0x0207
+ ///
+ Always = ((int)0x0207) ,
+ ///
+ /// Original was GL_SRC_COLOR = 0x0300
+ ///
+ SrcColor = ((int)0x0300) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_COLOR = 0x0301
+ ///
+ OneMinusSrcColor = ((int)0x0301) ,
+ ///
+ /// Original was GL_SRC_ALPHA = 0x0302
+ ///
+ SrcAlpha = ((int)0x0302) ,
+ ///
+ /// Original was GL_ONE_MINUS_SRC_ALPHA = 0x0303
+ ///
+ OneMinusSrcAlpha = ((int)0x0303) ,
+ ///
+ /// Original was GL_DST_ALPHA = 0x0304
+ ///
+ DstAlpha = ((int)0x0304) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_ALPHA = 0x0305
+ ///
+ OneMinusDstAlpha = ((int)0x0305) ,
+ ///
+ /// Original was GL_DST_COLOR = 0x0306
+ ///
+ DstColor = ((int)0x0306) ,
+ ///
+ /// Original was GL_ONE_MINUS_DST_COLOR = 0x0307
+ ///
+ OneMinusDstColor = ((int)0x0307) ,
+ ///
+ /// Original was GL_SRC_ALPHA_SATURATE = 0x0308
+ ///
+ SrcAlphaSaturate = ((int)0x0308) ,
+ ///
+ /// Original was GL_FRONT = 0x0404
+ ///
+ Front = ((int)0x0404) ,
+ ///
+ /// Original was GL_BACK = 0x0405
+ ///
+ Back = ((int)0x0405) ,
+ ///
+ /// Original was GL_FRONT_AND_BACK = 0x0408
+ ///
+ FrontAndBack = ((int)0x0408) ,
+ ///
+ /// Original was GL_INVALID_ENUM = 0x0500
+ ///
+ InvalidEnum = ((int)0x0500) ,
+ ///
+ /// Original was GL_INVALID_VALUE = 0x0501
+ ///
+ InvalidValue = ((int)0x0501) ,
+ ///
+ /// Original was GL_INVALID_OPERATION = 0x0502
+ ///
+ InvalidOperation = ((int)0x0502) ,
+ ///
+ /// Original was GL_STACK_OVERFLOW = 0x0503
+ ///
+ StackOverflow = ((int)0x0503) ,
+ ///
+ /// Original was GL_STACK_UNDERFLOW = 0x0504
+ ///
+ StackUnderflow = ((int)0x0504) ,
+ ///
+ /// Original was GL_OUT_OF_MEMORY = 0x0505
+ ///
+ OutOfMemory = ((int)0x0505) ,
+ ///
+ /// Original was GL_EXP = 0x0800
+ ///
+ Exp = ((int)0x0800) ,
+ ///
+ /// Original was GL_EXP2 = 0x0801
+ ///
+ Exp2 = ((int)0x0801) ,
+ ///
+ /// Original was GL_CW = 0x0900
+ ///
+ Cw = ((int)0x0900) ,
+ ///
+ /// Original was GL_CCW = 0x0901
+ ///
+ Ccw = ((int)0x0901) ,
+ ///
+ /// Original was GL_CURRENT_COLOR = 0x0B00
+ ///
+ CurrentColor = ((int)0x0B00) ,
+ ///
+ /// Original was GL_CURRENT_NORMAL = 0x0B02
+ ///
+ CurrentNormal = ((int)0x0B02) ,
+ ///
+ /// Original was GL_CURRENT_TEXTURE_COORDS = 0x0B03
+ ///
+ CurrentTextureCoords = ((int)0x0B03) ,
+ ///
+ /// Original was GL_POINT_SMOOTH = 0x0B10
+ ///
+ PointSmooth = ((int)0x0B10) ,
+ ///
+ /// Original was GL_POINT_SIZE = 0x0B11
+ ///
+ PointSize = ((int)0x0B11) ,
+ ///
+ /// Original was GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
+ ///
+ SmoothPointSizeRange = ((int)0x0B12) ,
+ ///
+ /// Original was GL_LINE_SMOOTH = 0x0B20
+ ///
+ LineSmooth = ((int)0x0B20) ,
+ ///
+ /// Original was GL_LINE_WIDTH = 0x0B21
+ ///
+ LineWidth = ((int)0x0B21) ,
+ ///
+ /// Original was GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
+ ///
+ SmoothLineWidthRange = ((int)0x0B22) ,
+ ///
+ /// Original was GL_CULL_FACE = 0x0B44
+ ///
+ CullFace = ((int)0x0B44) ,
+ ///
+ /// Original was GL_CULL_FACE_MODE = 0x0B45
+ ///
+ CullFaceMode = ((int)0x0B45) ,
+ ///
+ /// Original was GL_FRONT_FACE = 0x0B46
+ ///
+ FrontFace = ((int)0x0B46) ,
+ ///
+ /// Original was GL_LIGHTING = 0x0B50
+ ///
+ Lighting = ((int)0x0B50) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
+ ///
+ LightModelTwoSide = ((int)0x0B52) ,
+ ///
+ /// Original was GL_LIGHT_MODEL_AMBIENT = 0x0B53
+ ///
+ LightModelAmbient = ((int)0x0B53) ,
+ ///
+ /// Original was GL_SHADE_MODEL = 0x0B54
+ ///
+ ShadeModel = ((int)0x0B54) ,
+ ///
+ /// Original was GL_COLOR_MATERIAL = 0x0B57
+ ///
+ ColorMaterial = ((int)0x0B57) ,
+ ///
+ /// Original was GL_FOG = 0x0B60
+ ///
+ Fog = ((int)0x0B60) ,
+ ///
+ /// Original was GL_FOG_DENSITY = 0x0B62
+ ///
+ FogDensity = ((int)0x0B62) ,
+ ///
+ /// Original was GL_FOG_START = 0x0B63
+ ///
+ FogStart = ((int)0x0B63) ,
+ ///
+ /// Original was GL_FOG_END = 0x0B64
+ ///
+ FogEnd = ((int)0x0B64) ,
+ ///
+ /// Original was GL_FOG_MODE = 0x0B65
+ ///
+ FogMode = ((int)0x0B65) ,
+ ///
+ /// Original was GL_FOG_COLOR = 0x0B66
+ ///
+ FogColor = ((int)0x0B66) ,
+ ///
+ /// Original was GL_DEPTH_RANGE = 0x0B70
+ ///
+ DepthRange = ((int)0x0B70) ,
+ ///
+ /// Original was GL_DEPTH_TEST = 0x0B71
+ ///
+ DepthTest = ((int)0x0B71) ,
+ ///
+ /// Original was GL_DEPTH_WRITEMASK = 0x0B72
+ ///
+ DepthWritemask = ((int)0x0B72) ,
+ ///
+ /// Original was GL_DEPTH_CLEAR_VALUE = 0x0B73
+ ///
+ DepthClearValue = ((int)0x0B73) ,
+ ///
+ /// Original was GL_DEPTH_FUNC = 0x0B74
+ ///
+ DepthFunc = ((int)0x0B74) ,
+ ///
+ /// Original was GL_STENCIL_TEST = 0x0B90
+ ///
+ StencilTest = ((int)0x0B90) ,
+ ///
+ /// Original was GL_STENCIL_CLEAR_VALUE = 0x0B91
+ ///
+ StencilClearValue = ((int)0x0B91) ,
+ ///
+ /// Original was GL_STENCIL_FUNC = 0x0B92
+ ///
+ StencilFunc = ((int)0x0B92) ,
+ ///
+ /// Original was GL_STENCIL_VALUE_MASK = 0x0B93
+ ///
+ StencilValueMask = ((int)0x0B93) ,
+ ///
+ /// Original was GL_STENCIL_FAIL = 0x0B94
+ ///
+ StencilFail = ((int)0x0B94) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95
+ ///
+ StencilPassDepthFail = ((int)0x0B95) ,
+ ///
+ /// Original was GL_STENCIL_PASS_DEPTH_PASS = 0x0B96
+ ///
+ StencilPassDepthPass = ((int)0x0B96) ,
+ ///
+ /// Original was GL_STENCIL_REF = 0x0B97
+ ///
+ StencilRef = ((int)0x0B97) ,
+ ///
+ /// Original was GL_STENCIL_WRITEMASK = 0x0B98
+ ///
+ StencilWritemask = ((int)0x0B98) ,
+ ///
+ /// Original was GL_MATRIX_MODE = 0x0BA0
+ ///
+ MatrixMode = ((int)0x0BA0) ,
+ ///
+ /// Original was GL_NORMALIZE = 0x0BA1
+ ///
+ Normalize = ((int)0x0BA1) ,
+ ///
+ /// Original was GL_VIEWPORT = 0x0BA2
+ ///
+ Viewport = ((int)0x0BA2) ,
+ ///
+ /// Original was GL_MODELVIEW_STACK_DEPTH = 0x0BA3
+ ///
+ ModelviewStackDepth = ((int)0x0BA3) ,
+ ///
+ /// Original was GL_PROJECTION_STACK_DEPTH = 0x0BA4
+ ///
+ ProjectionStackDepth = ((int)0x0BA4) ,
+ ///
+ /// Original was GL_TEXTURE_STACK_DEPTH = 0x0BA5
+ ///
+ TextureStackDepth = ((int)0x0BA5) ,
+ ///
+ /// Original was GL_MODELVIEW_MATRIX = 0x0BA6
+ ///
+ ModelviewMatrix = ((int)0x0BA6) ,
+ ///
+ /// Original was GL_PROJECTION_MATRIX = 0x0BA7
+ ///
+ ProjectionMatrix = ((int)0x0BA7) ,
+ ///
+ /// Original was GL_TEXTURE_MATRIX = 0x0BA8
+ ///
+ TextureMatrix = ((int)0x0BA8) ,
+ ///
+ /// Original was GL_ALPHA_TEST = 0x0BC0
+ ///
+ AlphaTest = ((int)0x0BC0) ,
+ ///
+ /// Original was GL_ALPHA_TEST_FUNC = 0x0BC1
+ ///
+ AlphaTestFunc = ((int)0x0BC1) ,
+ ///
+ /// Original was GL_ALPHA_TEST_REF = 0x0BC2
+ ///
+ AlphaTestRef = ((int)0x0BC2) ,
+ ///
+ /// Original was GL_DITHER = 0x0BD0
+ ///
+ Dither = ((int)0x0BD0) ,
+ ///
+ /// Original was GL_BLEND_DST = 0x0BE0
+ ///
+ BlendDst = ((int)0x0BE0) ,
+ ///
+ /// Original was GL_BLEND_SRC = 0x0BE1
+ ///
+ BlendSrc = ((int)0x0BE1) ,
+ ///
+ /// Original was GL_BLEND = 0x0BE2
+ ///
+ Blend = ((int)0x0BE2) ,
+ ///
+ /// Original was GL_LOGIC_OP_MODE = 0x0BF0
+ ///
+ LogicOpMode = ((int)0x0BF0) ,
+ ///
+ /// Original was GL_COLOR_LOGIC_OP = 0x0BF2
+ ///
+ ColorLogicOp = ((int)0x0BF2) ,
+ ///
+ /// Original was GL_SCISSOR_BOX = 0x0C10
+ ///
+ ScissorBox = ((int)0x0C10) ,
+ ///
+ /// Original was GL_SCISSOR_TEST = 0x0C11
+ ///
+ ScissorTest = ((int)0x0C11) ,
+ ///
+ /// Original was GL_COLOR_CLEAR_VALUE = 0x0C22
+ ///
+ ColorClearValue = ((int)0x0C22) ,
+ ///
+ /// Original was GL_COLOR_WRITEMASK = 0x0C23
+ ///
+ ColorWritemask = ((int)0x0C23) ,
+ ///
+ /// Original was GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
+ ///
+ PerspectiveCorrectionHint = ((int)0x0C50) ,
+ ///
+ /// Original was GL_POINT_SMOOTH_HINT = 0x0C51
+ ///
+ PointSmoothHint = ((int)0x0C51) ,
+ ///
+ /// Original was GL_LINE_SMOOTH_HINT = 0x0C52
+ ///
+ LineSmoothHint = ((int)0x0C52) ,
+ ///
+ /// Original was GL_FOG_HINT = 0x0C54
+ ///
+ FogHint = ((int)0x0C54) ,
+ ///
+ /// Original was GL_UNPACK_ALIGNMENT = 0x0CF5
+ ///
+ UnpackAlignment = ((int)0x0CF5) ,
+ ///
+ /// Original was GL_PACK_ALIGNMENT = 0x0D05
+ ///
+ PackAlignment = ((int)0x0D05) ,
+ ///
+ /// Original was GL_ALPHA_SCALE = 0x0D1C
+ ///
+ AlphaScale = ((int)0x0D1C) ,
+ ///
+ /// Original was GL_MAX_LIGHTS = 0x0D31
+ ///
+ MaxLights = ((int)0x0D31) ,
+ ///
+ /// Original was GL_MAX_CLIP_PLANES = 0x0D32
+ ///
+ MaxClipPlanes = ((int)0x0D32) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_SIZE = 0x0D33
+ ///
+ MaxTextureSize = ((int)0x0D33) ,
+ ///
+ /// Original was GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36
+ ///
+ MaxModelviewStackDepth = ((int)0x0D36) ,
+ ///
+ /// Original was GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
+ ///
+ MaxProjectionStackDepth = ((int)0x0D38) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
+ ///
+ MaxTextureStackDepth = ((int)0x0D39) ,
+ ///
+ /// Original was GL_MAX_VIEWPORT_DIMS = 0x0D3A
+ ///
+ MaxViewportDims = ((int)0x0D3A) ,
+ ///
+ /// Original was GL_SUBPIXEL_BITS = 0x0D50
+ ///
+ SubpixelBits = ((int)0x0D50) ,
+ ///
+ /// Original was GL_RED_BITS = 0x0D52
+ ///
+ RedBits = ((int)0x0D52) ,
+ ///
+ /// Original was GL_GREEN_BITS = 0x0D53
+ ///
+ GreenBits = ((int)0x0D53) ,
+ ///
+ /// Original was GL_BLUE_BITS = 0x0D54
+ ///
+ BlueBits = ((int)0x0D54) ,
+ ///
+ /// Original was GL_ALPHA_BITS = 0x0D55
+ ///
+ AlphaBits = ((int)0x0D55) ,
+ ///
+ /// Original was GL_DEPTH_BITS = 0x0D56
+ ///
+ DepthBits = ((int)0x0D56) ,
+ ///
+ /// Original was GL_STENCIL_BITS = 0x0D57
+ ///
+ StencilBits = ((int)0x0D57) ,
+ ///
+ /// Original was GL_TEXTURE_2D = 0x0DE1
+ ///
+ Texture2D = ((int)0x0DE1) ,
+ ///
+ /// Original was GL_DONT_CARE = 0x1100
+ ///
+ DontCare = ((int)0x1100) ,
+ ///
+ /// Original was GL_FASTEST = 0x1101
+ ///
+ Fastest = ((int)0x1101) ,
+ ///
+ /// Original was GL_NICEST = 0x1102
+ ///
+ Nicest = ((int)0x1102) ,
+ ///
+ /// Original was GL_AMBIENT = 0x1200
+ ///
+ Ambient = ((int)0x1200) ,
+ ///
+ /// Original was GL_DIFFUSE = 0x1201
+ ///
+ Diffuse = ((int)0x1201) ,
+ ///
+ /// Original was GL_SPECULAR = 0x1202
+ ///
+ Specular = ((int)0x1202) ,
+ ///
+ /// Original was GL_POSITION = 0x1203
+ ///
+ Position = ((int)0x1203) ,
+ ///
+ /// Original was GL_SPOT_DIRECTION = 0x1204
+ ///
+ SpotDirection = ((int)0x1204) ,
+ ///
+ /// Original was GL_SPOT_EXPONENT = 0x1205
+ ///
+ SpotExponent = ((int)0x1205) ,
+ ///
+ /// Original was GL_SPOT_CUTOFF = 0x1206
+ ///
+ SpotCutoff = ((int)0x1206) ,
+ ///
+ /// Original was GL_CONSTANT_ATTENUATION = 0x1207
+ ///
+ ConstantAttenuation = ((int)0x1207) ,
+ ///
+ /// Original was GL_LINEAR_ATTENUATION = 0x1208
+ ///
+ LinearAttenuation = ((int)0x1208) ,
+ ///
+ /// Original was GL_QUADRATIC_ATTENUATION = 0x1209
+ ///
+ QuadraticAttenuation = ((int)0x1209) ,
+ ///
+ /// Original was GL_BYTE = 0x1400
+ ///
+ Byte = ((int)0x1400) ,
+ ///
+ /// Original was GL_UNSIGNED_BYTE = 0x1401
+ ///
+ UnsignedByte = ((int)0x1401) ,
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT = 0x1403
+ ///
+ UnsignedShort = ((int)0x1403) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_FIXED = 0x140C
+ ///
+ Fixed = ((int)0x140C) ,
+ ///
+ /// Original was GL_CLEAR = 0x1500
+ ///
+ Clear = ((int)0x1500) ,
+ ///
+ /// Original was GL_AND = 0x1501
+ ///
+ And = ((int)0x1501) ,
+ ///
+ /// Original was GL_AND_REVERSE = 0x1502
+ ///
+ AndReverse = ((int)0x1502) ,
+ ///
+ /// Original was GL_COPY = 0x1503
+ ///
+ Copy = ((int)0x1503) ,
+ ///
+ /// Original was GL_AND_INVERTED = 0x1504
+ ///
+ AndInverted = ((int)0x1504) ,
+ ///
+ /// Original was GL_NOOP = 0x1505
+ ///
+ Noop = ((int)0x1505) ,
+ ///
+ /// Original was GL_XOR = 0x1506
+ ///
+ Xor = ((int)0x1506) ,
+ ///
+ /// Original was GL_OR = 0x1507
+ ///
+ Or = ((int)0x1507) ,
+ ///
+ /// Original was GL_NOR = 0x1508
+ ///
+ Nor = ((int)0x1508) ,
+ ///
+ /// Original was GL_EQUIV = 0x1509
+ ///
+ Equiv = ((int)0x1509) ,
+ ///
+ /// Original was GL_INVERT = 0x150A
+ ///
+ Invert = ((int)0x150A) ,
+ ///
+ /// Original was GL_OR_REVERSE = 0x150B
+ ///
+ OrReverse = ((int)0x150B) ,
+ ///
+ /// Original was GL_COPY_INVERTED = 0x150C
+ ///
+ CopyInverted = ((int)0x150C) ,
+ ///
+ /// Original was GL_OR_INVERTED = 0x150D
+ ///
+ OrInverted = ((int)0x150D) ,
+ ///
+ /// Original was GL_NAND = 0x150E
+ ///
+ Nand = ((int)0x150E) ,
+ ///
+ /// Original was GL_SET = 0x150F
+ ///
+ Set = ((int)0x150F) ,
+ ///
+ /// Original was GL_EMISSION = 0x1600
+ ///
+ Emission = ((int)0x1600) ,
+ ///
+ /// Original was GL_SHININESS = 0x1601
+ ///
+ Shininess = ((int)0x1601) ,
+ ///
+ /// Original was GL_AMBIENT_AND_DIFFUSE = 0x1602
+ ///
+ AmbientAndDiffuse = ((int)0x1602) ,
+ ///
+ /// Original was GL_MODELVIEW = 0x1700
+ ///
+ Modelview = ((int)0x1700) ,
+ ///
+ /// Original was GL_PROJECTION = 0x1701
+ ///
+ Projection = ((int)0x1701) ,
+ ///
+ /// Original was GL_TEXTURE = 0x1702
+ ///
+ Texture = ((int)0x1702) ,
+ ///
+ /// Original was GL_ALPHA = 0x1906
+ ///
+ Alpha = ((int)0x1906) ,
+ ///
+ /// Original was GL_RGB = 0x1907
+ ///
+ Rgb = ((int)0x1907) ,
+ ///
+ /// Original was GL_RGBA = 0x1908
+ ///
+ Rgba = ((int)0x1908) ,
+ ///
+ /// Original was GL_LUMINANCE = 0x1909
+ ///
+ Luminance = ((int)0x1909) ,
+ ///
+ /// Original was GL_LUMINANCE_ALPHA = 0x190A
+ ///
+ LuminanceAlpha = ((int)0x190A) ,
+ ///
+ /// Original was GL_FLAT = 0x1D00
+ ///
+ Flat = ((int)0x1D00) ,
+ ///
+ /// Original was GL_SMOOTH = 0x1D01
+ ///
+ Smooth = ((int)0x1D01) ,
+ ///
+ /// Original was GL_KEEP = 0x1E00
+ ///
+ Keep = ((int)0x1E00) ,
+ ///
+ /// Original was GL_REPLACE = 0x1E01
+ ///
+ Replace = ((int)0x1E01) ,
+ ///
+ /// Original was GL_INCR = 0x1E02
+ ///
+ Incr = ((int)0x1E02) ,
+ ///
+ /// Original was GL_DECR = 0x1E03
+ ///
+ Decr = ((int)0x1E03) ,
+ ///
+ /// Original was GL_VENDOR = 0x1F00
+ ///
+ Vendor = ((int)0x1F00) ,
+ ///
+ /// Original was GL_RENDERER = 0x1F01
+ ///
+ Renderer = ((int)0x1F01) ,
+ ///
+ /// Original was GL_VERSION = 0x1F02
+ ///
+ Version = ((int)0x1F02) ,
+ ///
+ /// Original was GL_EXTENSIONS = 0x1F03
+ ///
+ Extensions = ((int)0x1F03) ,
+ ///
+ /// Original was GL_MODULATE = 0x2100
+ ///
+ Modulate = ((int)0x2100) ,
+ ///
+ /// Original was GL_DECAL = 0x2101
+ ///
+ Decal = ((int)0x2101) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_MODE = 0x2200
+ ///
+ TextureEnvMode = ((int)0x2200) ,
+ ///
+ /// Original was GL_TEXTURE_ENV_COLOR = 0x2201
+ ///
+ TextureEnvColor = ((int)0x2201) ,
+ ///
+ /// Original was GL_TEXTURE_ENV = 0x2300
+ ///
+ TextureEnv = ((int)0x2300) ,
+ ///
+ /// Original was GL_NEAREST = 0x2600
+ ///
+ Nearest = ((int)0x2600) ,
+ ///
+ /// Original was GL_LINEAR = 0x2601
+ ///
+ Linear = ((int)0x2601) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_NEAREST = 0x2700
+ ///
+ NearestMipmapNearest = ((int)0x2700) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_NEAREST = 0x2701
+ ///
+ LinearMipmapNearest = ((int)0x2701) ,
+ ///
+ /// Original was GL_NEAREST_MIPMAP_LINEAR = 0x2702
+ ///
+ NearestMipmapLinear = ((int)0x2702) ,
+ ///
+ /// Original was GL_LINEAR_MIPMAP_LINEAR = 0x2703
+ ///
+ LinearMipmapLinear = ((int)0x2703) ,
+ ///
+ /// Original was GL_TEXTURE_MAG_FILTER = 0x2800
+ ///
+ TextureMagFilter = ((int)0x2800) ,
+ ///
+ /// Original was GL_TEXTURE_MIN_FILTER = 0x2801
+ ///
+ TextureMinFilter = ((int)0x2801) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_S = 0x2802
+ ///
+ TextureWrapS = ((int)0x2802) ,
+ ///
+ /// Original was GL_TEXTURE_WRAP_T = 0x2803
+ ///
+ TextureWrapT = ((int)0x2803) ,
+ ///
+ /// Original was GL_REPEAT = 0x2901
+ ///
+ Repeat = ((int)0x2901) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_UNITS = 0x2A00
+ ///
+ PolygonOffsetUnits = ((int)0x2A00) ,
+ ///
+ /// Original was GL_CLIP_PLANE0 = 0x3000
+ ///
+ ClipPlane0 = ((int)0x3000) ,
+ ///
+ /// Original was GL_CLIP_PLANE1 = 0x3001
+ ///
+ ClipPlane1 = ((int)0x3001) ,
+ ///
+ /// Original was GL_CLIP_PLANE2 = 0x3002
+ ///
+ ClipPlane2 = ((int)0x3002) ,
+ ///
+ /// Original was GL_CLIP_PLANE3 = 0x3003
+ ///
+ ClipPlane3 = ((int)0x3003) ,
+ ///
+ /// Original was GL_CLIP_PLANE4 = 0x3004
+ ///
+ ClipPlane4 = ((int)0x3004) ,
+ ///
+ /// Original was GL_CLIP_PLANE5 = 0x3005
+ ///
+ ClipPlane5 = ((int)0x3005) ,
+ ///
+ /// Original was GL_LIGHT0 = 0x4000
+ ///
+ Light0 = ((int)0x4000) ,
+ ///
+ /// Original was GL_LIGHT1 = 0x4001
+ ///
+ Light1 = ((int)0x4001) ,
+ ///
+ /// Original was GL_LIGHT2 = 0x4002
+ ///
+ Light2 = ((int)0x4002) ,
+ ///
+ /// Original was GL_LIGHT3 = 0x4003
+ ///
+ Light3 = ((int)0x4003) ,
+ ///
+ /// Original was GL_LIGHT4 = 0x4004
+ ///
+ Light4 = ((int)0x4004) ,
+ ///
+ /// Original was GL_LIGHT5 = 0x4005
+ ///
+ Light5 = ((int)0x4005) ,
+ ///
+ /// Original was GL_LIGHT6 = 0x4006
+ ///
+ Light6 = ((int)0x4006) ,
+ ///
+ /// Original was GL_LIGHT7 = 0x4007
+ ///
+ Light7 = ((int)0x4007) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
+ ///
+ UnsignedShort4444 = ((int)0x8033) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
+ ///
+ UnsignedShort5551 = ((int)0x8034) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FILL = 0x8037
+ ///
+ PolygonOffsetFill = ((int)0x8037) ,
+ ///
+ /// Original was GL_POLYGON_OFFSET_FACTOR = 0x8038
+ ///
+ PolygonOffsetFactor = ((int)0x8038) ,
+ ///
+ /// Original was GL_RESCALE_NORMAL = 0x803A
+ ///
+ RescaleNormal = ((int)0x803A) ,
+ ///
+ /// Original was GL_TEXTURE_BINDING_2D = 0x8069
+ ///
+ TextureBinding2D = ((int)0x8069) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY = 0x8074
+ ///
+ VertexArray = ((int)0x8074) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY = 0x8075
+ ///
+ NormalArray = ((int)0x8075) ,
+ ///
+ /// Original was GL_COLOR_ARRAY = 0x8076
+ ///
+ ColorArray = ((int)0x8076) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY = 0x8078
+ ///
+ TextureCoordArray = ((int)0x8078) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_SIZE = 0x807A
+ ///
+ VertexArraySize = ((int)0x807A) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_TYPE = 0x807B
+ ///
+ VertexArrayType = ((int)0x807B) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_STRIDE = 0x807C
+ ///
+ VertexArrayStride = ((int)0x807C) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_TYPE = 0x807E
+ ///
+ NormalArrayType = ((int)0x807E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_STRIDE = 0x807F
+ ///
+ NormalArrayStride = ((int)0x807F) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_SIZE = 0x8081
+ ///
+ ColorArraySize = ((int)0x8081) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_TYPE = 0x8082
+ ///
+ ColorArrayType = ((int)0x8082) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_STRIDE = 0x8083
+ ///
+ ColorArrayStride = ((int)0x8083) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
+ ///
+ TextureCoordArraySize = ((int)0x8088) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
+ ///
+ TextureCoordArrayType = ((int)0x8089) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
+ ///
+ TextureCoordArrayStride = ((int)0x808A) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_POINTER = 0x808E
+ ///
+ VertexArrayPointer = ((int)0x808E) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_POINTER = 0x808F
+ ///
+ NormalArrayPointer = ((int)0x808F) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_POINTER = 0x8090
+ ///
+ ColorArrayPointer = ((int)0x8090) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
+ ///
+ TextureCoordArrayPointer = ((int)0x8092) ,
+ ///
+ /// Original was GL_MULTISAMPLE = 0x809D
+ ///
+ Multisample = ((int)0x809D) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E
+ ///
+ SampleAlphaToCoverage = ((int)0x809E) ,
+ ///
+ /// Original was GL_SAMPLE_ALPHA_TO_ONE = 0x809F
+ ///
+ SampleAlphaToOne = ((int)0x809F) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE = 0x80A0
+ ///
+ SampleCoverage = ((int)0x80A0) ,
+ ///
+ /// Original was GL_SAMPLE_BUFFERS = 0x80A8
+ ///
+ SampleBuffers = ((int)0x80A8) ,
+ ///
+ /// Original was GL_SAMPLES = 0x80A9
+ ///
+ Samples = ((int)0x80A9) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE_VALUE = 0x80AA
+ ///
+ SampleCoverageValue = ((int)0x80AA) ,
+ ///
+ /// Original was GL_SAMPLE_COVERAGE_INVERT = 0x80AB
+ ///
+ SampleCoverageInvert = ((int)0x80AB) ,
+ ///
+ /// Original was GL_POINT_SIZE_MIN = 0x8126
+ ///
+ PointSizeMin = ((int)0x8126) ,
+ ///
+ /// Original was GL_POINT_SIZE_MAX = 0x8127
+ ///
+ PointSizeMax = ((int)0x8127) ,
+ ///
+ /// Original was GL_POINT_FADE_THRESHOLD_SIZE = 0x8128
+ ///
+ PointFadeThresholdSize = ((int)0x8128) ,
+ ///
+ /// Original was GL_POINT_DISTANCE_ATTENUATION = 0x8129
+ ///
+ PointDistanceAttenuation = ((int)0x8129) ,
+ ///
+ /// Original was GL_CLAMP_TO_EDGE = 0x812F
+ ///
+ ClampToEdge = ((int)0x812F) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP = 0x8191
+ ///
+ GenerateMipmap = ((int)0x8191) ,
+ ///
+ /// Original was GL_GENERATE_MIPMAP_HINT = 0x8192
+ ///
+ GenerateMipmapHint = ((int)0x8192) ,
+ ///
+ /// Original was GL_UNSIGNED_SHORT_5_6_5 = 0x8363
+ ///
+ UnsignedShort565 = ((int)0x8363) ,
+ ///
+ /// Original was GL_ALIASED_POINT_SIZE_RANGE = 0x846D
+ ///
+ AliasedPointSizeRange = ((int)0x846D) ,
+ ///
+ /// Original was GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
+ ///
+ AliasedLineWidthRange = ((int)0x846E) ,
+ ///
+ /// Original was GL_TEXTURE0 = 0x84C0
+ ///
+ Texture0 = ((int)0x84C0) ,
+ ///
+ /// Original was GL_TEXTURE1 = 0x84C1
+ ///
+ Texture1 = ((int)0x84C1) ,
+ ///
+ /// Original was GL_TEXTURE2 = 0x84C2
+ ///
+ Texture2 = ((int)0x84C2) ,
+ ///
+ /// Original was GL_TEXTURE3 = 0x84C3
+ ///
+ Texture3 = ((int)0x84C3) ,
+ ///
+ /// Original was GL_TEXTURE4 = 0x84C4
+ ///
+ Texture4 = ((int)0x84C4) ,
+ ///
+ /// Original was GL_TEXTURE5 = 0x84C5
+ ///
+ Texture5 = ((int)0x84C5) ,
+ ///
+ /// Original was GL_TEXTURE6 = 0x84C6
+ ///
+ Texture6 = ((int)0x84C6) ,
+ ///
+ /// Original was GL_TEXTURE7 = 0x84C7
+ ///
+ Texture7 = ((int)0x84C7) ,
+ ///
+ /// Original was GL_TEXTURE8 = 0x84C8
+ ///
+ Texture8 = ((int)0x84C8) ,
+ ///
+ /// Original was GL_TEXTURE9 = 0x84C9
+ ///
+ Texture9 = ((int)0x84C9) ,
+ ///
+ /// Original was GL_TEXTURE10 = 0x84CA
+ ///
+ Texture10 = ((int)0x84CA) ,
+ ///
+ /// Original was GL_TEXTURE11 = 0x84CB
+ ///
+ Texture11 = ((int)0x84CB) ,
+ ///
+ /// Original was GL_TEXTURE12 = 0x84CC
+ ///
+ Texture12 = ((int)0x84CC) ,
+ ///
+ /// Original was GL_TEXTURE13 = 0x84CD
+ ///
+ Texture13 = ((int)0x84CD) ,
+ ///
+ /// Original was GL_TEXTURE14 = 0x84CE
+ ///
+ Texture14 = ((int)0x84CE) ,
+ ///
+ /// Original was GL_TEXTURE15 = 0x84CF
+ ///
+ Texture15 = ((int)0x84CF) ,
+ ///
+ /// Original was GL_TEXTURE16 = 0x84D0
+ ///
+ Texture16 = ((int)0x84D0) ,
+ ///
+ /// Original was GL_TEXTURE17 = 0x84D1
+ ///
+ Texture17 = ((int)0x84D1) ,
+ ///
+ /// Original was GL_TEXTURE18 = 0x84D2
+ ///
+ Texture18 = ((int)0x84D2) ,
+ ///
+ /// Original was GL_TEXTURE19 = 0x84D3
+ ///
+ Texture19 = ((int)0x84D3) ,
+ ///
+ /// Original was GL_TEXTURE20 = 0x84D4
+ ///
+ Texture20 = ((int)0x84D4) ,
+ ///
+ /// Original was GL_TEXTURE21 = 0x84D5
+ ///
+ Texture21 = ((int)0x84D5) ,
+ ///
+ /// Original was GL_TEXTURE22 = 0x84D6
+ ///
+ Texture22 = ((int)0x84D6) ,
+ ///
+ /// Original was GL_TEXTURE23 = 0x84D7
+ ///
+ Texture23 = ((int)0x84D7) ,
+ ///
+ /// Original was GL_TEXTURE24 = 0x84D8
+ ///
+ Texture24 = ((int)0x84D8) ,
+ ///
+ /// Original was GL_TEXTURE25 = 0x84D9
+ ///
+ Texture25 = ((int)0x84D9) ,
+ ///
+ /// Original was GL_TEXTURE26 = 0x84DA
+ ///
+ Texture26 = ((int)0x84DA) ,
+ ///
+ /// Original was GL_TEXTURE27 = 0x84DB
+ ///
+ Texture27 = ((int)0x84DB) ,
+ ///
+ /// Original was GL_TEXTURE28 = 0x84DC
+ ///
+ Texture28 = ((int)0x84DC) ,
+ ///
+ /// Original was GL_TEXTURE29 = 0x84DD
+ ///
+ Texture29 = ((int)0x84DD) ,
+ ///
+ /// Original was GL_TEXTURE30 = 0x84DE
+ ///
+ Texture30 = ((int)0x84DE) ,
+ ///
+ /// Original was GL_TEXTURE31 = 0x84DF
+ ///
+ Texture31 = ((int)0x84DF) ,
+ ///
+ /// Original was GL_ACTIVE_TEXTURE = 0x84E0
+ ///
+ ActiveTexture = ((int)0x84E0) ,
+ ///
+ /// Original was GL_CLIENT_ACTIVE_TEXTURE = 0x84E1
+ ///
+ ClientActiveTexture = ((int)0x84E1) ,
+ ///
+ /// Original was GL_MAX_TEXTURE_UNITS = 0x84E2
+ ///
+ MaxTextureUnits = ((int)0x84E2) ,
+ ///
+ /// Original was GL_SUBTRACT = 0x84E7
+ ///
+ Subtract = ((int)0x84E7) ,
+ ///
+ /// Original was GL_COMBINE = 0x8570
+ ///
+ Combine = ((int)0x8570) ,
+ ///
+ /// Original was GL_COMBINE_RGB = 0x8571
+ ///
+ CombineRgb = ((int)0x8571) ,
+ ///
+ /// Original was GL_COMBINE_ALPHA = 0x8572
+ ///
+ CombineAlpha = ((int)0x8572) ,
+ ///
+ /// Original was GL_RGB_SCALE = 0x8573
+ ///
+ RgbScale = ((int)0x8573) ,
+ ///
+ /// Original was GL_ADD_SIGNED = 0x8574
+ ///
+ AddSigned = ((int)0x8574) ,
+ ///
+ /// Original was GL_INTERPOLATE = 0x8575
+ ///
+ Interpolate = ((int)0x8575) ,
+ ///
+ /// Original was GL_CONSTANT = 0x8576
+ ///
+ Constant = ((int)0x8576) ,
+ ///
+ /// Original was GL_PRIMARY_COLOR = 0x8577
+ ///
+ PrimaryColor = ((int)0x8577) ,
+ ///
+ /// Original was GL_PREVIOUS = 0x8578
+ ///
+ Previous = ((int)0x8578) ,
+ ///
+ /// Original was GL_SRC0_RGB = 0x8580
+ ///
+ Src0Rgb = ((int)0x8580) ,
+ ///
+ /// Original was GL_SRC1_RGB = 0x8581
+ ///
+ Src1Rgb = ((int)0x8581) ,
+ ///
+ /// Original was GL_SRC2_RGB = 0x8582
+ ///
+ Src2Rgb = ((int)0x8582) ,
+ ///
+ /// Original was GL_SRC0_ALPHA = 0x8588
+ ///
+ Src0Alpha = ((int)0x8588) ,
+ ///
+ /// Original was GL_SRC1_ALPHA = 0x8589
+ ///
+ Src1Alpha = ((int)0x8589) ,
+ ///
+ /// Original was GL_SRC2_ALPHA = 0x858A
+ ///
+ Src2Alpha = ((int)0x858A) ,
+ ///
+ /// Original was GL_OPERAND0_RGB = 0x8590
+ ///
+ Operand0Rgb = ((int)0x8590) ,
+ ///
+ /// Original was GL_OPERAND1_RGB = 0x8591
+ ///
+ Operand1Rgb = ((int)0x8591) ,
+ ///
+ /// Original was GL_OPERAND2_RGB = 0x8592
+ ///
+ Operand2Rgb = ((int)0x8592) ,
+ ///
+ /// Original was GL_OPERAND0_ALPHA = 0x8598
+ ///
+ Operand0Alpha = ((int)0x8598) ,
+ ///
+ /// Original was GL_OPERAND1_ALPHA = 0x8599
+ ///
+ Operand1Alpha = ((int)0x8599) ,
+ ///
+ /// Original was GL_OPERAND2_ALPHA = 0x859A
+ ///
+ Operand2Alpha = ((int)0x859A) ,
+ ///
+ /// Original was GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
+ ///
+ NumCompressedTextureFormats = ((int)0x86A2) ,
+ ///
+ /// Original was GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3
+ ///
+ CompressedTextureFormats = ((int)0x86A3) ,
+ ///
+ /// Original was GL_DOT3_RGB = 0x86AE
+ ///
+ Dot3Rgb = ((int)0x86AE) ,
+ ///
+ /// Original was GL_DOT3_RGBA = 0x86AF
+ ///
+ Dot3Rgba = ((int)0x86AF) ,
+ ///
+ /// Original was GL_BUFFER_SIZE = 0x8764
+ ///
+ BufferSize = ((int)0x8764) ,
+ ///
+ /// Original was GL_BUFFER_USAGE = 0x8765
+ ///
+ BufferUsage = ((int)0x8765) ,
+ ///
+ /// Original was GL_ARRAY_BUFFER = 0x8892
+ ///
+ ArrayBuffer = ((int)0x8892) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BUFFER = 0x8893
+ ///
+ ElementArrayBuffer = ((int)0x8893) ,
+ ///
+ /// Original was GL_ARRAY_BUFFER_BINDING = 0x8894
+ ///
+ ArrayBufferBinding = ((int)0x8894) ,
+ ///
+ /// Original was GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
+ ///
+ ElementArrayBufferBinding = ((int)0x8895) ,
+ ///
+ /// Original was GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896
+ ///
+ VertexArrayBufferBinding = ((int)0x8896) ,
+ ///
+ /// Original was GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897
+ ///
+ NormalArrayBufferBinding = ((int)0x8897) ,
+ ///
+ /// Original was GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898
+ ///
+ ColorArrayBufferBinding = ((int)0x8898) ,
+ ///
+ /// Original was GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A
+ ///
+ TextureCoordArrayBufferBinding = ((int)0x889A) ,
+ ///
+ /// Original was GL_STATIC_DRAW = 0x88E4
+ ///
+ StaticDraw = ((int)0x88E4) ,
+ ///
+ /// Original was GL_DYNAMIC_DRAW = 0x88E8
+ ///
+ DynamicDraw = ((int)0x88E8) ,
+ ///
+ /// Original was GL_ONE = 1
+ ///
+ One = ((int)1) ,
+ ///
+ /// Original was GL_TRUE = 1
+ ///
+ True = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CL_1_0 = 1
+ ///
+ VersionEsCl10 = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CL_1_1 = 1
+ ///
+ VersionEsCl11 = ((int)1) ,
+ ///
+ /// Original was GL_VERSION_ES_CM_1_1 = 1
+ ///
+ VersionEsCm11 = ((int)1) ,
+ }
+
+ ///
+ /// Used in GL.VertexPointer
+ ///
+ public enum VertexPointerType : int
+ {
+ ///
+ /// Original was GL_SHORT = 0x1402
+ ///
+ Short = ((int)0x1402) ,
+ ///
+ /// Original was GL_INT = 0x1404
+ ///
+ Int = ((int)0x1404) ,
+ ///
+ /// Original was GL_FLOAT = 0x1406
+ ///
+ Float = ((int)0x1406) ,
+ ///
+ /// Original was GL_DOUBLE = 0x140A
+ ///
+ Double = ((int)0x140A) ,
+ }
+
+}
diff --git a/Source/OpenTK/Graphics/ES11/Enums.cs b/Source/OpenTK/Graphics/ES11/Enums.cs
deleted file mode 100644
index f112175c..00000000
--- a/Source/OpenTK/Graphics/ES11/Enums.cs
+++ /dev/null
@@ -1,1426 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-using System;
-
-namespace OpenTK.Graphics.ES11
-{
- #pragma warning disable 1591
-
- public enum All : int
- {
- False = ((int)0),
- NoError = ((int)0),
- NoneOes = ((int)0),
- Zero = ((int)0),
- Points = ((int)0x0000),
- DepthBufferBit = ((int)0x00000100),
- StencilBufferBit = ((int)0x00000400),
- ColorBufferBit = ((int)0x00004000),
- Lines = ((int)0x0001),
- LineLoop = ((int)0x0002),
- LineStrip = ((int)0x0003),
- Triangles = ((int)0x0004),
- TriangleStrip = ((int)0x0005),
- TriangleFan = ((int)0x0006),
- Add = ((int)0x0104),
- Never = ((int)0x0200),
- Less = ((int)0x0201),
- Equal = ((int)0x0202),
- Lequal = ((int)0x0203),
- Greater = ((int)0x0204),
- Notequal = ((int)0x0205),
- Gequal = ((int)0x0206),
- Always = ((int)0x0207),
- SrcColor = ((int)0x0300),
- OneMinusSrcColor = ((int)0x0301),
- SrcAlpha = ((int)0x0302),
- OneMinusSrcAlpha = ((int)0x0303),
- DstAlpha = ((int)0x0304),
- OneMinusDstAlpha = ((int)0x0305),
- DstColor = ((int)0x0306),
- OneMinusDstColor = ((int)0x0307),
- SrcAlphaSaturate = ((int)0x0308),
- Front = ((int)0x0404),
- Back = ((int)0x0405),
- FrontAndBack = ((int)0x0408),
- InvalidEnum = ((int)0x0500),
- InvalidValue = ((int)0x0501),
- InvalidOperation = ((int)0x0502),
- StackOverflow = ((int)0x0503),
- StackUnderflow = ((int)0x0504),
- OutOfMemory = ((int)0x0505),
- InvalidFramebufferOperationOes = ((int)0x0506),
- Exp = ((int)0x0800),
- Exp2 = ((int)0x0801),
- Cw = ((int)0x0900),
- Ccw = ((int)0x0901),
- CurrentColor = ((int)0x0B00),
- CurrentNormal = ((int)0x0B02),
- CurrentTextureCoords = ((int)0x0B03),
- PointSmooth = ((int)0x0B10),
- PointSize = ((int)0x0B11),
- SmoothPointSizeRange = ((int)0x0B12),
- LineSmooth = ((int)0x0B20),
- LineWidth = ((int)0x0B21),
- SmoothLineWidthRange = ((int)0x0B22),
- CullFace = ((int)0x0B44),
- CullFaceMode = ((int)0x0B45),
- FrontFace = ((int)0x0B46),
- Lighting = ((int)0x0B50),
- LightModelTwoSide = ((int)0x0B52),
- LightModelAmbient = ((int)0x0B53),
- ShadeModel = ((int)0x0B54),
- ColorMaterial = ((int)0x0B57),
- Fog = ((int)0x0B60),
- FogDensity = ((int)0x0B62),
- FogStart = ((int)0x0B63),
- FogEnd = ((int)0x0B64),
- FogMode = ((int)0x0B65),
- FogColor = ((int)0x0B66),
- DepthRange = ((int)0x0B70),
- DepthTest = ((int)0x0B71),
- DepthWritemask = ((int)0x0B72),
- DepthClearValue = ((int)0x0B73),
- DepthFunc = ((int)0x0B74),
- StencilTest = ((int)0x0B90),
- StencilClearValue = ((int)0x0B91),
- StencilFunc = ((int)0x0B92),
- StencilValueMask = ((int)0x0B93),
- StencilFail = ((int)0x0B94),
- StencilPassDepthFail = ((int)0x0B95),
- StencilPassDepthPass = ((int)0x0B96),
- StencilRef = ((int)0x0B97),
- StencilWritemask = ((int)0x0B98),
- MatrixMode = ((int)0x0BA0),
- Normalize = ((int)0x0BA1),
- Viewport = ((int)0x0BA2),
- ModelviewStackDepth = ((int)0x0BA3),
- ProjectionStackDepth = ((int)0x0BA4),
- TextureStackDepth = ((int)0x0BA5),
- ModelviewMatrix = ((int)0x0BA6),
- ProjectionMatrix = ((int)0x0BA7),
- TextureMatrix = ((int)0x0BA8),
- AlphaTest = ((int)0x0BC0),
- AlphaTestFunc = ((int)0x0BC1),
- AlphaTestRef = ((int)0x0BC2),
- Dither = ((int)0x0BD0),
- BlendDst = ((int)0x0BE0),
- BlendSrc = ((int)0x0BE1),
- Blend = ((int)0x0BE2),
- LogicOpMode = ((int)0x0BF0),
- ColorLogicOp = ((int)0x0BF2),
- ScissorBox = ((int)0x0C10),
- ScissorTest = ((int)0x0C11),
- ColorClearValue = ((int)0x0C22),
- ColorWritemask = ((int)0x0C23),
- PerspectiveCorrectionHint = ((int)0x0C50),
- PointSmoothHint = ((int)0x0C51),
- LineSmoothHint = ((int)0x0C52),
- FogHint = ((int)0x0C54),
- UnpackAlignment = ((int)0x0CF5),
- PackAlignment = ((int)0x0D05),
- AlphaScale = ((int)0x0D1C),
- MaxLights = ((int)0x0D31),
- MaxClipPlanes = ((int)0x0D32),
- MaxClipPlanesImg = ((int)0x0D32),
- MaxTextureSize = ((int)0x0D33),
- MaxModelviewStackDepth = ((int)0x0D36),
- MaxProjectionStackDepth = ((int)0x0D38),
- MaxTextureStackDepth = ((int)0x0D39),
- MaxViewportDims = ((int)0x0D3A),
- SubpixelBits = ((int)0x0D50),
- RedBits = ((int)0x0D52),
- GreenBits = ((int)0x0D53),
- BlueBits = ((int)0x0D54),
- AlphaBits = ((int)0x0D55),
- DepthBits = ((int)0x0D56),
- StencilBits = ((int)0x0D57),
- Texture2D = ((int)0x0DE1),
- DontCare = ((int)0x1100),
- Fastest = ((int)0x1101),
- Nicest = ((int)0x1102),
- Ambient = ((int)0x1200),
- Diffuse = ((int)0x1201),
- Specular = ((int)0x1202),
- Position = ((int)0x1203),
- SpotDirection = ((int)0x1204),
- SpotExponent = ((int)0x1205),
- SpotCutoff = ((int)0x1206),
- ConstantAttenuation = ((int)0x1207),
- LinearAttenuation = ((int)0x1208),
- QuadraticAttenuation = ((int)0x1209),
- Byte = ((int)0x1400),
- UnsignedByte = ((int)0x1401),
- Short = ((int)0x1402),
- UnsignedShort = ((int)0x1403),
- Float = ((int)0x1406),
- Fixed = ((int)0x140C),
- FixedOes = ((int)0x140C),
- Clear = ((int)0x1500),
- And = ((int)0x1501),
- AndReverse = ((int)0x1502),
- Copy = ((int)0x1503),
- AndInverted = ((int)0x1504),
- Noop = ((int)0x1505),
- Xor = ((int)0x1506),
- Or = ((int)0x1507),
- Nor = ((int)0x1508),
- Equiv = ((int)0x1509),
- Invert = ((int)0x150A),
- OrReverse = ((int)0x150B),
- CopyInverted = ((int)0x150C),
- OrInverted = ((int)0x150D),
- Nand = ((int)0x150E),
- Set = ((int)0x150F),
- Emission = ((int)0x1600),
- Shininess = ((int)0x1601),
- AmbientAndDiffuse = ((int)0x1602),
- Modelview = ((int)0x1700),
- Projection = ((int)0x1701),
- Texture = ((int)0x1702),
- Alpha = ((int)0x1906),
- Rgb = ((int)0x1907),
- Rgba = ((int)0x1908),
- Luminance = ((int)0x1909),
- LuminanceAlpha = ((int)0x190A),
- Flat = ((int)0x1D00),
- Smooth = ((int)0x1D01),
- Keep = ((int)0x1E00),
- Replace = ((int)0x1E01),
- Incr = ((int)0x1E02),
- Decr = ((int)0x1E03),
- Vendor = ((int)0x1F00),
- Renderer = ((int)0x1F01),
- Version = ((int)0x1F02),
- Extensions = ((int)0x1F03),
- Modulate = ((int)0x2100),
- Decal = ((int)0x2101),
- TextureEnvMode = ((int)0x2200),
- TextureEnvColor = ((int)0x2201),
- TextureEnv = ((int)0x2300),
- TextureGenModeOes = ((int)0x2500),
- Nearest = ((int)0x2600),
- Linear = ((int)0x2601),
- NearestMipmapNearest = ((int)0x2700),
- LinearMipmapNearest = ((int)0x2701),
- NearestMipmapLinear = ((int)0x2702),
- LinearMipmapLinear = ((int)0x2703),
- TextureMagFilter = ((int)0x2800),
- TextureMinFilter = ((int)0x2801),
- TextureWrapS = ((int)0x2802),
- TextureWrapT = ((int)0x2803),
- Repeat = ((int)0x2901),
- PolygonOffsetUnits = ((int)0x2A00),
- ClipPlane0 = ((int)0x3000),
- ClipPlane0Img = ((int)0x3000),
- ClipPlane1 = ((int)0x3001),
- ClipPlane1Img = ((int)0x3001),
- ClipPlane2 = ((int)0x3002),
- ClipPlane2Img = ((int)0x3002),
- ClipPlane3 = ((int)0x3003),
- ClipPlane3Img = ((int)0x3003),
- ClipPlane4 = ((int)0x3004),
- ClipPlane4Img = ((int)0x3004),
- ClipPlane5 = ((int)0x3005),
- ClipPlane5Img = ((int)0x3005),
- Light0 = ((int)0x4000),
- Light1 = ((int)0x4001),
- Light2 = ((int)0x4002),
- Light3 = ((int)0x4003),
- Light4 = ((int)0x4004),
- Light5 = ((int)0x4005),
- Light6 = ((int)0x4006),
- Light7 = ((int)0x4007),
- FuncAddOes = ((int)0x8006),
- BlendEquationOes = ((int)0x8009),
- BlendEquationRgbOes = ((int)0x8009),
- FuncSubtractOes = ((int)0x800A),
- FuncReverseSubtractOes = ((int)0x800B),
- UnsignedShort4444 = ((int)0x8033),
- UnsignedShort5551 = ((int)0x8034),
- PolygonOffsetFill = ((int)0x8037),
- PolygonOffsetFactor = ((int)0x8038),
- RescaleNormal = ((int)0x803A),
- Rgb8Oes = ((int)0x8051),
- Rgba4Oes = ((int)0x8056),
- Rgb5A1Oes = ((int)0x8057),
- Rgba8Oes = ((int)0x8058),
- TextureBinding2D = ((int)0x8069),
- VertexArray = ((int)0x8074),
- NormalArray = ((int)0x8075),
- ColorArray = ((int)0x8076),
- TextureCoordArray = ((int)0x8078),
- VertexArraySize = ((int)0x807A),
- VertexArrayType = ((int)0x807B),
- VertexArrayStride = ((int)0x807C),
- NormalArrayType = ((int)0x807E),
- NormalArrayStride = ((int)0x807F),
- ColorArraySize = ((int)0x8081),
- ColorArrayType = ((int)0x8082),
- ColorArrayStride = ((int)0x8083),
- TextureCoordArraySize = ((int)0x8088),
- TextureCoordArrayType = ((int)0x8089),
- TextureCoordArrayStride = ((int)0x808A),
- VertexArrayPointer = ((int)0x808E),
- NormalArrayPointer = ((int)0x808F),
- ColorArrayPointer = ((int)0x8090),
- TextureCoordArrayPointer = ((int)0x8092),
- Multisample = ((int)0x809D),
- SampleAlphaToCoverage = ((int)0x809E),
- SampleAlphaToOne = ((int)0x809F),
- SampleCoverage = ((int)0x80A0),
- SampleBuffers = ((int)0x80A8),
- Samples = ((int)0x80A9),
- SampleCoverageValue = ((int)0x80AA),
- SampleCoverageInvert = ((int)0x80AB),
- BlendDstRgbOes = ((int)0x80C8),
- BlendSrcRgbOes = ((int)0x80C9),
- BlendDstAlphaOes = ((int)0x80CA),
- BlendSrcAlphaOes = ((int)0x80CB),
- Bgra = ((int)0x80E1),
- PointSizeMin = ((int)0x8126),
- PointSizeMax = ((int)0x8127),
- PointFadeThresholdSize = ((int)0x8128),
- PointDistanceAttenuation = ((int)0x8129),
- ClampToEdge = ((int)0x812F),
- GenerateMipmap = ((int)0x8191),
- GenerateMipmapHint = ((int)0x8192),
- DepthComponent16Oes = ((int)0x81A5),
- DepthComponent24Oes = ((int)0x81A6),
- DepthComponent32Oes = ((int)0x81A7),
- UnsignedShort565 = ((int)0x8363),
- UnsignedShort4444Rev = ((int)0x8365),
- UnsignedShort1555Rev = ((int)0x8366),
- MirroredRepeatOes = ((int)0x8370),
- AliasedPointSizeRange = ((int)0x846D),
- AliasedLineWidthRange = ((int)0x846E),
- Texture0 = ((int)0x84C0),
- Texture1 = ((int)0x84C1),
- Texture2 = ((int)0x84C2),
- Texture3 = ((int)0x84C3),
- Texture4 = ((int)0x84C4),
- Texture5 = ((int)0x84C5),
- Texture6 = ((int)0x84C6),
- Texture7 = ((int)0x84C7),
- Texture8 = ((int)0x84C8),
- Texture9 = ((int)0x84C9),
- Texture10 = ((int)0x84CA),
- Texture11 = ((int)0x84CB),
- Texture12 = ((int)0x84CC),
- Texture13 = ((int)0x84CD),
- Texture14 = ((int)0x84CE),
- Texture15 = ((int)0x84CF),
- Texture16 = ((int)0x84D0),
- Texture17 = ((int)0x84D1),
- Texture18 = ((int)0x84D2),
- Texture19 = ((int)0x84D3),
- Texture20 = ((int)0x84D4),
- Texture21 = ((int)0x84D5),
- Texture22 = ((int)0x84D6),
- Texture23 = ((int)0x84D7),
- Texture24 = ((int)0x84D8),
- Texture25 = ((int)0x84D9),
- Texture26 = ((int)0x84DA),
- Texture27 = ((int)0x84DB),
- Texture28 = ((int)0x84DC),
- Texture29 = ((int)0x84DD),
- Texture30 = ((int)0x84DE),
- Texture31 = ((int)0x84DF),
- ActiveTexture = ((int)0x84E0),
- ClientActiveTexture = ((int)0x84E1),
- MaxTextureUnits = ((int)0x84E2),
- Subtract = ((int)0x84E7),
- MaxRenderbufferSizeOes = ((int)0x84E8),
- AllCompletedNv = ((int)0x84F2),
- FenceStatusNv = ((int)0x84F3),
- FenceConditionNv = ((int)0x84F4),
- DepthStencilOes = ((int)0x84F9),
- UnsignedInt248Oes = ((int)0x84FA),
- TextureMaxAnisotropyExt = ((int)0x84FE),
- MaxTextureMaxAnisotropyExt = ((int)0x84FF),
- IncrWrapOes = ((int)0x8507),
- DecrWrapOes = ((int)0x8508),
- NormalMapOes = ((int)0x8511),
- ReflectionMapOes = ((int)0x8512),
- TextureCubeMapOes = ((int)0x8513),
- TextureBindingCubeMapOes = ((int)0x8514),
- TextureCubeMapPositiveXOes = ((int)0x8515),
- TextureCubeMapNegativeXOes = ((int)0x8516),
- TextureCubeMapPositiveYOes = ((int)0x8517),
- TextureCubeMapNegativeYOes = ((int)0x8518),
- TextureCubeMapPositiveZOes = ((int)0x8519),
- TextureCubeMapNegativeZOes = ((int)0x851A),
- MaxCubeMapTextureSizeOes = ((int)0x851C),
- Combine = ((int)0x8570),
- CombineRgb = ((int)0x8571),
- CombineAlpha = ((int)0x8572),
- RgbScale = ((int)0x8573),
- AddSigned = ((int)0x8574),
- Interpolate = ((int)0x8575),
- Constant = ((int)0x8576),
- PrimaryColor = ((int)0x8577),
- Previous = ((int)0x8578),
- Src0Rgb = ((int)0x8580),
- Src1Rgb = ((int)0x8581),
- Src2Rgb = ((int)0x8582),
- Src0Alpha = ((int)0x8588),
- Src1Alpha = ((int)0x8589),
- Src2Alpha = ((int)0x858A),
- Operand0Rgb = ((int)0x8590),
- Operand1Rgb = ((int)0x8591),
- Operand2Rgb = ((int)0x8592),
- Operand0Alpha = ((int)0x8598),
- Operand1Alpha = ((int)0x8599),
- Operand2Alpha = ((int)0x859A),
- NumCompressedTextureFormats = ((int)0x86A2),
- CompressedTextureFormats = ((int)0x86A3),
- MaxVertexUnitsOes = ((int)0x86A4),
- WeightArrayTypeOes = ((int)0x86A9),
- WeightArrayStrideOes = ((int)0x86AA),
- WeightArraySizeOes = ((int)0x86AB),
- WeightArrayPointerOes = ((int)0x86AC),
- WeightArrayOes = ((int)0x86AD),
- Dot3Rgb = ((int)0x86AE),
- Dot3Rgba = ((int)0x86AF),
- Dot3RgbaImg = ((int)0x86AF),
- BufferSize = ((int)0x8764),
- BufferUsage = ((int)0x8765),
- AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE),
- Gl3DcXAmd = ((int)0x87F9),
- Gl3DcXyAmd = ((int)0x87FA),
- BlendEquationAlphaOes = ((int)0x883D),
- MatrixPaletteOes = ((int)0x8840),
- MaxPaletteMatricesOes = ((int)0x8842),
- CurrentPaletteMatrixOes = ((int)0x8843),
- MatrixIndexArrayOes = ((int)0x8844),
- MatrixIndexArraySizeOes = ((int)0x8846),
- MatrixIndexArrayTypeOes = ((int)0x8847),
- MatrixIndexArrayStrideOes = ((int)0x8848),
- MatrixIndexArrayPointerOes = ((int)0x8849),
- PointSpriteOes = ((int)0x8861),
- CoordReplaceOes = ((int)0x8862),
- ArrayBuffer = ((int)0x8892),
- ElementArrayBuffer = ((int)0x8893),
- ArrayBufferBinding = ((int)0x8894),
- ElementArrayBufferBinding = ((int)0x8895),
- VertexArrayBufferBinding = ((int)0x8896),
- NormalArrayBufferBinding = ((int)0x8897),
- ColorArrayBufferBinding = ((int)0x8898),
- TextureCoordArrayBufferBinding = ((int)0x889A),
- WeightArrayBufferBindingOes = ((int)0x889E),
- WriteOnlyOes = ((int)0x88B9),
- BufferAccessOes = ((int)0x88BB),
- BufferMappedOes = ((int)0x88BC),
- BufferMapPointerOes = ((int)0x88BD),
- StaticDraw = ((int)0x88E4),
- DynamicDraw = ((int)0x88E8),
- Depth24Stencil8Oes = ((int)0x88F0),
- PointSizeArrayTypeOes = ((int)0x898A),
- PointSizeArrayStrideOes = ((int)0x898B),
- PointSizeArrayPointerOes = ((int)0x898C),
- ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D),
- ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E),
- TextureMatrixFloatAsIntBitsOes = ((int)0x898F),
- Palette4Rgb8Oes = ((int)0x8B90),
- Palette4Rgba8Oes = ((int)0x8B91),
- Palette4R5G6B5Oes = ((int)0x8B92),
- Palette4Rgba4Oes = ((int)0x8B93),
- Palette4Rgb5A1Oes = ((int)0x8B94),
- Palette8Rgb8Oes = ((int)0x8B95),
- Palette8Rgba8Oes = ((int)0x8B96),
- Palette8R5G6B5Oes = ((int)0x8B97),
- Palette8Rgba4Oes = ((int)0x8B98),
- Palette8Rgb5A1Oes = ((int)0x8B99),
- ImplementationColorReadTypeOes = ((int)0x8B9A),
- ImplementationColorReadFormatOes = ((int)0x8B9B),
- PointSizeArrayOes = ((int)0x8B9C),
- TextureCropRectOes = ((int)0x8B9D),
- MatrixIndexArrayBufferBindingOes = ((int)0x8B9E),
- PointSizeArrayBufferBindingOes = ((int)0x8B9F),
- CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00),
- CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01),
- CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02),
- CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03),
- ModulateColorImg = ((int)0x8C04),
- RecipAddSignedAlphaImg = ((int)0x8C05),
- TextureAlphaModulateImg = ((int)0x8C06),
- FactorAlphaModulateImg = ((int)0x8C07),
- FragmentAlphaModulateImg = ((int)0x8C08),
- AddBlendImg = ((int)0x8C09),
- AtcRgbAmd = ((int)0x8C92),
- AtcRgbaExplicitAlphaAmd = ((int)0x8C93),
- FramebufferBindingOes = ((int)0x8CA6),
- RenderbufferBindingOes = ((int)0x8CA7),
- FramebufferAttachmentObjectTypeOes = ((int)0x8CD0),
- FramebufferAttachmentObjectNameOes = ((int)0x8CD1),
- FramebufferAttachmentTextureLevelOes = ((int)0x8CD2),
- FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3),
- FramebufferCompleteOes = ((int)0x8CD5),
- FramebufferIncompleteAttachmentOes = ((int)0x8CD6),
- FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7),
- FramebufferIncompleteDimensionsOes = ((int)0x8CD9),
- FramebufferIncompleteFormatsOes = ((int)0x8CDA),
- FramebufferUnsupportedOes = ((int)0x8CDD),
- ColorAttachment0Oes = ((int)0x8CE0),
- DepthAttachmentOes = ((int)0x8D00),
- StencilAttachmentOes = ((int)0x8D20),
- FramebufferOes = ((int)0x8D40),
- RenderbufferOes = ((int)0x8D41),
- RenderbufferWidthOes = ((int)0x8D42),
- RenderbufferHeightOes = ((int)0x8D43),
- RenderbufferInternalFormatOes = ((int)0x8D44),
- StencilIndex1Oes = ((int)0x8D46),
- StencilIndex4Oes = ((int)0x8D47),
- StencilIndex8Oes = ((int)0x8D48),
- RenderbufferRedSizeOes = ((int)0x8D50),
- RenderbufferGreenSizeOes = ((int)0x8D51),
- RenderbufferBlueSizeOes = ((int)0x8D52),
- RenderbufferAlphaSizeOes = ((int)0x8D53),
- RenderbufferDepthSizeOes = ((int)0x8D54),
- RenderbufferStencilSizeOes = ((int)0x8D55),
- TextureGenStrOes = ((int)0x8D60),
- Rgb565Oes = ((int)0x8D62),
- Etc1Rgb8Oes = ((int)0x8D64),
- PerfmonGlobalModeQcom = ((int)0x8FA0),
- AmdCompressed3DcTexture = ((int)1),
- AmdCompressedAtcTexture = ((int)1),
- ExtTextureFilterAnisotropic = ((int)1),
- ExtTextureFormatBgra8888 = ((int)1),
- ImgReadFormat = ((int)1),
- ImgTextureCompressionPvrtc = ((int)1),
- ImgTextureEnvEnhancedFixedFunction = ((int)1),
- ImgUserClipPlane = ((int)1),
- NvFence = ((int)1),
- OesBlendEquationSeparate = ((int)1),
- OesBlendFuncSeparate = ((int)1),
- OesBlendSubtract = ((int)1),
- OesByteCoordinates = ((int)1),
- OesCompressedEtc1Rgb8Texture = ((int)1),
- OesCompressedPalettedTexture = ((int)1),
- OesDepth24 = ((int)1),
- OesDepth32 = ((int)1),
- OesDrawTexture = ((int)1),
- OesEglImage = ((int)1),
- OesElementIndexUint = ((int)1),
- OesExtendedMatrixPalette = ((int)1),
- OesFboRenderMipmap = ((int)1),
- OesFixedPoint = ((int)1),
- OesFramebufferObject = ((int)1),
- OesMapbuffer = ((int)1),
- OesMatrixGet = ((int)1),
- OesMatrixPalette = ((int)1),
- OesPackedDepthStencil = ((int)1),
- OesPointSizeArray = ((int)1),
- OesPointSprite = ((int)1),
- OesQueryMatrix = ((int)1),
- OesReadFormat = ((int)1),
- OesRgb8Rgba8 = ((int)1),
- OesSinglePrecision = ((int)1),
- OesStencil1 = ((int)1),
- OesStencil4 = ((int)1),
- OesStencil8 = ((int)1),
- OesStencilWrap = ((int)1),
- OesTextureCubeMap = ((int)1),
- OesTextureEnvCrossbar = ((int)1),
- OesTextureMirroredRepeat = ((int)1),
- One = ((int)1),
- QcomDriverControl = ((int)1),
- QcomPerfmonGlobalMode = ((int)1),
- True = ((int)1),
- VersionEsCl10 = ((int)1),
- VersionEsCl11 = ((int)1),
- VersionEsCm10 = ((int)1),
- VersionEsCm11 = ((int)1),
- }
-
- public enum AlphaFunction : int
- {
- Never = ((int)0x0200),
- Less = ((int)0x0201),
- Equal = ((int)0x0202),
- Lequal = ((int)0x0203),
- Greater = ((int)0x0204),
- Notequal = ((int)0x0205),
- Gequal = ((int)0x0206),
- Always = ((int)0x0207),
- }
-
- public enum AmdCompressed3Dctexture : int
- {
- Gl3DcXAmd = ((int)0x87F9),
- Gl3DcXyAmd = ((int)0x87FA),
- AmdCompressed3DcTexture = ((int)1),
- }
-
- public enum AmdCompressedAtctexture : int
- {
- AtcRgbaInterpolatedAlphaAmd = ((int)0x87EE),
- AtcRgbAmd = ((int)0x8C92),
- AtcRgbaExplicitAlphaAmd = ((int)0x8C93),
- AmdCompressedAtcTexture = ((int)1),
- }
-
- public enum BeginMode : int
- {
- Points = ((int)0x0000),
- Lines = ((int)0x0001),
- LineLoop = ((int)0x0002),
- LineStrip = ((int)0x0003),
- Triangles = ((int)0x0004),
- TriangleStrip = ((int)0x0005),
- TriangleFan = ((int)0x0006),
- }
-
- public enum BlendingFactorDest : int
- {
- Zero = ((int)0),
- SrcColor = ((int)0x0300),
- OneMinusSrcColor = ((int)0x0301),
- SrcAlpha = ((int)0x0302),
- OneMinusSrcAlpha = ((int)0x0303),
- DstAlpha = ((int)0x0304),
- OneMinusDstAlpha = ((int)0x0305),
- One = ((int)1),
- }
-
- public enum BlendingFactorSrc : int
- {
- DstColor = ((int)0x0306),
- OneMinusDstColor = ((int)0x0307),
- SrcAlphaSaturate = ((int)0x0308),
- }
-
- public enum Boolean : int
- {
- False = ((int)0),
- True = ((int)1),
- }
-
- public enum BufferObjects : int
- {
- BufferSize = ((int)0x8764),
- BufferUsage = ((int)0x8765),
- ArrayBuffer = ((int)0x8892),
- ElementArrayBuffer = ((int)0x8893),
- ArrayBufferBinding = ((int)0x8894),
- ElementArrayBufferBinding = ((int)0x8895),
- VertexArrayBufferBinding = ((int)0x8896),
- NormalArrayBufferBinding = ((int)0x8897),
- ColorArrayBufferBinding = ((int)0x8898),
- TextureCoordArrayBufferBinding = ((int)0x889A),
- StaticDraw = ((int)0x88E4),
- DynamicDraw = ((int)0x88E8),
- }
-
- [Flags]
- public enum ClearBufferMask : int
- {
- DepthBufferBit = ((int)0x00000100),
- StencilBufferBit = ((int)0x00000400),
- ColorBufferBit = ((int)0x00004000),
- }
-
- public enum ClipPlaneName : int
- {
- ClipPlane0 = ((int)0x3000),
- ClipPlane1 = ((int)0x3001),
- ClipPlane2 = ((int)0x3002),
- ClipPlane3 = ((int)0x3003),
- ClipPlane4 = ((int)0x3004),
- ClipPlane5 = ((int)0x3005),
- }
-
- public enum CullFaceMode : int
- {
- Front = ((int)0x0404),
- Back = ((int)0x0405),
- FrontAndBack = ((int)0x0408),
- }
-
- public enum DataType : int
- {
- Byte = ((int)0x1400),
- UnsignedByte = ((int)0x1401),
- Short = ((int)0x1402),
- UnsignedShort = ((int)0x1403),
- Float = ((int)0x1406),
- Fixed = ((int)0x140C),
- }
-
- public enum EnableCap : int
- {
- PointSmooth = ((int)0x0B10),
- LineSmooth = ((int)0x0B20),
- CullFace = ((int)0x0B44),
- Lighting = ((int)0x0B50),
- ColorMaterial = ((int)0x0B57),
- Fog = ((int)0x0B60),
- DepthTest = ((int)0x0B71),
- StencilTest = ((int)0x0B90),
- Normalize = ((int)0x0BA1),
- AlphaTest = ((int)0x0BC0),
- Dither = ((int)0x0BD0),
- Blend = ((int)0x0BE2),
- ColorLogicOp = ((int)0x0BF2),
- ScissorTest = ((int)0x0C11),
- Texture2D = ((int)0x0DE1),
- PolygonOffsetFill = ((int)0x8037),
- RescaleNormal = ((int)0x803A),
- VertexArray = ((int)0x8074),
- NormalArray = ((int)0x8075),
- ColorArray = ((int)0x8076),
- TextureCoordArray = ((int)0x8078),
- Multisample = ((int)0x809D),
- SampleAlphaToCoverage = ((int)0x809E),
- SampleAlphaToOne = ((int)0x809F),
- SampleCoverage = ((int)0x80A0),
- }
-
- public enum ErrorCode : int
- {
- NoError = ((int)0),
- InvalidEnum = ((int)0x0500),
- InvalidValue = ((int)0x0501),
- InvalidOperation = ((int)0x0502),
- StackOverflow = ((int)0x0503),
- StackUnderflow = ((int)0x0504),
- OutOfMemory = ((int)0x0505),
- }
-
- public enum ExtTextureFilterAnisotropic : int
- {
- TextureMaxAnisotropyExt = ((int)0x84FE),
- MaxTextureMaxAnisotropyExt = ((int)0x84FF),
- ExtTextureFilterAnisotropic = ((int)1),
- }
-
- public enum ExtTextureFormatBgra8888 : int
- {
- Bgra = ((int)0x80E1),
- ExtTextureFormatBgra8888 = ((int)1),
- }
-
- public enum FogMode : int
- {
- Exp = ((int)0x0800),
- Exp2 = ((int)0x0801),
- }
-
- public enum FogParameter : int
- {
- FogDensity = ((int)0x0B62),
- FogStart = ((int)0x0B63),
- FogEnd = ((int)0x0B64),
- FogMode = ((int)0x0B65),
- FogColor = ((int)0x0B66),
- }
-
- public enum FrontFaceDirection : int
- {
- Cw = ((int)0x0900),
- Ccw = ((int)0x0901),
- }
-
- public enum GetPName : int
- {
- CurrentColor = ((int)0x0B00),
- CurrentNormal = ((int)0x0B02),
- CurrentTextureCoords = ((int)0x0B03),
- PointSize = ((int)0x0B11),
- SmoothPointSizeRange = ((int)0x0B12),
- LineWidth = ((int)0x0B21),
- SmoothLineWidthRange = ((int)0x0B22),
- CullFaceMode = ((int)0x0B45),
- FrontFace = ((int)0x0B46),
- ShadeModel = ((int)0x0B54),
- DepthRange = ((int)0x0B70),
- DepthWritemask = ((int)0x0B72),
- DepthClearValue = ((int)0x0B73),
- DepthFunc = ((int)0x0B74),
- StencilClearValue = ((int)0x0B91),
- StencilFunc = ((int)0x0B92),
- StencilValueMask = ((int)0x0B93),
- StencilFail = ((int)0x0B94),
- StencilPassDepthFail = ((int)0x0B95),
- StencilPassDepthPass = ((int)0x0B96),
- StencilRef = ((int)0x0B97),
- StencilWritemask = ((int)0x0B98),
- MatrixMode = ((int)0x0BA0),
- Viewport = ((int)0x0BA2),
- ModelviewStackDepth = ((int)0x0BA3),
- ProjectionStackDepth = ((int)0x0BA4),
- TextureStackDepth = ((int)0x0BA5),
- ModelviewMatrix = ((int)0x0BA6),
- ProjectionMatrix = ((int)0x0BA7),
- TextureMatrix = ((int)0x0BA8),
- AlphaTestFunc = ((int)0x0BC1),
- AlphaTestRef = ((int)0x0BC2),
- BlendDst = ((int)0x0BE0),
- BlendSrc = ((int)0x0BE1),
- LogicOpMode = ((int)0x0BF0),
- ScissorBox = ((int)0x0C10),
- ScissorTest = ((int)0x0C11),
- ColorClearValue = ((int)0x0C22),
- ColorWritemask = ((int)0x0C23),
- UnpackAlignment = ((int)0x0CF5),
- PackAlignment = ((int)0x0D05),
- MaxLights = ((int)0x0D31),
- MaxClipPlanes = ((int)0x0D32),
- MaxTextureSize = ((int)0x0D33),
- MaxModelviewStackDepth = ((int)0x0D36),
- MaxProjectionStackDepth = ((int)0x0D38),
- MaxTextureStackDepth = ((int)0x0D39),
- MaxViewportDims = ((int)0x0D3A),
- SubpixelBits = ((int)0x0D50),
- RedBits = ((int)0x0D52),
- GreenBits = ((int)0x0D53),
- BlueBits = ((int)0x0D54),
- AlphaBits = ((int)0x0D55),
- DepthBits = ((int)0x0D56),
- StencilBits = ((int)0x0D57),
- PolygonOffsetUnits = ((int)0x2A00),
- PolygonOffsetFill = ((int)0x8037),
- PolygonOffsetFactor = ((int)0x8038),
- TextureBinding2D = ((int)0x8069),
- VertexArraySize = ((int)0x807A),
- VertexArrayType = ((int)0x807B),
- VertexArrayStride = ((int)0x807C),
- NormalArrayType = ((int)0x807E),
- NormalArrayStride = ((int)0x807F),
- ColorArraySize = ((int)0x8081),
- ColorArrayType = ((int)0x8082),
- ColorArrayStride = ((int)0x8083),
- TextureCoordArraySize = ((int)0x8088),
- TextureCoordArrayType = ((int)0x8089),
- TextureCoordArrayStride = ((int)0x808A),
- VertexArrayPointer = ((int)0x808E),
- NormalArrayPointer = ((int)0x808F),
- ColorArrayPointer = ((int)0x8090),
- TextureCoordArrayPointer = ((int)0x8092),
- SampleBuffers = ((int)0x80A8),
- Samples = ((int)0x80A9),
- SampleCoverageValue = ((int)0x80AA),
- SampleCoverageInvert = ((int)0x80AB),
- PointSizeMin = ((int)0x8126),
- PointSizeMax = ((int)0x8127),
- PointFadeThresholdSize = ((int)0x8128),
- PointDistanceAttenuation = ((int)0x8129),
- AliasedPointSizeRange = ((int)0x846D),
- AliasedLineWidthRange = ((int)0x846E),
- MaxTextureUnits = ((int)0x84E2),
- }
-
- public enum GetTextureParameter : int
- {
- NumCompressedTextureFormats = ((int)0x86A2),
- CompressedTextureFormats = ((int)0x86A3),
- }
-
- public enum HintMode : int
- {
- DontCare = ((int)0x1100),
- Fastest = ((int)0x1101),
- Nicest = ((int)0x1102),
- }
-
- public enum HintTarget : int
- {
- PerspectiveCorrectionHint = ((int)0x0C50),
- PointSmoothHint = ((int)0x0C51),
- LineSmoothHint = ((int)0x0C52),
- FogHint = ((int)0x0C54),
- GenerateMipmapHint = ((int)0x8192),
- }
-
- public enum ImgreadFormat : int
- {
- Bgra = ((int)0x80E1),
- UnsignedShort4444Rev = ((int)0x8365),
- UnsignedShort1555Rev = ((int)0x8366),
- ImgReadFormat = ((int)1),
- }
-
- public enum ImgtextureCompressionPvrtc : int
- {
- CompressedRgbPvrtc4Bppv1Img = ((int)0x8C00),
- CompressedRgbPvrtc2Bppv1Img = ((int)0x8C01),
- CompressedRgbaPvrtc4Bppv1Img = ((int)0x8C02),
- CompressedRgbaPvrtc2Bppv1Img = ((int)0x8C03),
- ImgTextureCompressionPvrtc = ((int)1),
- }
-
- public enum ImgtextureEnvEnhancedFixedFunction : int
- {
- Dot3RgbaImg = ((int)0x86AF),
- ModulateColorImg = ((int)0x8C04),
- RecipAddSignedAlphaImg = ((int)0x8C05),
- TextureAlphaModulateImg = ((int)0x8C06),
- FactorAlphaModulateImg = ((int)0x8C07),
- FragmentAlphaModulateImg = ((int)0x8C08),
- AddBlendImg = ((int)0x8C09),
- ImgTextureEnvEnhancedFixedFunction = ((int)1),
- }
-
- public enum ImguserClipPlane : int
- {
- MaxClipPlanesImg = ((int)0x0D32),
- ClipPlane0Img = ((int)0x3000),
- ClipPlane1Img = ((int)0x3001),
- ClipPlane2Img = ((int)0x3002),
- ClipPlane3Img = ((int)0x3003),
- ClipPlane4Img = ((int)0x3004),
- ClipPlane5Img = ((int)0x3005),
- ImgUserClipPlane = ((int)1),
- }
-
- public enum LightModelParameter : int
- {
- LightModelTwoSide = ((int)0x0B52),
- LightModelAmbient = ((int)0x0B53),
- }
-
- public enum LightName : int
- {
- Light0 = ((int)0x4000),
- Light1 = ((int)0x4001),
- Light2 = ((int)0x4002),
- Light3 = ((int)0x4003),
- Light4 = ((int)0x4004),
- Light5 = ((int)0x4005),
- Light6 = ((int)0x4006),
- Light7 = ((int)0x4007),
- }
-
- public enum LightParameter : int
- {
- Ambient = ((int)0x1200),
- Diffuse = ((int)0x1201),
- Specular = ((int)0x1202),
- Position = ((int)0x1203),
- SpotDirection = ((int)0x1204),
- SpotExponent = ((int)0x1205),
- SpotCutoff = ((int)0x1206),
- ConstantAttenuation = ((int)0x1207),
- LinearAttenuation = ((int)0x1208),
- QuadraticAttenuation = ((int)0x1209),
- }
-
- public enum LogicOp : int
- {
- Clear = ((int)0x1500),
- And = ((int)0x1501),
- AndReverse = ((int)0x1502),
- Copy = ((int)0x1503),
- AndInverted = ((int)0x1504),
- Noop = ((int)0x1505),
- Xor = ((int)0x1506),
- Or = ((int)0x1507),
- Nor = ((int)0x1508),
- Equiv = ((int)0x1509),
- Invert = ((int)0x150A),
- OrReverse = ((int)0x150B),
- CopyInverted = ((int)0x150C),
- OrInverted = ((int)0x150D),
- Nand = ((int)0x150E),
- Set = ((int)0x150F),
- }
-
- public enum MaterialParameter : int
- {
- Emission = ((int)0x1600),
- Shininess = ((int)0x1601),
- AmbientAndDiffuse = ((int)0x1602),
- }
-
- public enum MatrixMode : int
- {
- Modelview = ((int)0x1700),
- Projection = ((int)0x1701),
- Texture = ((int)0x1702),
- }
-
- public enum Nvfence : int
- {
- AllCompletedNv = ((int)0x84F2),
- FenceStatusNv = ((int)0x84F3),
- FenceConditionNv = ((int)0x84F4),
- NvFence = ((int)1),
- }
-
- public enum OesBlendEquationSeparate : int
- {
- BlendEquationRgbOes = ((int)0x8009),
- BlendEquationAlphaOes = ((int)0x883D),
- OesBlendEquationSeparate = ((int)1),
- }
-
- public enum OesBlendFuncSeparate : int
- {
- BlendDstRgbOes = ((int)0x80C8),
- BlendSrcRgbOes = ((int)0x80C9),
- BlendDstAlphaOes = ((int)0x80CA),
- BlendSrcAlphaOes = ((int)0x80CB),
- OesBlendFuncSeparate = ((int)1),
- }
-
- public enum OesBlendSubtract : int
- {
- FuncAddOes = ((int)0x8006),
- BlendEquationOes = ((int)0x8009),
- FuncSubtractOes = ((int)0x800A),
- FuncReverseSubtractOes = ((int)0x800B),
- OesBlendSubtract = ((int)1),
- }
-
- public enum OesByteCoordinates : int
- {
- OesByteCoordinates = ((int)1),
- }
-
- public enum OesCompressedEtc1Rgb8Texture : int
- {
- Etc1Rgb8Oes = ((int)0x8D64),
- OesCompressedEtc1Rgb8Texture = ((int)1),
- }
-
- public enum OesCompressedPalettedTexture : int
- {
- Palette4Rgb8Oes = ((int)0x8B90),
- Palette4Rgba8Oes = ((int)0x8B91),
- Palette4R5G6B5Oes = ((int)0x8B92),
- Palette4Rgba4Oes = ((int)0x8B93),
- Palette4Rgb5A1Oes = ((int)0x8B94),
- Palette8Rgb8Oes = ((int)0x8B95),
- Palette8Rgba8Oes = ((int)0x8B96),
- Palette8R5G6B5Oes = ((int)0x8B97),
- Palette8Rgba4Oes = ((int)0x8B98),
- Palette8Rgb5A1Oes = ((int)0x8B99),
- OesCompressedPalettedTexture = ((int)1),
- }
-
- public enum OesDepth24 : int
- {
- DepthComponent24Oes = ((int)0x81A6),
- OesDepth24 = ((int)1),
- }
-
- public enum OesDepth32 : int
- {
- DepthComponent32Oes = ((int)0x81A7),
- OesDepth32 = ((int)1),
- }
-
- public enum OesDrawTexture : int
- {
- TextureCropRectOes = ((int)0x8B9D),
- OesDrawTexture = ((int)1),
- }
-
- public enum OesEglimage : int
- {
- OesEglImage = ((int)1),
- }
-
- public enum OesElementIndexUint : int
- {
- OesElementIndexUint = ((int)1),
- }
-
- public enum OesExtendedMatrixPalette : int
- {
- OesExtendedMatrixPalette = ((int)1),
- }
-
- public enum OesFboRenderMipmap : int
- {
- OesFboRenderMipmap = ((int)1),
- }
-
- public enum OesFixedPoint : int
- {
- FixedOes = ((int)0x140C),
- OesFixedPoint = ((int)1),
- }
-
- public enum OesFramebufferObject : int
- {
- NoneOes = ((int)0),
- InvalidFramebufferOperationOes = ((int)0x0506),
- Rgba4Oes = ((int)0x8056),
- Rgb5A1Oes = ((int)0x8057),
- DepthComponent16Oes = ((int)0x81A5),
- MaxRenderbufferSizeOes = ((int)0x84E8),
- FramebufferBindingOes = ((int)0x8CA6),
- RenderbufferBindingOes = ((int)0x8CA7),
- FramebufferAttachmentObjectTypeOes = ((int)0x8CD0),
- FramebufferAttachmentObjectNameOes = ((int)0x8CD1),
- FramebufferAttachmentTextureLevelOes = ((int)0x8CD2),
- FramebufferAttachmentTextureCubeMapFaceOes = ((int)0x8CD3),
- FramebufferCompleteOes = ((int)0x8CD5),
- FramebufferIncompleteAttachmentOes = ((int)0x8CD6),
- FramebufferIncompleteMissingAttachmentOes = ((int)0x8CD7),
- FramebufferIncompleteDimensionsOes = ((int)0x8CD9),
- FramebufferIncompleteFormatsOes = ((int)0x8CDA),
- FramebufferUnsupportedOes = ((int)0x8CDD),
- ColorAttachment0Oes = ((int)0x8CE0),
- DepthAttachmentOes = ((int)0x8D00),
- StencilAttachmentOes = ((int)0x8D20),
- FramebufferOes = ((int)0x8D40),
- RenderbufferOes = ((int)0x8D41),
- RenderbufferWidthOes = ((int)0x8D42),
- RenderbufferHeightOes = ((int)0x8D43),
- RenderbufferInternalFormatOes = ((int)0x8D44),
- RenderbufferRedSizeOes = ((int)0x8D50),
- RenderbufferGreenSizeOes = ((int)0x8D51),
- RenderbufferBlueSizeOes = ((int)0x8D52),
- RenderbufferAlphaSizeOes = ((int)0x8D53),
- RenderbufferDepthSizeOes = ((int)0x8D54),
- RenderbufferStencilSizeOes = ((int)0x8D55),
- Rgb565Oes = ((int)0x8D62),
- OesFramebufferObject = ((int)1),
- }
-
- public enum OesMapbuffer : int
- {
- WriteOnlyOes = ((int)0x88B9),
- BufferAccessOes = ((int)0x88BB),
- BufferMappedOes = ((int)0x88BC),
- BufferMapPointerOes = ((int)0x88BD),
- OesMapbuffer = ((int)1),
- }
-
- public enum OesMatrixGet : int
- {
- ModelviewMatrixFloatAsIntBitsOes = ((int)0x898D),
- ProjectionMatrixFloatAsIntBitsOes = ((int)0x898E),
- TextureMatrixFloatAsIntBitsOes = ((int)0x898F),
- OesMatrixGet = ((int)1),
- }
-
- public enum OesMatrixPalette : int
- {
- MaxVertexUnitsOes = ((int)0x86A4),
- WeightArrayTypeOes = ((int)0x86A9),
- WeightArrayStrideOes = ((int)0x86AA),
- WeightArraySizeOes = ((int)0x86AB),
- WeightArrayPointerOes = ((int)0x86AC),
- WeightArrayOes = ((int)0x86AD),
- MatrixPaletteOes = ((int)0x8840),
- MaxPaletteMatricesOes = ((int)0x8842),
- CurrentPaletteMatrixOes = ((int)0x8843),
- MatrixIndexArrayOes = ((int)0x8844),
- MatrixIndexArraySizeOes = ((int)0x8846),
- MatrixIndexArrayTypeOes = ((int)0x8847),
- MatrixIndexArrayStrideOes = ((int)0x8848),
- MatrixIndexArrayPointerOes = ((int)0x8849),
- WeightArrayBufferBindingOes = ((int)0x889E),
- MatrixIndexArrayBufferBindingOes = ((int)0x8B9E),
- OesMatrixPalette = ((int)1),
- }
-
- public enum OesPackedDepthStencil : int
- {
- DepthStencilOes = ((int)0x84F9),
- UnsignedInt248Oes = ((int)0x84FA),
- Depth24Stencil8Oes = ((int)0x88F0),
- OesPackedDepthStencil = ((int)1),
- }
-
- public enum OesPointSizeArray : int
- {
- PointSizeArrayTypeOes = ((int)0x898A),
- PointSizeArrayStrideOes = ((int)0x898B),
- PointSizeArrayPointerOes = ((int)0x898C),
- PointSizeArrayOes = ((int)0x8B9C),
- PointSizeArrayBufferBindingOes = ((int)0x8B9F),
- OesPointSizeArray = ((int)1),
- }
-
- public enum OesPointSprite : int
- {
- PointSpriteOes = ((int)0x8861),
- CoordReplaceOes = ((int)0x8862),
- OesPointSprite = ((int)1),
- }
-
- public enum OesQueryMatrix : int
- {
- OesQueryMatrix = ((int)1),
- }
-
- public enum OesReadFormat : int
- {
- ImplementationColorReadTypeOes = ((int)0x8B9A),
- ImplementationColorReadFormatOes = ((int)0x8B9B),
- OesReadFormat = ((int)1),
- }
-
- public enum OesRgb8Rgba8 : int
- {
- Rgb8Oes = ((int)0x8051),
- Rgba8Oes = ((int)0x8058),
- OesRgb8Rgba8 = ((int)1),
- }
-
- public enum OesSinglePrecision : int
- {
- OesSinglePrecision = ((int)1),
- }
-
- public enum OesStencil1 : int
- {
- StencilIndex1Oes = ((int)0x8D46),
- OesStencil1 = ((int)1),
- }
-
- public enum OesStencil4 : int
- {
- StencilIndex4Oes = ((int)0x8D47),
- OesStencil4 = ((int)1),
- }
-
- public enum OesStencil8 : int
- {
- StencilIndex8Oes = ((int)0x8D48),
- OesStencil8 = ((int)1),
- }
-
- public enum OesStencilWrap : int
- {
- IncrWrapOes = ((int)0x8507),
- DecrWrapOes = ((int)0x8508),
- OesStencilWrap = ((int)1),
- }
-
- public enum OesTextureCubeMap : int
- {
- TextureGenModeOes = ((int)0x2500),
- NormalMapOes = ((int)0x8511),
- ReflectionMapOes = ((int)0x8512),
- TextureCubeMapOes = ((int)0x8513),
- TextureBindingCubeMapOes = ((int)0x8514),
- TextureCubeMapPositiveXOes = ((int)0x8515),
- TextureCubeMapNegativeXOes = ((int)0x8516),
- TextureCubeMapPositiveYOes = ((int)0x8517),
- TextureCubeMapNegativeYOes = ((int)0x8518),
- TextureCubeMapPositiveZOes = ((int)0x8519),
- TextureCubeMapNegativeZOes = ((int)0x851A),
- MaxCubeMapTextureSizeOes = ((int)0x851C),
- TextureGenStrOes = ((int)0x8D60),
- OesTextureCubeMap = ((int)1),
- }
-
- public enum OesTextureEnvCrossbar : int
- {
- OesTextureEnvCrossbar = ((int)1),
- }
-
- public enum OesTextureMirroredRepeat : int
- {
- MirroredRepeatOes = ((int)0x8370),
- OesTextureMirroredRepeat = ((int)1),
- }
-
- public enum OpenGlescoreVersions : int
- {
- VersionEsCl10 = ((int)1),
- VersionEsCl11 = ((int)1),
- VersionEsCm10 = ((int)1),
- VersionEsCm11 = ((int)1),
- }
-
- public enum PixelFormat : int
- {
- Alpha = ((int)0x1906),
- Rgb = ((int)0x1907),
- Rgba = ((int)0x1908),
- Luminance = ((int)0x1909),
- LuminanceAlpha = ((int)0x190A),
- }
-
- public enum PixelStoreParameter : int
- {
- UnpackAlignment = ((int)0x0CF5),
- PackAlignment = ((int)0x0D05),
- }
-
- public enum PixelType : int
- {
- UnsignedShort4444 = ((int)0x8033),
- UnsignedShort5551 = ((int)0x8034),
- UnsignedShort565 = ((int)0x8363),
- }
-
- public enum QcomDriverControl : int
- {
- QcomDriverControl = ((int)1),
- }
-
- public enum QcomPerfmonGlobalMode : int
- {
- PerfmonGlobalModeQcom = ((int)0x8FA0),
- QcomPerfmonGlobalMode = ((int)1),
- }
-
- public enum ShadingModel : int
- {
- Flat = ((int)0x1D00),
- Smooth = ((int)0x1D01),
- }
-
- public enum StencilOp : int
- {
- Keep = ((int)0x1E00),
- Replace = ((int)0x1E01),
- Incr = ((int)0x1E02),
- Decr = ((int)0x1E03),
- }
-
- public enum StringName : int
- {
- Vendor = ((int)0x1F00),
- Renderer = ((int)0x1F01),
- Version = ((int)0x1F02),
- Extensions = ((int)0x1F03),
- }
-
- public enum TextureCombineDot3 : int
- {
- AlphaScale = ((int)0x0D1C),
- Subtract = ((int)0x84E7),
- Combine = ((int)0x8570),
- CombineRgb = ((int)0x8571),
- CombineAlpha = ((int)0x8572),
- RgbScale = ((int)0x8573),
- AddSigned = ((int)0x8574),
- Interpolate = ((int)0x8575),
- Constant = ((int)0x8576),
- PrimaryColor = ((int)0x8577),
- Previous = ((int)0x8578),
- Src0Rgb = ((int)0x8580),
- Src1Rgb = ((int)0x8581),
- Src2Rgb = ((int)0x8582),
- Src0Alpha = ((int)0x8588),
- Src1Alpha = ((int)0x8589),
- Src2Alpha = ((int)0x858A),
- Operand0Rgb = ((int)0x8590),
- Operand1Rgb = ((int)0x8591),
- Operand2Rgb = ((int)0x8592),
- Operand0Alpha = ((int)0x8598),
- Operand1Alpha = ((int)0x8599),
- Operand2Alpha = ((int)0x859A),
- Dot3Rgb = ((int)0x86AE),
- Dot3Rgba = ((int)0x86AF),
- }
-
- public enum TextureEnvMode : int
- {
- Add = ((int)0x0104),
- Modulate = ((int)0x2100),
- Decal = ((int)0x2101),
- }
-
- public enum TextureEnvParameter : int
- {
- TextureEnvMode = ((int)0x2200),
- TextureEnvColor = ((int)0x2201),
- }
-
- public enum TextureEnvTarget : int
- {
- TextureEnv = ((int)0x2300),
- }
-
- public enum TextureMagFilter : int
- {
- Nearest = ((int)0x2600),
- Linear = ((int)0x2601),
- }
-
- public enum TextureMinFilter : int
- {
- NearestMipmapNearest = ((int)0x2700),
- LinearMipmapNearest = ((int)0x2701),
- NearestMipmapLinear = ((int)0x2702),
- LinearMipmapLinear = ((int)0x2703),
- }
-
- public enum TextureParameterName : int
- {
- TextureMagFilter = ((int)0x2800),
- TextureMinFilter = ((int)0x2801),
- TextureWrapS = ((int)0x2802),
- TextureWrapT = ((int)0x2803),
- GenerateMipmap = ((int)0x8191),
- }
-
- public enum TextureUnit : int
- {
- Texture0 = ((int)0x84C0),
- Texture1 = ((int)0x84C1),
- Texture2 = ((int)0x84C2),
- Texture3 = ((int)0x84C3),
- Texture4 = ((int)0x84C4),
- Texture5 = ((int)0x84C5),
- Texture6 = ((int)0x84C6),
- Texture7 = ((int)0x84C7),
- Texture8 = ((int)0x84C8),
- Texture9 = ((int)0x84C9),
- Texture10 = ((int)0x84CA),
- Texture11 = ((int)0x84CB),
- Texture12 = ((int)0x84CC),
- Texture13 = ((int)0x84CD),
- Texture14 = ((int)0x84CE),
- Texture15 = ((int)0x84CF),
- Texture16 = ((int)0x84D0),
- Texture17 = ((int)0x84D1),
- Texture18 = ((int)0x84D2),
- Texture19 = ((int)0x84D3),
- Texture20 = ((int)0x84D4),
- Texture21 = ((int)0x84D5),
- Texture22 = ((int)0x84D6),
- Texture23 = ((int)0x84D7),
- Texture24 = ((int)0x84D8),
- Texture25 = ((int)0x84D9),
- Texture26 = ((int)0x84DA),
- Texture27 = ((int)0x84DB),
- Texture28 = ((int)0x84DC),
- Texture29 = ((int)0x84DD),
- Texture30 = ((int)0x84DE),
- Texture31 = ((int)0x84DF),
- ActiveTexture = ((int)0x84E0),
- ClientActiveTexture = ((int)0x84E1),
- }
-
- public enum TextureWrapMode : int
- {
- Repeat = ((int)0x2901),
- ClampToEdge = ((int)0x812F),
- }
-
-}
diff --git a/Source/OpenTK/Graphics/ES20/ES.cs b/Source/OpenTK/Graphics/ES20/ES.cs
deleted file mode 100644
index bcad6f80..00000000
--- a/Source/OpenTK/Graphics/ES20/ES.cs
+++ /dev/null
@@ -1,24777 +0,0 @@
-#region License
-//
-// The Open Toolkit Library License
-//
-// Copyright (c) 2006 - 2009 the Open Toolkit library.
-//
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights to
-// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-// the Software, and to permit persons to whom the Software is furnished to do
-// so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-// OTHER DEALINGS IN THE SOFTWARE.
-//
-#endregion
-
-namespace OpenTK.Graphics.ES20
-{
- using System;
- using System.Text;
- using System.Runtime.InteropServices;
- #pragma warning disable 3019
- #pragma warning disable 1591
- #pragma warning disable 1572
- #pragma warning disable 1573
- #pragma warning disable 3006
-
- partial class GL
- {
-
- public static partial class Amd
- {
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")]
- public static
- void BeginPerfMonitor(Int32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBeginPerfMonitorAMD")]
- public static
- void BeginPerfMonitor(UInt32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBeginPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, Int32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, ref Int32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = &monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- unsafe void DeletePerfMonitors(Int32 n, Int32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, UInt32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- void DeletePerfMonitors(Int32 n, ref UInt32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = &monitors)
- {
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeletePerfMonitorsAMD")]
- public static
- unsafe void DeletePerfMonitors(Int32 n, UInt32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")]
- public static
- void EndPerfMonitor(Int32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEndPerfMonitorAMD")]
- public static
- void EndPerfMonitor(UInt32 monitor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEndPerfMonitorAMD((UInt32)monitor);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [OutAttribute] Int32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [OutAttribute] out Int32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* monitors_ptr = &monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- unsafe void GenPerfMonitors(Int32 n, [OutAttribute] Int32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [OutAttribute] UInt32[] monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- void GenPerfMonitors(Int32 n, [OutAttribute] out UInt32 monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* monitors_ptr = &monitors)
- {
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors_ptr);
- monitors = *monitors_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenPerfMonitorsAMD")]
- public static
- unsafe void GenPerfMonitors(Int32 n, [OutAttribute] UInt32* monitors)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32[] data, [OutAttribute] Int32[] bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* data_ptr = data)
- fixed (Int32* bytesWritten_ptr = bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out Int32 data, [OutAttribute] out Int32 bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* data_ptr = &data)
- fixed (Int32* bytesWritten_ptr = &bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- data = *data_ptr;
- bytesWritten = *bytesWritten_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(Int32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] Int32* data, [OutAttribute] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32[] data, [OutAttribute] Int32[] bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* data_ptr = data)
- fixed (Int32* bytesWritten_ptr = bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] out UInt32 data, [OutAttribute] out Int32 bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* data_ptr = &data)
- fixed (Int32* bytesWritten_ptr = &bytesWritten)
- {
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data_ptr, (Int32*)bytesWritten_ptr);
- data = *data_ptr;
- bytesWritten = *bytesWritten_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterDataAMD")]
- public static
- unsafe void GetPerfMonitorCounterData(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(Int32 group, Int32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T3)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterInfoAMD")]
- public static
- void GetPerfMonitorCounterInfo(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [InAttribute, OutAttribute] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T3)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] Int32[] counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = numCounters)
- fixed (Int32* maxActiveCounters_ptr = maxActiveCounters)
- fixed (Int32* counters_ptr = counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(Int32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out Int32 counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = &numCounters)
- fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
- fixed (Int32* counters_ptr = &counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- numCounters = *numCounters_ptr;
- maxActiveCounters = *maxActiveCounters_ptr;
- counters = *counters_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(Int32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] Int32* counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32[] numCounters, [OutAttribute] Int32[] maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32[] counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = numCounters)
- fixed (Int32* maxActiveCounters_ptr = maxActiveCounters)
- fixed (UInt32* counters_ptr = counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- void GetPerfMonitorCounters(UInt32 group, [OutAttribute] out Int32 numCounters, [OutAttribute] out Int32 maxActiveCounters, Int32 counterSize, [OutAttribute] out UInt32 counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numCounters_ptr = &numCounters)
- fixed (Int32* maxActiveCounters_ptr = &maxActiveCounters)
- fixed (UInt32* counters_ptr = &counters)
- {
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters_ptr, (Int32*)maxActiveCounters_ptr, (Int32)counterSize, (UInt32*)counters_ptr);
- numCounters = *numCounters_ptr;
- maxActiveCounters = *maxActiveCounters_ptr;
- counters = *counters_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCountersAMD")]
- public static
- unsafe void GetPerfMonitorCounters(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- unsafe void GetPerfMonitorCounterString(Int32 group, Int32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)counterString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorCounterStringAMD")]
- public static
- unsafe void GetPerfMonitorCounterString(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] Int32[] groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = numGroups)
- fixed (Int32* groups_ptr = groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([OutAttribute] Int32[] numGroups, Int32 groupsSize, [OutAttribute] UInt32[] groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = numGroups)
- fixed (UInt32* groups_ptr = groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out Int32 groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = &numGroups)
- fixed (Int32* groups_ptr = &groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- numGroups = *numGroups_ptr;
- groups = *groups_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- void GetPerfMonitorGroup([OutAttribute] out Int32 numGroups, Int32 groupsSize, [OutAttribute] out UInt32 groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* numGroups_ptr = &numGroups)
- fixed (UInt32* groups_ptr = &groups)
- {
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups_ptr, (Int32)groupsSize, (UInt32*)groups_ptr);
- numGroups = *numGroups_ptr;
- groups = *groups_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] Int32* groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupsAMD")]
- public static
- unsafe void GetPerfMonitorGroup([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- unsafe void GetPerfMonitorGroupString(Int32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)groupString);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetPerfMonitorGroupStringAMD")]
- public static
- unsafe void GetPerfMonitorGroupString(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32[] countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* countersList_ptr = countersList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, ref Int32 countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* countersList_ptr = &countersList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- unsafe void SelectPerfMonitorCounters(Int32 monitor, bool enable, Int32 group, Int32 numCounters, Int32* countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32[] countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* countersList_ptr = countersList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, ref UInt32 countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* countersList_ptr = &countersList)
- {
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSelectPerfMonitorCountersAMD")]
- public static
- unsafe void SelectPerfMonitorCounters(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)countersList);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Angle
- {
-
- /// [requires: 2.0]
- /// Copy a block of pixels from the read framebuffer to the draw framebuffer
- ///
- ///
- ///
- /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
- ///
- ///
- ///
- ///
- /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
- ///
- ///
- ///
- ///
- /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- ///
- ///
- /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlitFramebufferANGLE")]
- public static
- void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES20.All filter)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Copy a block of pixels from the read framebuffer to the draw framebuffer
- ///
- ///
- ///
- /// Specify the bounds of the source rectangle within the read buffer of the read framebuffer.
- ///
- ///
- ///
- ///
- /// Specify the bounds of the destination rectangle within the write buffer of the write framebuffer.
- ///
- ///
- ///
- ///
- /// The bitwise OR of the flags indicating which buffers are to be copied. The allowed flags are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- ///
- ///
- /// Specifies the interpolation to be applied if the image is stretched. Must be GL_NEAREST or GL_LINEAR.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlitFramebufferANGLE")]
- public static
- void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES20.All filter)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (UInt32)mask, (OpenTK.Graphics.ES20.All)filter);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
- ///
- ///
- ///
- /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the number of samples to be used for the renderbuffer object's storage.
- ///
- ///
- ///
- ///
- /// Specifies the internal format to use for the renderbuffer object's image.
- ///
- ///
- ///
- ///
- /// Specifies the width of the renderbuffer, in pixels.
- ///
- ///
- ///
- ///
- /// Specifies the height of the renderbuffer, in pixels.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleANGLE")]
- public static
- void RenderbufferStorageMultisample(OpenTK.Graphics.ES20.All target, Int32 samples, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.All)target, (Int32)samples, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Apple
- {
-
- /// [requires: 2.0]
- /// Establish data storage, format, dimensions and sample count of a renderbuffer object's image
- ///
- ///
- ///
- /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the number of samples to be used for the renderbuffer object's storage.
- ///
- ///
- ///
- ///
- /// Specifies the internal format to use for the renderbuffer object's image.
- ///
- ///
- ///
- ///
- /// Specifies the width of the renderbuffer, in pixels.
- ///
- ///
- ///
- ///
- /// Specifies the height of the renderbuffer, in pixels.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleAPPLE")]
- public static
- void RenderbufferStorageMultisample()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRenderbufferStorageMultisampleAPPLE();
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glResolveMultisampleFramebufferAPPLE")]
- public static
- void ResolveMultisampleFramebuffer()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glResolveMultisampleFramebufferAPPLE();
- #if DEBUG
- }
- #endif
- }
-
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Select active texture unit
- ///
- ///
- ///
- /// Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. texture must be one of GL_TEXTUREi, where i ranges from 0 (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glActiveTexture")]
- public static
- void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Attaches a shader object to a program object
- ///
- ///
- ///
- /// Specifies the program object to which a shader object will be attached.
- ///
- ///
- ///
- ///
- /// Specifies the shader object that is to be attached.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
- public static
- void AttachShader(Int32 program, Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Attaches a shader object to a program object
- ///
- ///
- ///
- /// Specifies the program object to which a shader object will be attached.
- ///
- ///
- ///
- ///
- /// Specifies the shader object that is to be attached.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glAttachShader")]
- public static
- void AttachShader(UInt32 program, UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glAttachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
- public static
- void BindAttribLocation(Int32 program, Int32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Associates a generic vertex attribute index with a named attribute variable
- ///
- ///
- ///
- /// Specifies the handle of the program object in which the association is to be made.
- ///
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be bound.
- ///
- ///
- ///
- ///
- /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindAttribLocation")]
- public static
- void BindAttribLocation(UInt32 program, UInt32 index, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a named buffer object
- ///
- ///
- ///
- /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindBuffer")]
- public static
- void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a framebuffer to a framebuffer target
- ///
- ///
- ///
- /// Specifies the framebuffer target of the binding operation.
- ///
- ///
- ///
- ///
- /// Specifies the name of the framebuffer object to bind.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
- public static
- void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, Int32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a framebuffer to a framebuffer target
- ///
- ///
- ///
- /// Specifies the framebuffer target of the binding operation.
- ///
- ///
- ///
- ///
- /// Specifies the name of the framebuffer object to bind.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindFramebuffer")]
- public static
- void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a renderbuffer to a renderbuffer target
- ///
- ///
- ///
- /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of the renderbuffer object to bind.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
- public static
- void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a renderbuffer to a renderbuffer target
- ///
- ///
- ///
- /// Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of the renderbuffer object to bind.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindRenderbuffer")]
- public static
- void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, Int32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Bind a named texture to a texturing target
- ///
- ///
- ///
- /// Specifies the target to which the texture is bound. Must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the name of a texture.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindTexture")]
- public static
- void BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set the blend color
- ///
- ///
- ///
- /// specify the components of GL_BLEND_COLOR
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendColor")]
- public static
- void BlendColor(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the equation used for both the RGB blend equation and the Alpha blend equation
- ///
- ///
- ///
- /// specifies how source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquation")]
- public static
- void BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set the RGB blend equation and the alpha blend equation separately
- ///
- ///
- ///
- /// specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- ///
- ///
- /// specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendEquationSeparate")]
- public static
- void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify pixel arithmetic
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFunc")]
- public static
- void BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify pixel arithmetic for RGB and alpha components separately
- ///
- ///
- ///
- /// Specifies how the red, green, and blue blending factors are computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specifies how the red, green, and blue destination blending factors are computed. The initial value is GL_ZERO.
- ///
- ///
- ///
- ///
- /// Specified how the alpha source blending factor is computed. The initial value is GL_ONE.
- ///
- ///
- ///
- ///
- /// Specified how the alpha destination blending factor is computed. The initial value is GL_ZERO.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBlendFuncSeparate")]
- public static
- void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES20.BlendingFactorDest dstRGB, OpenTK.Graphics.ES20.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dstAlpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dstRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dstAlpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsage)usage);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES20.BufferUsage usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES20.BufferUsage usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES20.BufferUsage usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates and initializes a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the buffer object's new data store.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferData")]
- public static
- void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES20.BufferUsage usage)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
- data = (T2)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Updates a subset of a buffer object's data store
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, GL_TEXTURE_BUFFER, GL_TRANSFORM_FEEDBACK_BUFFER, or GL_UNIFORM_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes.
- ///
- ///
- ///
- ///
- /// Specifies the size in bytes of the data store region being replaced.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the new data that will be copied into the data store.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBufferSubData")]
- public static
- void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T3)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Check the completeness status of a framebuffer
- ///
- ///
- ///
- /// Specify the target of the framebuffer completeness check.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCheckFramebufferStatus")]
- public static
- OpenTK.Graphics.ES20.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Clear buffers to preset values
- ///
- ///
- ///
- /// Bitwise OR of masks that indicate the buffers to be cleared. The three masks are GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClear")]
- public static
- void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify clear values for the color buffers
- ///
- ///
- ///
- /// Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearColor")]
- public static
- void ClearColor(Single red, Single green, Single blue, Single alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the clear value for the depth buffer
- ///
- ///
- ///
- /// Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearDepthf")]
- public static
- void ClearDepth(Single depth)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearDepthf((Single)depth);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the clear value for the stencil buffer
- ///
- ///
- ///
- /// Specifies the index used when the stencil buffer is cleared. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glClearStencil")]
- public static
- void ClearStencil(Int32 s)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glClearStencil((Int32)s);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Enable and disable writing of frame buffer color components
- ///
- ///
- ///
- /// Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glColorMask")]
- public static
- void ColorMask(bool red, bool green, bool blue, bool alpha)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
- public static
- void CompileShader(Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Compiles a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be compiled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompileShader")]
- public static
- void CompileShader(UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompileShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage2D")]
- public static
- void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data)
- where T7 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T7)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexSubImage2D")]
- public static
- void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- data = (T8)data_ptr.Target;
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Copy pixels into a 2D texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the internal format of the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA. GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA. GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_RED, GL_RG, GL_RGB, GL_R3_G3_B2, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. Must be 0 or 2 sup n + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. Must be 0 or 2 sup m + 2 ( border ) for some integer .
- ///
- ///
- ///
- ///
- /// Specifies the width of the border. Must be either 0 or 1.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexImage2D")]
- public static
- void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Copy a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specify the window coordinates of the lower left corner of the rectangular region of pixels to be copied.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCopyTexSubImage2D")]
- public static
- void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates a program object
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateProgram")]
- public static
- Int32 CreateProgram()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateProgram();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Creates a shader object
- ///
- ///
- ///
- /// Specifies the type of shader to be created. Must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER, or GL_FRAGMENT_SHADER.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCreateShader")]
- public static
- Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify whether front- or back-facing facets can be culled
- ///
- ///
- ///
- /// Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK are accepted. The initial value is GL_BACK.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCullFace")]
- public static
- void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- void DeleteBuffers(Int32 n, ref UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named buffer objects
- ///
- ///
- ///
- /// Specifies the number of buffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of buffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteBuffers")]
- public static
- unsafe void DeleteBuffers(Int32 n, UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, Int32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, ref Int32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, UInt32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete framebuffer objects
- ///
- ///
- ///
- /// Specifies the number of framebuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n framebuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFramebuffers")]
- public static
- unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
- public static
- void DeleteProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Deletes a program object
- ///
- ///
- ///
- /// Specifies the program object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteProgram")]
- public static
- void DeleteProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete renderbuffer objects
- ///
- ///
- ///
- /// Specifies the number of renderbuffer objects to be deleted.
- ///
- ///
- ///
- ///
- /// A pointer to an array containing n renderbuffer objects to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteRenderbuffers")]
- public static
- unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Deletes a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
- public static
- void DeleteShader(Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Deletes a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteShader")]
- public static
- void DeleteShader(UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, Int32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref Int32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, Int32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, UInt32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- void DeleteTextures(Int32 n, ref UInt32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- {
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Delete named textures
- ///
- ///
- ///
- /// Specifies the number of textures to be deleted.
- ///
- ///
- ///
- ///
- /// Specifies an array of textures to be deleted.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteTextures")]
- public static
- unsafe void DeleteTextures(Int32 n, UInt32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value used for depth buffer comparisons
- ///
- ///
- ///
- /// Specifies the depth comparison function. Symbolic constants GL_NEVER, GL_LESS, GL_EQUAL, GL_LEQUAL, GL_GREATER, GL_NOTEQUAL, GL_GEQUAL, and GL_ALWAYS are accepted. The initial value is GL_LESS.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthFunc")]
- public static
- void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Enable or disable writing into the depth buffer
- ///
- ///
- ///
- /// Specifies whether the depth buffer is enabled for writing. If flag is GL_FALSE, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthMask")]
- public static
- void DepthMask(bool flag)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthMask((bool)flag);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify mapping of depth values from normalized device coordinates to window coordinates
- ///
- ///
- ///
- /// Specifies the mapping of the near clipping plane to window coordinates. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies the mapping of the far clipping plane to window coordinates. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDepthRangef")]
- public static
- void DepthRange(Single zNear, Single zFar)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDepthRangef((Single)zNear, (Single)zFar);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Detaches a shader object from a program object to which it is attached
- ///
- ///
- ///
- /// Specifies the program object from which to detach the shader object.
- ///
- ///
- ///
- ///
- /// Specifies the shader object to be detached.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
- public static
- void DetachShader(Int32 program, Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Detaches a shader object from a program object to which it is attached
- ///
- ///
- ///
- /// Specifies the program object from which to detach the shader object.
- ///
- ///
- ///
- ///
- /// Specifies the shader object to be detached.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDetachShader")]
- public static
- void DetachShader(UInt32 program, UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDetachShader((UInt32)program, (UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisable")]
- public static
- void Disable(OpenTK.Graphics.ES20.EnableCap cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
- public static
- void DisableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDisableVertexAttribArray")]
- public static
- void DisableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDisableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the starting index in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Specifies the number of indices to be rendered.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawArrays")]
- public static
- void DrawArrays(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawArrays((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)first, (Int32)count);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Render primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDrawElements")]
- public static
- void DrawElements(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glDrawElements((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
- indices = (T3)indices_ptr.Target;
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Enable or disable server-side GL capabilities
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnable")]
- public static
- void Enable(OpenTK.Graphics.ES20.EnableCap cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
- public static
- void EnableVertexAttribArray(Int32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Enable or disable a generic vertex attribute array
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be enabled or disabled.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glEnableVertexAttribArray")]
- public static
- void EnableVertexAttribArray(UInt32 index)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glEnableVertexAttribArray((UInt32)index);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Block until all GL execution is complete
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinish")]
- public static
- void Finish()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinish();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Force execution of GL commands in finite time
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFlush")]
- public static
- void Flush()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFlush();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
- ///
- ///
- ///
- /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the attachment point of the framebuffer.
- ///
- ///
- ///
- ///
- /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
- public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Attach a renderbuffer as a logical buffer to the currently bound framebuffer object
- ///
- ///
- ///
- /// Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is equivalent to GL_DRAW_FRAMEBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the attachment point of the framebuffer.
- ///
- ///
- ///
- ///
- /// Specifies the renderbuffer target and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
- public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
- public static
- void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, Int32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
- public static
- void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.TextureTarget)textarget, (UInt32)texture, (Int32)level);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFramebufferTexture2DMultisampleIMG")]
- public static
- void FramebufferTexture2DMultisampleIMG()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFramebufferTexture2DMultisampleIMG();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define front- and back-facing polygons
- ///
- ///
- ///
- /// Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is GL_CCW.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFrontFace")]
- public static
- void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- buffers = *buffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* buffers_ptr = &buffers)
- {
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers_ptr);
- buffers = *buffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate buffer object names
- ///
- ///
- ///
- /// Specifies the number of buffer object names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated buffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenBuffers")]
- public static
- unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenBuffers((Int32)n, (UInt32*)buffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate mipmaps for a specified texture target
- ///
- ///
- ///
- /// Specifies the target to which the texture whose mimaps to generate is bound. target must be GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenerateMipmap")]
- public static
- void GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = framebuffers)
- {
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- framebuffers = *framebuffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = framebuffers)
- {
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* framebuffers_ptr = &framebuffers)
- {
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr);
- framebuffers = *framebuffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate framebuffer object names
- ///
- ///
- ///
- /// Specifies the number of framebuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated framebuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFramebuffers")]
- public static
- unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- renderbuffers = *renderbuffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = renderbuffers)
- {
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* renderbuffers_ptr = &renderbuffers)
- {
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr);
- renderbuffers = *renderbuffers_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate renderbuffer object names
- ///
- ///
- ///
- /// Specifies the number of renderbuffer object names to generate.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated renderbuffer object names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenRenderbuffers")]
- public static
- unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, [OutAttribute] Int32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, [OutAttribute] out Int32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* textures_ptr = &textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- textures = *textures_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, [OutAttribute] UInt32[] textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- void GenTextures(Int32 n, [OutAttribute] out UInt32 textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* textures_ptr = &textures)
- {
- Delegates.glGenTextures((Int32)n, (UInt32*)textures_ptr);
- textures = *textures_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Generate texture names
- ///
- ///
- ///
- /// Specifies the number of texture names to be generated.
- ///
- ///
- ///
- ///
- /// Specifies an array in which the generated texture names are stored.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenTextures")]
- public static
- unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenTextures((Int32)n, (UInt32*)textures);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- fixed (Int32* size_ptr = size)
- fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type)
- {
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type)
- {
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType[] type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- fixed (Int32* size_ptr = size)
- fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = type)
- {
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveAttribType type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (OpenTK.Graphics.ES20.ActiveAttribType* type_ptr = &type)
- {
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveAttribType*)type_ptr, (StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active attribute variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the attribute variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the attribute variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the attribute variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveAttrib")]
- public static
- unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- fixed (Int32* size_ptr = size)
- fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type)
- {
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type)
- {
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType[] type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- fixed (Int32* size_ptr = size)
- fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = type)
- {
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES20.ActiveUniformType type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- fixed (Int32* size_ptr = &size)
- fixed (OpenTK.Graphics.ES20.ActiveUniformType* type_ptr = &type)
- {
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES20.ActiveUniformType*)type_ptr, (StringBuilder)name);
- length = *length_ptr;
- size = *size_ptr;
- type = *type_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns information about an active uniform variable for the specified program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the index of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name.
- ///
- ///
- ///
- ///
- /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed.
- ///
- ///
- ///
- ///
- /// Returns the size of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns the data type of the uniform variable.
- ///
- ///
- ///
- ///
- /// Returns a null terminated string containing the name of the uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetActiveUniform")]
- public static
- unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] Int32[] shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = count)
- fixed (Int32* shaders_ptr = shaders)
- {
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = &count)
- fixed (Int32* shaders_ptr = &shaders)
- {
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
- count = *count_ptr;
- shaders = *shaders_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- unsafe void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] UInt32[] shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = count)
- fixed (UInt32* shaders_ptr = shaders)
- {
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* count_ptr = &count)
- fixed (UInt32* shaders_ptr = &shaders)
- {
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr);
- count = *count_ptr;
- shaders = *shaders_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the handles of the shader objects attached to a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the array for storing the returned object names.
- ///
- ///
- ///
- ///
- /// Returns the number of names actually returned in objects.
- ///
- ///
- ///
- ///
- /// Specifies an array that is used to return the names of attached shader objects.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttachedShaders")]
- public static
- unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the location of an attribute variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
- public static
- int GetAttribLocation(Int32 program, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetAttribLocation((UInt32)program, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the location of an attribute variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the attribute variable whose location is to be queried.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetAttribLocation")]
- public static
- int GetAttribLocation(UInt32 program, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetAttribLocation((UInt32)program, (String)name);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
- public static
- void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (bool* @params_ptr = @params)
- {
- Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
- public static
- void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out bool @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (bool* @params_ptr = &@params)
- {
- Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBooleanv")]
- public static
- unsafe void GetBoolean(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
- public static
- void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
- public static
- void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return parameters of a buffer object
- ///
- ///
- ///
- /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a buffer object parameter. Accepted values are GL_BUFFER_ACCESS, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, or GL_BUFFER_USAGE.
- ///
- ///
- ///
- ///
- /// Returns the requested parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetBufferParameteriv")]
- public static
- unsafe void GetBufferParameter(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return error information
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetError")]
- public static
- OpenTK.Graphics.ES20.ErrorCode GetError()
- {
- return Delegates.glGetError();
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
- public static
- void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
- public static
- void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFloatv")]
- public static
- unsafe void GetFloat(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
- public static
- void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
- public static
- void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about attachments of a bound framebuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation.
- ///
- ///
- ///
- ///
- /// Specifies the attachment within target
- ///
- ///
- ///
- ///
- /// Specifies the parameter of attachment to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of a variable receive the value of pname for attachment.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFramebufferAttachmentParameteriv")]
- public static
- unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.FramebufferSlot)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
- public static
- void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
- public static
- void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetIntegerv")]
- public static
- unsafe void GetInteger(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a program object
- ///
- ///
- ///
- /// Specifies the program object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramInfoLog")]
- public static
- unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a program object
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_BLOCKS, GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_PROGRAM_BINARY_LENGTH, GL_TRANSFORM_FEEDBACK_BUFFER_MODE, GL_TRANSFORM_FEEDBACK_VARYINGS, GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH, GL_GEOMETRY_VERTICES_OUT, GL_GEOMETRY_INPUT_TYPE, and GL_GEOMETRY_OUTPUT_TYPE.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetProgramiv")]
- public static
- unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES20.ProgramParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
- public static
- void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
- public static
- void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve information about a bound renderbuffer object
- ///
- ///
- ///
- /// Specifies the target of the query operation. target must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the parameter whose value to retrieve from the renderbuffer bound to target.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array to receive the value of the queried parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetRenderbufferParameteriv")]
- public static
- unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- unsafe void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the information log for a shader object
- ///
- ///
- ///
- /// Specifies the shader object whose information log is to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned information log.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in infoLog (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the information log.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderInfoLog")]
- public static
- unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns a parameter from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH.
- ///
- ///
- ///
- ///
- /// Returns the requested object parameter.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderiv")]
- public static
- unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve the range and precision for numeric formats supported by the shader compiler
- ///
- ///
- ///
- /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
- ///
- ///
- ///
- ///
- /// Specifies the numeric format whose precision and range to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
- ///
- ///
- ///
- ///
- /// Specifies the address of an integer into which the numeric precision of the implementation is written.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
- public static
- void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* range_ptr = range)
- fixed (Int32* precision_ptr = precision)
- {
- Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve the range and precision for numeric formats supported by the shader compiler
- ///
- ///
- ///
- /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
- ///
- ///
- ///
- ///
- /// Specifies the numeric format whose precision and range to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
- ///
- ///
- ///
- ///
- /// Specifies the address of an integer into which the numeric precision of the implementation is written.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
- public static
- void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* range_ptr = &range)
- fixed (Int32* precision_ptr = &precision)
- {
- Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr);
- range = *range_ptr;
- precision = *precision_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Retrieve the range and precision for numeric formats supported by the shader compiler
- ///
- ///
- ///
- /// Specifies the type of shader whose precision to query. shaderType must be GL_VERTEX_SHADER or GL_FRAGMENT_SHADER.
- ///
- ///
- ///
- ///
- /// Specifies the numeric format whose precision and range to query.
- ///
- ///
- ///
- ///
- /// Specifies the address of array of two integers into which encodings of the implementation's numeric range are returned.
- ///
- ///
- ///
- ///
- /// Specifies the address of an integer into which the numeric precision of the implementation is written.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderPrecisionFormat")]
- public static
- unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- unsafe void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source);
- length = *length_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the source code string from a shader object
- ///
- ///
- ///
- /// Specifies the shader object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the size of the character buffer for storing the returned source code string.
- ///
- ///
- ///
- ///
- /// Returns the length of the string returned in source (excluding the null terminator).
- ///
- ///
- ///
- ///
- /// Specifies an array of characters that is used to return the source code string.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetShaderSource")]
- public static
- unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a string describing the current GL connection
- ///
- ///
- ///
- /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, or GL_SHADING_LANGUAGE_VERSION. Additionally, glGetStringi accepts the GL_EXTENSIONS token.
- ///
- ///
- ///
- ///
- /// For glGetStringi, specifies the index of the string to return.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetString")]
- public static
- unsafe System.String GetString(OpenTK.Graphics.ES20.StringName name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe { return new string((sbyte*)Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name)); }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameterfv")]
- public static
- unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
- public static
- void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return texture parameter values
- ///
- ///
- ///
- /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_3D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_CUBE_MAP are accepted.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_SWIZZLE_RGBA, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, and GL_TEXTURE_WRAP_R are accepted.
- ///
- ///
- ///
- ///
- /// Returns the texture parameters.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetTexParameteriv")]
- public static
- unsafe void GetTexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformfv")]
- public static
- unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the value of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be queried.
- ///
- ///
- ///
- ///
- /// Returns the value of the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformiv")]
- public static
- unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the location of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
- public static
- int GetUniformLocation(Int32 program, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetUniformLocation((UInt32)program, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Returns the location of a uniform variable
- ///
- ///
- ///
- /// Specifies the program object to be queried.
- ///
- ///
- ///
- ///
- /// Points to a null terminated string containing the name of the uniform variable whose location is to be queried.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetUniformLocation")]
- public static
- int GetUniformLocation(UInt32 program, String name)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glGetUniformLocation((UInt32)program, (String)name);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Single @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribfv")]
- public static
- unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return a generic vertex attribute parameter
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be queried.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_INTEGER, GL_VERTEX_ATTRIB_ARRAY_DIVISOR, or GL_CURRENT_VERTEX_ATTRIB.
- ///
- ///
- ///
- ///
- /// Returns the requested data.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribiv")]
- public static
- unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T2)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Return the address of the specified generic vertex attribute pointer
- ///
- ///
- ///
- /// Specifies the generic vertex attribute parameter to be returned.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
- ///
- ///
- ///
- ///
- /// Returns the pointer value.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")]
- public static
- void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer)
- where T2 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned);
- try
- {
- Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject());
- pointer = (T2)pointer_ptr.Target;
- }
- finally
- {
- pointer_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify implementation-specific hints
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted.
- ///
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glHint")]
- public static
- void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
- public static
- bool IsBuffer(Int32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBuffer((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a buffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a buffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsBuffer")]
- public static
- bool IsBuffer(UInt32 buffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsBuffer((UInt32)buffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Test whether a capability is enabled
- ///
- ///
- ///
- /// Specifies a symbolic constant indicating a GL capability.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsEnabled")]
- public static
- bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a framebuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a framebuffer object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
- public static
- bool IsFramebuffer(Int32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFramebuffer((UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a framebuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a framebuffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFramebuffer")]
- public static
- bool IsFramebuffer(UInt32 framebuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFramebuffer((UInt32)framebuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determines if a name corresponds to a program object
- ///
- ///
- ///
- /// Specifies a potential program object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
- public static
- bool IsProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determines if a name corresponds to a program object
- ///
- ///
- ///
- /// Specifies a potential program object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsProgram")]
- public static
- bool IsProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a renderbuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a renderbuffer object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
- public static
- bool IsRenderbuffer(Int32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a renderbuffer object
- ///
- ///
- ///
- /// Specifies a value that may be the name of a renderbuffer object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsRenderbuffer")]
- public static
- bool IsRenderbuffer(UInt32 renderbuffer)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsRenderbuffer((UInt32)renderbuffer);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determines if a name corresponds to a shader object
- ///
- ///
- ///
- /// Specifies a potential shader object.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
- public static
- bool IsShader(Int32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determines if a name corresponds to a shader object
- ///
- ///
- ///
- /// Specifies a potential shader object.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsShader")]
- public static
- bool IsShader(UInt32 shader)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsShader((UInt32)shader);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a texture
- ///
- ///
- ///
- /// Specifies a value that may be the name of a texture.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
- public static
- bool IsTexture(Int32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsTexture((UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Determine if a name corresponds to a texture
- ///
- ///
- ///
- /// Specifies a value that may be the name of a texture.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsTexture")]
- public static
- bool IsTexture(UInt32 texture)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsTexture((UInt32)texture);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the width of rasterized lines
- ///
- ///
- ///
- /// Specifies the width of rasterized lines. The initial value is 1.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLineWidth")]
- public static
- void LineWidth(Single width)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLineWidth((Single)width);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Links a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be linked.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
- public static
- void LinkProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLinkProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Links a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be linked.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glLinkProgram")]
- public static
- void LinkProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glLinkProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set pixel storage modes
- ///
- ///
- ///
- /// Specifies the symbolic name of the parameter to be set. Six values affect the packing of pixel data into memory: GL_PACK_SWAP_BYTES, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SKIP_IMAGES, and GL_PACK_ALIGNMENT. Six more affect the unpacking of pixel data from memory: GL_UNPACK_SWAP_BYTES, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SKIP_IMAGES, and GL_UNPACK_ALIGNMENT.
- ///
- ///
- ///
- ///
- /// Specifies the value that pname is set to.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPixelStorei")]
- public static
- void PixelStore(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set the scale and units used to calculate depth values
- ///
- ///
- ///
- /// Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glPolygonOffset")]
- public static
- void PolygonOffset(Single factor, Single units)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glPolygonOffset((Single)factor, (Single)units);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Read a block of pixels from the frame buffer
- ///
- ///
- ///
- /// Specify the window coordinates of the first pixel that is read from the frame buffer. This location is the lower left corner of a rectangular block of pixels.
- ///
- ///
- ///
- ///
- /// Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_DEPTH_STENCIL, GL_RED, GL_GREEN, GL_BLUE, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_HALF_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_24_8, GL_UNSIGNED_INT_10F_11F_11F_REV, GL_UNSIGNED_INT_5_9_9_9_REV, or GL_FLOAT_32_UNSIGNED_INT_24_8_REV.
- ///
- ///
- ///
- ///
- /// Returns the pixel data.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReadPixels")]
- public static
- void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T6 pixels)
- where T6 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T6)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Release resources consumed by the implementation's shader compiler
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glReleaseShaderCompiler")]
- public static
- void ReleaseShaderCompiler()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glReleaseShaderCompiler();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Establish data storage, format and dimensions of a renderbuffer object's image
- ///
- ///
- ///
- /// Specifies a binding to which the target of the allocation and must be GL_RENDERBUFFER.
- ///
- ///
- ///
- ///
- /// Specifies the internal format to use for the renderbuffer object's image.
- ///
- ///
- ///
- ///
- /// Specifies the width of the renderbuffer, in pixels.
- ///
- ///
- ///
- ///
- /// Specifies the height of the renderbuffer, in pixels.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorage")]
- public static
- void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glRenderbufferStorageMultisampleIMG")]
- public static
- void RenderbufferStorageMultisampleIMG()
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glRenderbufferStorageMultisampleIMG();
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify multisample coverage parameters
- ///
- ///
- ///
- /// Specify a single floating-point sample coverage value. The value is clamped to the range [0 ,1]. The initial value is 1.0.
- ///
- ///
- ///
- ///
- /// Specify a single boolean value representing if the coverage masks should be inverted. GL_TRUE and GL_FALSE are accepted. The initial value is GL_FALSE.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSampleCoverage")]
- public static
- void SampleCoverage(Single value, bool invert)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSampleCoverage((Single)value, (bool)invert);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define the scissor box
- ///
- ///
- ///
- /// Specify the lower left corner of the scissor box. Initially (0, 0).
- ///
- ///
- ///
- ///
- /// Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glScissor")]
- public static
- void Scissor(Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = shaders)
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = &shaders)
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = shaders)
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = &shaders)
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* shaders_ptr = &shaders)
- {
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Load pre-compiled shader binaries
- ///
- ///
- ///
- /// Specifies the number of shader object handles contained in shaders.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of shader handles into which to load pre-compiled shader binaries.
- ///
- ///
- ///
- ///
- /// Specifies the format of the shader binaries contained in binary.
- ///
- ///
- ///
- ///
- /// Specifies the address of an array of bytes containing pre-compiled binary shader code.
- ///
- ///
- ///
- ///
- /// Specifies the length of the array whose address is given in binary.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderBinary")]
- public static
- unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned);
- try
- {
- Delegates.glShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length);
- binary = (T3)binary_ptr.Target;
- }
- finally
- {
- binary_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = length)
- {
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* length_ptr = &length)
- {
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Replaces the source code in a shader object
- ///
- ///
- ///
- /// Specifies the handle of the shader object whose source code is to be replaced.
- ///
- ///
- ///
- ///
- /// Specifies the number of elements in the string and length arrays.
- ///
- ///
- ///
- ///
- /// Specifies an array of pointers to strings containing the source code to be loaded into the shader.
- ///
- ///
- ///
- ///
- /// Specifies an array of string lengths.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glShaderSource")]
- public static
- unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
- public static
- void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFunc")]
- public static
- void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and/or back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
- public static
- void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and/or back function and reference value for stencil testing
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS.
- ///
- ///
- ///
- ///
- /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilFuncSeparate")]
- public static
- void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Control the front and back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
- public static
- void StencilMask(Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMask((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Control the front and back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMask")]
- public static
- void StencilMask(UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMask((UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Control the front and/or back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
- public static
- void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, Int32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Control the front and/or back writing of individual bits in the stencil planes
- ///
- ///
- ///
- /// Specifies whether the front and/or back stencil writemask is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilMaskSeparate")]
- public static
- void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (UInt32)mask);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and back stencil test actions
- ///
- ///
- ///
- /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilOp")]
- public static
- void StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set front and/or back stencil test actions
- ///
- ///
- ///
- /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK.
- ///
- ///
- ///
- ///
- /// Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: GL_KEEP, GL_ZERO, GL_REPLACE, GL_INCR, GL_INCR_WRAP, GL_DECR, GL_DECR_WRAP, and GL_INVERT. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when the stencil test passes, but the depth test fails. dpfail accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- ///
- ///
- /// Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. dppass accepts the same symbolic constants as sfail. The initial value is GL_KEEP.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glStencilOpSeparate")]
- public static
- void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture image
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_1D_ARRAY, GL_PROXY_TEXTURE_1D_ARRAY, GL_TEXTURE_RECTANGLE, GL_PROXY_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. If target is GL_TEXTURE_RECTANGLE or GL_PROXY_TEXTURE_RECTANGLE, level must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of color components in the texture. Must be one of the following symbolic constants: GL_COMPRESSED_RED, GL_COMPRESSED_RG, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_SRGB, GL_COMPRESSED_SRGB_ALPHA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_R3_G3_B2, GL_RED, GL_RG, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support texture images that are at least 1024 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image, or the number of layers in a texture array, in the case of the GL_TEXTURE_1D_ARRAY and GL_PROXY_TEXTURE_1D_ARRAY targets. All implementations support 2D texture images that are at least 1024 texels high, and texture arrays that are at least 256 layers deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexImage2D")]
- public static
- void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T8)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterf")]
- public static
- void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")]
- public static
- void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* @params_ptr = @params)
- {
- Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameterfv")]
- public static
- unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteri")]
- public static
- void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")]
- public static
- void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set texture parameters
- ///
- ///
- ///
- /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, or GL_TEXTURE_CUBE_MAP.
- ///
- ///
- ///
- ///
- /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_LOD_BIAS, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_SWIZZLE_R, GL_TEXTURE_SWIZZLE_G, GL_TEXTURE_SWIZZLE_B, GL_TEXTURE_SWIZZLE_A, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, or GL_TEXTURE_WRAP_R.
- ///
- ///
- ///
- ///
- /// Specifies the value of pname.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexParameteriv")]
- public static
- unsafe void TexParameter(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify a two-dimensional texture subimage
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the x direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies a texel offset in the y direction within the texture array.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture subimage.
- ///
- ///
- ///
- ///
- /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_RED, GL_RG, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA.
- ///
- ///
- ///
- ///
- /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTexSubImage2D")]
- public static
- void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [InAttribute, OutAttribute] ref T8 pixels)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
- try
- {
- Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
- pixels = (T8)pixels_ptr.Target;
- }
- finally
- {
- pixels_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1f")]
- public static
- void Uniform1(Int32 location, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1f((Int32)location, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
- public static
- void Uniform1(Int32 location, Int32 count, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
- public static
- void Uniform1(Int32 location, Int32 count, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1fv")]
- public static
- unsafe void Uniform1(Int32 location, Int32 count, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1i")]
- public static
- void Uniform1(Int32 location, Int32 x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1i((Int32)location, (Int32)x);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
- public static
- void Uniform1(Int32 location, Int32 count, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
- public static
- void Uniform1(Int32 location, Int32 count, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform1iv")]
- public static
- unsafe void Uniform1(Int32 location, Int32 count, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2f")]
- public static
- void Uniform2(Int32 location, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2f((Int32)location, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
- public static
- void Uniform2(Int32 location, Int32 count, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
- public static
- void Uniform2(Int32 location, Int32 count, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2fv")]
- public static
- unsafe void Uniform2(Int32 location, Int32 count, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2i")]
- public static
- void Uniform2(Int32 location, Int32 x, Int32 y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2i((Int32)location, (Int32)x, (Int32)y);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")]
- public static
- void Uniform2(Int32 location, Int32 count, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform2iv")]
- public static
- unsafe void Uniform2(Int32 location, Int32 count, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3f")]
- public static
- void Uniform3(Int32 location, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3f((Int32)location, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
- public static
- void Uniform3(Int32 location, Int32 count, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
- public static
- void Uniform3(Int32 location, Int32 count, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3fv")]
- public static
- unsafe void Uniform3(Int32 location, Int32 count, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3i")]
- public static
- void Uniform3(Int32 location, Int32 x, Int32 y, Int32 z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3i((Int32)location, (Int32)x, (Int32)y, (Int32)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
- public static
- void Uniform3(Int32 location, Int32 count, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
- public static
- void Uniform3(Int32 location, Int32 count, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform3iv")]
- public static
- unsafe void Uniform3(Int32 location, Int32 count, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4f")]
- public static
- void Uniform4(Int32 location, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4f((Int32)location, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
- public static
- void Uniform4(Int32 location, Int32 count, Single[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = v)
- {
- Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
- public static
- void Uniform4(Int32 location, Int32 count, ref Single v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* v_ptr = &v)
- {
- Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4fv")]
- public static
- unsafe void Uniform4(Int32 location, Int32 count, Single* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)v);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4i")]
- public static
- void Uniform4(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4i((Int32)location, (Int32)x, (Int32)y, (Int32)z, (Int32)w);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
- public static
- void Uniform4(Int32 location, Int32 count, Int32[] v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = v)
- {
- Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
- public static
- void Uniform4(Int32 location, Int32 count, ref Int32 v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* v_ptr = &v)
- {
- Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specify the value of a uniform variable for the current program object
- ///
- ///
- ///
- /// Specifies the location of the uniform variable to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified uniform variable.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniform4iv")]
- public static
- unsafe void Uniform4(Int32 location, Int32 count, Int32* v)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)v);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
- public static
- void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
- public static
- void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix2fv")]
- public static
- unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
- public static
- void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
- public static
- void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix3fv")]
- public static
- unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
- public static
- void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = value)
- {
- Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
- public static
- void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* value_ptr = &value)
- {
- Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: v2.0 and 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUniformMatrix4fv")]
- public static
- unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Installs a program object as part of current rendering state
- ///
- ///
- ///
- /// Specifies the handle of the program object whose executables are to be used as part of current rendering state.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
- public static
- void UseProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUseProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Installs a program object as part of current rendering state
- ///
- ///
- ///
- /// Specifies the handle of the program object whose executables are to be used as part of current rendering state.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glUseProgram")]
- public static
- void UseProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glUseProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Validates a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be validated.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
- public static
- void ValidateProgram(Int32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glValidateProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Validates a program object
- ///
- ///
- ///
- /// Specifies the handle of the program object to be validated.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glValidateProgram")]
- public static
- void ValidateProgram(UInt32 program)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glValidateProgram((UInt32)program);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
- public static
- void VertexAttrib1(Int32 indx, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1f((UInt32)indx, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1f")]
- public static
- void VertexAttrib1(UInt32 indx, Single x)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1f((UInt32)indx, (Single)x);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
- public static
- void VertexAttrib1(Int32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
- public static
- unsafe void VertexAttrib1(Int32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
- public static
- void VertexAttrib1(UInt32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")]
- public static
- unsafe void VertexAttrib1(UInt32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib1fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
- public static
- void VertexAttrib2(Int32 indx, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2f")]
- public static
- void VertexAttrib2(UInt32 indx, Single x, Single y)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2f((UInt32)indx, (Single)x, (Single)y);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- void VertexAttrib2(Int32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- void VertexAttrib2(Int32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- unsafe void VertexAttrib2(Int32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- void VertexAttrib2(UInt32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- void VertexAttrib2(UInt32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib2fv")]
- public static
- unsafe void VertexAttrib2(UInt32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib2fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
- public static
- void VertexAttrib3(Int32 indx, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3f")]
- public static
- void VertexAttrib3(UInt32 indx, Single x, Single y, Single z)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- void VertexAttrib3(Int32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- void VertexAttrib3(Int32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- unsafe void VertexAttrib3(Int32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- void VertexAttrib3(UInt32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- void VertexAttrib3(UInt32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib3fv")]
- public static
- unsafe void VertexAttrib3(UInt32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib3fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
- public static
- void VertexAttrib4(Int32 indx, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4f")]
- public static
- void VertexAttrib4(UInt32 indx, Single x, Single y, Single z, Single w)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- void VertexAttrib4(Int32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- void VertexAttrib4(Int32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- unsafe void VertexAttrib4(Int32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- void VertexAttrib4(UInt32 indx, Single[] values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = values)
- {
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- void VertexAttrib4(UInt32 indx, ref Single values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Single* values_ptr = &values)
- {
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Specifies the value of a generic vertex attribute
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the new values to be used for the specified vertex attribute.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttrib4fv")]
- public static
- unsafe void VertexAttrib4(UInt32 indx, Single* values)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttrib4fv((UInt32)indx, (Single*)values);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- ptr = (T5)ptr_ptr.Target;
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Define an array of generic vertex attribute data
- ///
- ///
- ///
- /// Specifies the index of the generic vertex attribute to be modified.
- ///
- ///
- ///
- ///
- /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, 4. Additionally, the symbolic constant GL_BGRA is accepted by glVertexAttribPointer. The initial value is 4.
- ///
- ///
- ///
- ///
- /// Specifies the data type of each component in the array. The symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, and GL_UNSIGNED_INT are accepted by both functions. Additionally GL_HALF_FLOAT, GL_FLOAT, GL_DOUBLE, GL_FIXED, GL_INT_2_10_10_10_REV, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted by glVertexAttribPointer. The initial value is GL_FLOAT.
- ///
- ///
- ///
- ///
- /// For glVertexAttribPointer, specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed.
- ///
- ///
- ///
- ///
- /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
- ///
- ///
- ///
- ///
- /// Specifies a offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the GL_ARRAY_BUFFER target. The initial value is 0.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glVertexAttribPointer")]
- public static
- void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr)
- where T5 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned);
- try
- {
- Delegates.glVertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject());
- ptr = (T5)ptr_ptr.Target;
- }
- finally
- {
- ptr_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: v2.0 and 2.0]
- /// Set the viewport
- ///
- ///
- ///
- /// Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).
- ///
- ///
- ///
- ///
- /// Specify the width and height of the viewport. When a GL context is first attached to a window, width and height are set to the dimensions of that window.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glViewport")]
- public static
- void Viewport(Int32 x, Int32 y, Int32 width, Int32 height)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height);
- #if DEBUG
- }
- #endif
- }
-
- public static partial class Ext
- {
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")]
- public static
- void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All[] attachments)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (OpenTK.Graphics.ES20.All* attachments_ptr = attachments)
- {
- Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")]
- public static
- void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, ref OpenTK.Graphics.ES20.All attachments)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (OpenTK.Graphics.ES20.All* attachments_ptr = &attachments)
- {
- Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDiscardFramebufferEXT")]
- public static
- unsafe void DiscardFramebuffer(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of starting indices in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Points to an array of the number of indices to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the size of the first and count
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")]
- public static
- void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32[] first, Int32[] count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- fixed (Int32* count_ptr = count)
- {
- Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of starting indices in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Points to an array of the number of indices to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the size of the first and count
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")]
- public static
- void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, ref Int32 first, ref Int32 count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- fixed (Int32* count_ptr = &count)
- {
- Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives from array data
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of starting indices in the enabled arrays.
- ///
- ///
- ///
- ///
- /// Points to an array of the number of indices to be rendered.
- ///
- ///
- ///
- ///
- /// Specifies the size of the first and count
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawArraysEXT")]
- public static
- unsafe void MultiDrawArrays(OpenTK.Graphics.ES20.All mode, Int32* first, Int32* count, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32[] first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- indices = (T3)indices_ptr.Target;
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- void MultiDrawElements(OpenTK.Graphics.ES20.All mode, ref Int32 first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* first_ptr = &first)
- {
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first_ptr, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- indices = (T3)indices_ptr.Target;
- }
- finally
- {
- indices_ptr.Free();
- }
- }
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, IntPtr indices, Int32 primcount)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices, (Int32)primcount);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Render multiple sets of primitives by specifying indices of array data elements
- ///
- ///
- ///
- /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_LINE_STRIP_ADJACENCY, GL_LINES_ADJACENCY, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_TRIANGLE_STRIP_ADJACENCY, GL_TRIANGLES_ADJACENCY and GL_PATCHES are accepted.
- ///
- ///
- ///
- ///
- /// Points to an array of the elements counts.
- ///
- ///
- ///
- ///
- /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the location where the indices are stored.
- ///
- ///
- ///
- ///
- /// Specifies the size of the count array.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glMultiDrawElementsEXT")]
- public static
- unsafe void MultiDrawElements(OpenTK.Graphics.ES20.All mode, Int32* first, OpenTK.Graphics.ES20.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 primcount)
- where T3 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
- try
- {
- Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.All)mode, (Int32*)first, (OpenTK.Graphics.ES20.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
- indices = (T3)indices_ptr.Target;
- }
- finally
- {
- indices_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class NV
- {
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCoverageMaskNV")]
- public static
- void CoverageMask(bool mask)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCoverageMaskNV((bool)mask);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCoverageOperationNV")]
- public static
- void CoverageOperation(OpenTK.Graphics.ES20.All operation)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCoverageOperationNV((OpenTK.Graphics.ES20.All)operation);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, ref Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- unsafe void DeleteFences(Int32 n, Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- void DeleteFences(Int32 n, ref UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glDeleteFencesNV")]
- public static
- unsafe void DeleteFences(Int32 n, UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
- public static
- void FinishFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glFinishFenceNV")]
- public static
- void FinishFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glFinishFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, [OutAttribute] Int32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, [OutAttribute] out Int32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* fences_ptr = &fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- fences = *fences_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- unsafe void GenFences(Int32 n, [OutAttribute] Int32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, [OutAttribute] UInt32[] fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- void GenFences(Int32 n, [OutAttribute] out UInt32 fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (UInt32* fences_ptr = &fences)
- {
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences_ptr);
- fences = *fences_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGenFencesNV")]
- public static
- unsafe void GenFences(Int32 n, [OutAttribute] UInt32* fences)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGenFencesNV((Int32)n, (UInt32*)fences);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- unsafe void GetFence(Int32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32[] @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = @params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] out Int32 @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- unsafe
- {
- fixed (Int32* @params_ptr = &@params)
- {
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params_ptr);
- @params = *@params_ptr;
- }
- }
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glGetFenceivNV")]
- public static
- unsafe void GetFence(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
- public static
- bool IsFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glIsFenceNV")]
- public static
- bool IsFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glIsFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
- public static
- void SetFence(Int32 fence, OpenTK.Graphics.ES20.All condition)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glSetFenceNV")]
- public static
- void SetFence(UInt32 fence, OpenTK.Graphics.ES20.All condition)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
- public static
- bool TestFence(Int32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- /// [requires: 2.0]
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glTestFenceNV")]
- public static
- bool TestFence(UInt32 fence)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- return Delegates.glTestFenceNV((UInt32)fence);
- #if DEBUG
- }
- #endif
- }
-
- }
-
- public static partial class Oes
- {
-
- /// [requires: 2.0]
- /// Bind a vertex array object
- ///
- ///
- ///
- /// Specifies the name of the vertex array to bind.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindVertexArrayOES")]
- public static
- void BindVertexArray(Int32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArrayOES((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Bind a vertex array object
- ///
- ///
- ///
- /// Specifies the name of the vertex array to bind.
- ///
- ///
- [System.CLSCompliant(false)]
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glBindVertexArrayOES")]
- public static
- void BindVertexArray(UInt32 array)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glBindVertexArrayOES((UInt32)array);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
- public static
- void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data)
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data);
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
- public static
- void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- /// [requires: 2.0]
- /// Specify a three-dimensional texture image in a compressed format
- ///
- ///
- ///
- /// Specifies the target texture. Must be GL_TEXTURE_3D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_2D_ARRAY or GL_PROXY_TEXTURE_2D_ARRAY.
- ///
- ///
- ///
- ///
- /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.
- ///
- ///
- ///
- ///
- /// Specifies the format of the compressed image data stored at address data.
- ///
- ///
- ///
- ///
- /// Specifies the width of the texture image. All implementations support 3D texture images that are at least 16 texels wide.
- ///
- ///
- ///
- ///
- /// Specifies the height of the texture image. All implementations support 3D texture images that are at least 16 texels high.
- ///
- ///
- ///
- ///
- /// Specifies the depth of the texture image. All implementations support 3D texture images that are at least 16 texels deep.
- ///
- ///
- ///
- ///
- /// This value must be 0.
- ///
- ///
- ///
- ///
- /// Specifies the number of unsigned bytes of image data starting at the address specified by data.
- ///
- ///
- ///
- ///
- /// Specifies a pointer to the compressed image data in memory.
- ///
- ///
- [AutoGenerated(Category = "2.0", Version = "2.0", EntryPoint = "glCompressedTexImage3DOES")]
- public static
- void CompressedTexImage3D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data)
- where T8 : struct
- {
- #if DEBUG
- using (new ErrorHelper(GraphicsContext.CurrentContext))
- {
- #endif
- GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
- try
- {
- Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.All)target, (Int32)level, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
- }
- finally
- {
- data_ptr.Free();
- }
- #if DEBUG
- }
- #endif
- }
-
-
- ///